[package] name = "ssh-cert-dist-server" version = "0.1.0" authors = ["shimun "] edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = [ "reload", "info", "authorized" ] reload = [] authorized =[ "dep:jwt-compact" ] index = [] info = [ "axum/json", "ssh-key/serde" ] [[bin]] name = "sshcd-server" path = "src/main.rs" [dependencies] anyhow = "1.0.66" async-trait = "0.1.59" axum = { version = "0.6.1", features = ["http2"] } axum-extra = { version = "0.4.1", features = ["typed-routing"] } chrono = "0.4.23" clap = { version = "4.0.29", features = ["env", "derive"] } jwt-compact = { version = "0.6.0", features = ["serde_cbor", "std", "clock"], optional = true } rand = "0.8.5" serde = { version = "1.0.148", features = ["derive"] } ssh-key = { version = "0.6.0-pre.0", features = ["ed25519", "p256", "p384", "rsa"] } thiserror = "1.0.37" tokio = { version = "1.22.0", features = ["io-std", "test-util", "tracing", "macros", "fs"] } tower = { version = "0.4.13" } tower-http = { version = "0.3.4", features = ["map-request-body", "trace", "util"] } tracing = { version = "0.1.37", features = ["release_max_level_debug"] } tracing-subscriber = "0.3.16" ssh-cert-dist-common = { path = "../common" } [dev-dependencies] tempfile = "3.3.0" [profile.release] opt-level = 1