59 lines
1.6 KiB
TOML
59 lines
1.6 KiB
TOML
[package]
|
|
name = "ianitor-control"
|
|
description = "Ianitor Domi control plane: routes repo, apply with automatic rollback, share links, API tokens, REST API on loopback."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
name = "ianitor_control"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "ianitor-control"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
# The crash and write-failure hooks of the crash-safety tests (src/crash.rs). The Nix release
|
|
# build turns them off with --no-default-features.
|
|
default = ["test-hooks"]
|
|
test-hooks = []
|
|
|
|
[dependencies]
|
|
ianitor-core.workspace = true
|
|
url.workspace = true
|
|
rustls.workspace = true
|
|
rustls-pki-types.workspace = true
|
|
tokio-rustls.workspace = true
|
|
axum = { version = "0.8.9", default-features = false, features = ["http1", "json", "query", "tokio", "matched-path"] }
|
|
utoipa = "5"
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
toml.workspace = true
|
|
thiserror.workspace = true
|
|
log.workspace = true
|
|
ring.workspace = true
|
|
base64.workspace = true
|
|
http.workspace = true
|
|
bytes.workspace = true
|
|
# Device certificate install files (PKCS#12) and their QR codes.
|
|
p12-keystore = "0.4"
|
|
qrcode = { version = "0.14", default-features = false, features = ["svg"] }
|
|
# The offline root CLI asks for its passphrase without echo.
|
|
rpassword = "7"
|
|
|
|
# Windows Server, Caddy mode: the service control manager starts control and the guard.
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-service = "0.8"
|
|
|
|
[dev-dependencies]
|
|
ianitor-testkit.workspace = true
|
|
p12-keystore = "0.4"
|
|
ianitor-edge.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|