# 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 = "hanko" version = "0.4.1" authors = ["Marvin Vogt "] build = false exclude = [ ".devcontainer", ".github", "doc/benchmark/**", "tests/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Keeps your allowed signers file up to date with signing keys configured on platforms like GitHub and GitLab." homepage = "https://github.com/srv6d/hanko" readme = "README.md" keywords = [ "git", "ssh", "security", "encryption", ] categories = [ "authentication", "command-line-utilities", "cryptography", "development-tools", ] license = "MIT" repository = "https://github.com/srv6d/hanko" [lib] name = "hanko" path = "src/lib.rs" [[bin]] name = "hanko" path = "src/main.rs" [[bench]] name = "load_configuration" path = "benches/load_configuration.rs" harness = false [[bench]] name = "write_allowed_signers" path = "benches/write_allowed_signers.rs" harness = false [dependencies.anyhow] version = "1.0.91" [dependencies.async-trait] version = "0.1.83" [dependencies.chrono] version = "0.4.38" [dependencies.clap] version = "4.5.20" features = [ "derive", "env", "string", ] [dependencies.figment] version = "0.10.19" features = [ "toml", "test", ] [dependencies.gix-config] version = "0.41.0" optional = true [dependencies.reqwest] version = "0.12.8" features = [ "json", "rustls-tls-native-roots", "gzip", "zstd", "http2", "macos-system-configuration", ] default-features = false [dependencies.serde] version = "1.0.213" features = ["derive"] [dependencies.thiserror] version = "1.0.65" [dependencies.tokio] version = "1.41.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.assert_cmd] version = "=2.0.16" [dev-dependencies.codspeed-criterion-compat] version = "=2.7.2" [dev-dependencies.criterion] version = "=0.5.1" [dev-dependencies.httpmock] version = "=0.7.0" [dev-dependencies.indoc] version = "=2.0.5" [dev-dependencies.predicates] version = "=3.1.2" [dev-dependencies.proptest] version = "=1.5.0" [dev-dependencies.reqwest] version = "=0.12.8" features = ["blocking"] default-features = false [dev-dependencies.rstest] version = "=0.23.0" [dev-dependencies.serde_json] version = "=1.0.132" [dev-dependencies.tempfile] version = "=3.13.0" [features] default = ["detect-allowed-signers"] detect-allowed-signers = ["dep:gix-config"]