155 lines
3.2 KiB
TOML
155 lines
3.2 KiB
TOML
|
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
|
#
|
||
|
|
# When uploading crates to the registry Cargo will automatically
|
||
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
|
# to registry (e.g., crates.io) dependencies.
|
||
|
|
#
|
||
|
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
|
# will likely look very different (and much more reasonable).
|
||
|
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
|
||
|
|
[package]
|
||
|
|
edition = "2021"
|
||
|
|
rust-version = "1.60"
|
||
|
|
name = "security-framework"
|
||
|
|
version = "2.11.1"
|
||
|
|
authors = [
|
||
|
|
"Steven Fackler <sfackler@gmail.com>",
|
||
|
|
"Kornel <kornel@geekhood.net>",
|
||
|
|
]
|
||
|
|
exclude = ["test/*"]
|
||
|
|
description = "Security.framework bindings for macOS and iOS"
|
||
|
|
homepage = "https://lib.rs/crates/security_framework"
|
||
|
|
documentation = "https://docs.rs/security_framework"
|
||
|
|
readme = "README.md"
|
||
|
|
keywords = [
|
||
|
|
"iOS",
|
||
|
|
"TLS",
|
||
|
|
"SSL",
|
||
|
|
"crypto",
|
||
|
|
"keychain",
|
||
|
|
]
|
||
|
|
categories = [
|
||
|
|
"os::macos-apis",
|
||
|
|
"cryptography",
|
||
|
|
"api-bindings",
|
||
|
|
]
|
||
|
|
license = "MIT OR Apache-2.0"
|
||
|
|
repository = "https://github.com/kornelski/rust-security-framework"
|
||
|
|
|
||
|
|
[package.metadata.docs.rs]
|
||
|
|
features = ["OSX_10_15"]
|
||
|
|
targets = [
|
||
|
|
"x86_64-apple-darwin",
|
||
|
|
"aarch64-apple-ios",
|
||
|
|
]
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "client"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "find_internet_password"
|
||
|
|
|
||
|
|
[[example]]
|
||
|
|
name = "set_internet_password"
|
||
|
|
|
||
|
|
[dependencies.bitflags]
|
||
|
|
version = "2.6"
|
||
|
|
|
||
|
|
[dependencies.core-foundation]
|
||
|
|
version = "0.9.4"
|
||
|
|
|
||
|
|
[dependencies.core-foundation-sys]
|
||
|
|
version = "0.8.6"
|
||
|
|
|
||
|
|
[dependencies.libc]
|
||
|
|
version = "0.2.139"
|
||
|
|
|
||
|
|
[dependencies.log]
|
||
|
|
version = "0.4.20"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.num-bigint]
|
||
|
|
version = "0.4.6"
|
||
|
|
optional = true
|
||
|
|
|
||
|
|
[dependencies.security-framework-sys]
|
||
|
|
version = "2.11.1"
|
||
|
|
default-features = false
|
||
|
|
|
||
|
|
[dev-dependencies.env_logger]
|
||
|
|
version = "0.10"
|
||
|
|
|
||
|
|
[dev-dependencies.hex]
|
||
|
|
version = "0.4.3"
|
||
|
|
|
||
|
|
[dev-dependencies.tempfile]
|
||
|
|
version = "3.3.0"
|
||
|
|
|
||
|
|
[dev-dependencies.time]
|
||
|
|
version = "0.3.17"
|
||
|
|
|
||
|
|
[dev-dependencies.x509-parser]
|
||
|
|
version = "0.16"
|
||
|
|
|
||
|
|
[features]
|
||
|
|
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",
|
||
|
|
"serial-number-bigint",
|
||
|
|
]
|
||
|
|
OSX_10_14 = [
|
||
|
|
"OSX_10_13",
|
||
|
|
"security-framework-sys/OSX_10_14",
|
||
|
|
]
|
||
|
|
OSX_10_15 = [
|
||
|
|
"OSX_10_14",
|
||
|
|
"security-framework-sys/OSX_10_15",
|
||
|
|
]
|
||
|
|
OSX_10_9 = ["security-framework-sys/OSX_10_9"]
|
||
|
|
alpn = []
|
||
|
|
default = ["OSX_10_12"]
|
||
|
|
job-bless = []
|
||
|
|
nightly = []
|
||
|
|
serial-number-bigint = ["dep:num-bigint"]
|
||
|
|
session-tickets = []
|
||
|
|
|
||
|
|
[badges.maintenance]
|
||
|
|
status = "looking-for-maintainer"
|
||
|
|
|
||
|
|
[lints.clippy]
|
||
|
|
cast_possible_truncation = "allow"
|
||
|
|
cast_possible_wrap = "allow"
|
||
|
|
cast_sign_loss = "allow"
|
||
|
|
if_not_else = "allow"
|
||
|
|
inline_always = "allow"
|
||
|
|
items_after_statements = "allow"
|
||
|
|
iter_not_returning_iterator = "allow"
|
||
|
|
map_unwrap_or = "allow"
|
||
|
|
missing_errors_doc = "allow"
|
||
|
|
missing_panics_doc = "allow"
|
||
|
|
module_name_repetitions = "allow"
|
||
|
|
redundant_closure_for_method_calls = "allow"
|
||
|
|
similar_names = "allow"
|
||
|
|
unnested_or_patterns = "allow"
|
||
|
|
wildcard_imports = "allow"
|
||
|
|
|
||
|
|
[lints.clippy.pedantic]
|
||
|
|
level = "warn"
|
||
|
|
priority = -100
|