# 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 = "solo2" version = "0.2.2" authors = ["SoloKeys, built with Trussed®."] description = "Library and CLI for the SoloKeys Solo 2 security key" documentation = "https://docs.rs/solo2" readme = "README.md" license = "Apache-2.0 OR MIT" repository = "https://github.com/solokeys/solo2-cli" [[bin]] name = "solo2" required-features = ["cli"] [dependencies.anyhow] version = "1.0.40" [dependencies.atty] version = "0.2.14" optional = true [dependencies.clap] version = "4" features = [ "cargo", "derive", ] optional = true [dependencies.clap-verbosity-flag] version = "2" optional = true [dependencies.clap_complete] version = "4" optional = true [dependencies.ctrlc] version = "3.2.0" optional = true [dependencies.data-encoding] version = "2.3.2" [dependencies.dialoguer] version = "0.10" [dependencies.flexiber] version = "0.1.0" features = ["std"] [dependencies.getrandom] version = "0.2" [dependencies.hex] version = "0.4.3" [dependencies.hex-literal] version = "0.3.1" [dependencies.hidapi] version = "2" features = ["linux-static-hidraw"] default-features = false [dependencies.indicatif] version = "0.17" [dependencies.iso7816] version = "0.1.0" [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.log] version = "0.4.14" [dependencies.lpc55] version = "0.2" [dependencies.p256] version = "0.12" features = ["pkcs8"] optional = true [dependencies.pcsc] version = "2.4" [dependencies.pkcs8] version = "0.9" features = ["alloc"] optional = true [dependencies.pretty_env_logger] version = "0.4.0" optional = true [dependencies.rand_core] version = "0.6.2" optional = true [dependencies.rcgen] version = "0.10" optional = true [dependencies.serde_json] version = "1.0.64" [dependencies.sha-1] version = "0.10" [dependencies.sha2] version = "0.10" [dependencies.time] version = "0.3" [dependencies.ureq] version = "2.1.1" features = ["json"] [dependencies.webbrowser] version = "0.8" [dependencies.x509-parser] version = "0.14.0" features = ["verify"] [dependencies.yasna] version = "0.5.0" optional = true [build-dependencies.clap] version = "4" features = [ "cargo", "derive", ] [build-dependencies.clap-verbosity-flag] version = "2" [build-dependencies.clap_complete] version = "4" [build-dependencies.lazy_static] version = "1.4.0" [features] cli = [ "atty", "clap", "clap_complete", "clap-verbosity-flag", "ctrlc", "lazy_static", "pretty_env_logger", ] default = ["cli"] dev-pki = [ "p256", "pkcs8", "rand_core", "rcgen", "yasna", ] network-tests = []