Crate features / security-framework
Feature flags · security-framework 3.7.0 · from crates.io 2026-10-24
security-framework features: what each one does, and the line to copy
Short answersecurity-framework 3.7.0 has 10 features. By default it turns on OSX_10_14, alpn, session-tickets; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
OSX_10_12 | nothing else (a switch the code checks) | |
OSX_10_13 | nothing else (a switch the code checks) | |
OSX_10_14 | yes | nothing else (a switch the code checks) |
OSX_10_15 | security-framework-sys/OSX_10_15 | |
alpn | yes | nothing else (a switch the code checks) |
job-bless | nothing else (a switch the code checks) | |
macos-12 | security-framework-sys/macos-12 | |
nightly | nothing else (a switch the code checks) | |
session-tickets | yes | nothing else (a switch the code checks) |
sync-keychain | OSX_10_13 |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version security-framework declares (rust-version), and the release that changed it:
- 2.7.0 (2022-08-18): Rust 1.56
- 2.8.2 (2023-01-28): Rust 1.60
- 3.0.0-beta.1 (2024-08-13): Rust 1.70
- 3.4.0 (2025-09-08): Rust 1.71
- 3.6.0 (2026-02-13): Rust 1.72
- 3.7.0 (2026-02-20): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p security-framework --precise <version>, or use resolver 3, which picks compatible versions for you.
More on security-framework
Real downloads, dependents and alternatives: security-framework crate data (1.2M real downloads a day, 179 dependents).
Security record: security-framework advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on itsecurity-framework crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?