# 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.67" name = "yubihsm" version = "0.42.1" authors = ["Tony Arcieri "] description = """ Pure Rust client for YubiHSM2 devices with support for HTTP and USB-based access to the device. Supports most HSM functionality including ECDSA, Ed25519, HMAC, and RSA. """ documentation = "https://docs.rs/yubihsm" readme = "README.md" keywords = [ "ecdsa", "ed25519", "hmac", "hsm", "yubikey", ] categories = [ "cryptography", "hardware-support", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/iqlusioninc/yubihsm.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "connector_http_server" required-features = [ "http-server", "usb", ] [dependencies.aes] version = "0.8" [dependencies.bitflags] version = "2" [dependencies.cbc] version = "0.1" [dependencies.ccm] version = "0.5" features = ["std"] optional = true [dependencies.cmac] version = "0.7" [dependencies.digest] version = "0.10" optional = true default-features = false [dependencies.ecdsa] version = "0.16" default-features = false [dependencies.ed25519] version = "2" [dependencies.ed25519-dalek] version = "2" features = ["rand_core"] optional = true [dependencies.hmac] version = "0.12" optional = true [dependencies.k256] version = "0.13" features = [ "ecdsa", "sha256", ] optional = true [dependencies.log] version = "0.4" [dependencies.p256] version = "0.13" features = ["ecdsa"] default-features = false [dependencies.p384] version = "0.13" features = ["ecdsa"] default-features = false [dependencies.pbkdf2] version = "0.12" features = ["hmac"] optional = true default-features = false [dependencies.rand_core] version = "0.6" features = ["std"] [dependencies.rusb] version = "0.9" optional = true [dependencies.serde] version = "1" features = ["serde_derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.sha2] version = "0.10" optional = true [dependencies.signature] version = "2" features = ["derive"] [dependencies.subtle] version = "2" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" features = ["serde"] [dependencies.tiny_http] version = "0.12" optional = true [dependencies.uuid] version = "1" default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] [dev-dependencies.ed25519-dalek] version = "2" [dev-dependencies.once_cell] version = "1" [dev-dependencies.p256] version = "0.13" features = ["ecdsa"] [dev-dependencies.rsa] version = "0.9" [features] default = [ "http", "passwords", "setup", ] http = [] http-server = ["tiny_http"] mockhsm = [ "ccm", "digest", "ecdsa/arithmetic", "ed25519-dalek", "p256/ecdsa", "secp256k1", ] passwords = [ "hmac", "pbkdf2", "sha2", ] secp256k1 = ["k256"] setup = [ "passwords", "serde_json", "uuid/serde", ] untested = ["sha2"] usb = ["rusb"]