[package]
name = "security-framework"
version = "1.0.0"
authors = ["Steven Fackler <sfackler@gmail.com>", "Kornel <kornel@geekhood.net>"]
license = "MIT OR Apache-2.0"
description = "Security.framework bindings for macOS and iOS"
repository = "https://github.com/kornelski/rust-security-framework"
documentation = "https://kornelski.github.io/rust-security-framework/doc/security_framework/"
homepage = "https://lib.rs/crates/security_framework"
categories = ["os::macos-apis", "cryptography", "api-bindings"]
readme = "README.md"
keywords = ["iOS", "TLS", "SSL", "crypto", "keychain"]
exclude = ["test/*"]
edition = "2018"
[dependencies]
security-framework-sys = { version = "1.0.0", default-features = false, path = "../security-framework-sys" }
core-foundation = "0.7"
core-foundation-sys = "0.7"
bitflags = "1.2.1"
libc = "0.2.68"
[dev-dependencies]
tempdir = "0.3.7"
hex = "0.4.2"
[features]
default = ["OSX_10_9"]
alpn = []
session-tickets = []
OSX_10_9 = ["security-framework-sys/OSX_10_9"]
OSX_10_10 = ["OSX_10_9", "security-framework-sys/OSX_10_10"]
OSX_10_11 = ["OSX_10_10", "security-framework-sys/OSX_10_11"]
OSX_10_12 = ["OSX_10_11", "security-framework-sys/OSX_10_12"]
OSX_10_13 = ["OSX_10_12", "security-framework-sys/OSX_10_13", "alpn", "session-tickets"]
nightly = []
[[example]]
name = "client"
[[example]]
name = "find_internet_password"
[[example]]
name = "set_internet_password"
[package.metadata.docs.rs]
targets = ["x86_64-apple-darwin", "aarch64-apple-ios"]
[badges]
maintenance = { status = "passively-maintained" }