# 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" name = "sspi" version = "0.14.2" authors = ["Devolutions Inc. "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust implementation of the Security Support Provider Interface (SSPI) API" homepage = "https://github.com/devolutions/sspi-rs" readme = "README.md" keywords = [ "ntlm", "auth", "sspi", "windows", "kerberos", ] license = "MIT OR Apache-2.0" repository = "https://github.com/devolutions/sspi-rs" [lib] name = "sspi" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" [[example]] name = "kerberos" path = "examples/kerberos.rs" required-features = ["network_client"] [[example]] name = "server" path = "examples/server.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "ntlm" path = "tests/ntlm.rs" [dependencies.async-recursion] version = "1.1" [dependencies.bitflags] version = "2.6" [dependencies.byteorder] version = "1.5" [dependencies.cfg-if] version = "1" [dependencies.crypto-mac] version = "0.11" [dependencies.hmac] version = "0.12" [dependencies.lazy_static] version = "1.5" [dependencies.md-5] version = "0.10" [dependencies.md4] version = "0.10" [dependencies.num-bigint-dig] version = "0.8" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" default-features = true [dependencies.oid] version = "0.2" [dependencies.picky] version = "7.0.0-rc.9" default-features = false [dependencies.picky-asn1] version = "0.9" features = ["time_conversion"] [dependencies.picky-asn1-der] version = "0.5" [dependencies.picky-asn1-x509] version = "0.13" features = ["pkcs7"] [dependencies.picky-krb] version = "0.9" [dependencies.portpicker] version = "0.1" optional = true [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.12" features = [ "blocking", "rustls-tls-no-provider", ] optional = true default-features = false [dependencies.rsa] version = "0.9.6" features = ["sha1"] default-features = false [dependencies.rustls] version = "0.23" features = [ "logging", "std", "tls12", ] optional = true default-features = false [dependencies.rustls-native-certs] version = "0.8" optional = true [dependencies.serde] version = "1" [dependencies.serde_derive] version = "1" [dependencies.sha1] version = "0.10" default-features = false [dependencies.sha2] version = "0.10" [dependencies.time] version = "0.3" features = ["std"] default-features = false [dependencies.tokio] version = "1.41" features = [ "time", "rt", "rt-multi-thread", ] optional = true [dependencies.tracing] version = "0.1" default-features = true [dependencies.trust-dns-resolver] version = "0.23" optional = true [dependencies.url] version = "2.5" [dependencies.uuid] version = "1.11" features = ["v4"] default-features = true [dependencies.winscard] version = "0.2" optional = true [dependencies.zeroize] version = "1.8" features = ["zeroize_derive"] [dev-dependencies.base64] version = "0.22" [dev-dependencies.cfg-if] version = "1" [dev-dependencies.picky] version = "7.0.0-rc.9" features = ["x509"] default-features = false [dev-dependencies.proptest] version = "1.5" [dev-dependencies.static_assertions] version = "1" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.whoami] version = "1.5" [features] __install-crypto-provider = [] __rustls-used = ["dep:rustls"] __test-data = [] aws-lc-rs = [ "rustls?/aws-lc-rs", "__install-crypto-provider", ] default = ["aws-lc-rs"] dns_resolver = [ "dep:trust-dns-resolver", "dep:tokio", ] network_client = [ "dep:reqwest", "dep:portpicker", "dep:rustls-native-certs", "__rustls-used", ] ring = [ "rustls?/ring", "reqwest?/rustls-tls-native-roots", "__install-crypto-provider", ] scard = ["dep:winscard"] tsssp = [ "dep:rustls", "__rustls-used", ] [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.async-dnssd] version = "0.5" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.futures] version = "0.3" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.tokio] version = "1.41" features = [ "time", "rt", "rt-multi-thread", ] [target."cfg(windows)".dependencies.windows] version = "0.58" features = [ "Win32_Foundation", "Win32_NetworkManagement_Dns", ] [target."cfg(windows)".dependencies.windows-sys] version = "0.59" features = [ "Win32_Security_Cryptography", "Win32_Foundation", ] [target."cfg(windows)".dependencies.winreg] version = "0.52" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(fuzzing)"]