44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
[package]
|
|
name = "ssh-cert-dist"
|
|
version = "0.1.0"
|
|
authors = ["shimun <shimun@shimun.net>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
default = [ "client", "reload", "info", "authorized" ]
|
|
reload = []
|
|
authorized =[ "dep:jwt-compact" ]
|
|
index = []
|
|
info = [ "axum/json", "ssh-key/serde" ]
|
|
client = [ "dep:url", "dep:reqwest" ]
|
|
|
|
|
|
[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"
|
|
reqwest = { version = "0.11.13", optional = true }
|
|
serde = { version = "1.0.148", features = ["derive"] }
|
|
ssh-key = { version = "0.5.1", features = ["ed25519", "p256", "p384", "rsa", "signature"] }
|
|
thiserror = "1.0.37"
|
|
tokio = { version = "1.22.0", features = ["io-std", "test-util", "tracing", "macros", "fs"] }
|
|
tower = { version = "0.4.13", features = ["util"] }
|
|
tower-http = { version = "0.3.4", features = ["map-request-body", "trace"] }
|
|
tracing = { version = "0.1.37", features = ["release_max_level_debug"] }
|
|
tracing-subscriber = "0.3.16"
|
|
url = { version = "2.3.1", optional = true }
|
|
|
|
[patch.crates-io]
|
|
ssh-key = { git = "https://github.com/a-dma/SSH.git", branch = "u2f_signatures" }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.3.0"
|
|
|