[package] name = "mas-cli" version = "0.1.0" authors = ["Quentin Gliech "] edition = "2021" license = "Apache-2.0" [dependencies] anyhow.workspace = true axum = "0.6.20" camino = "1.1.6" clap = { version = "4.4.1", features = ["derive"] } dotenvy = "0.15.7" httpdate = "1.0.3" hyper = { version = "0.14.27", features = ["full"] } itertools = "0.11.0" listenfd = "1.0.1" rand.workspace = true rand_chacha = "0.3.1" rustls = "0.21.7" serde_json.workspace = true serde_yaml = "0.9.25" sqlx = { version = "0.7.1", features = ["runtime-tokio-rustls", "postgres"] } tokio = { version = "1.32.0", features = ["full"] } tower = "0.4.13" tower-http = { version = "0.4.3", features = ["fs"] } url.workspace = true zeroize = "1.6.0" tracing.workspace = true tracing-appender = "0.2.2" tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } tracing-opentelemetry = "0.21.0" opentelemetry = { version = "0.20.0", features = ["trace", "metrics", "rt-tokio"] } opentelemetry-http = { version = "0.9.0", features = ["tokio", "hyper"] } opentelemetry-jaeger = { version = "0.19.0", features = ["rt-tokio", "collector_client"] } opentelemetry-otlp = { version = "0.13.0", features = ["trace", "metrics"] } opentelemetry-prometheus = "0.13.0" opentelemetry-semantic-conventions = "0.12.0" opentelemetry-stdout = { version = "0.1.0", features = ["trace", "metrics"] } opentelemetry-zipkin = { version = "0.18.0", default-features = false } prometheus = "0.13.3" sentry = { version = "0.31.6", default-features = false, features = ["backtrace", "contexts", "panic", "tower"] } sentry-tracing = "0.31.5" sentry-tower = { version = "0.31.5", features = ["http"] } mas-config = { path = "../config" } mas-data-model = { path = "../data-model" } mas-email = { path = "../email" } mas-handlers = { path = "../handlers", default-features = false } mas-http = { path = "../http", default-features = false, features = ["axum", "client"] } mas-iana = { path = "../iana" } mas-listener = { path = "../listener" } mas-matrix = { path = "../matrix" } mas-matrix-synapse = { path = "../matrix-synapse" } mas-policy = { path = "../policy" } mas-router = { path = "../router" } mas-spa = { path = "../spa" } mas-storage = { path = "../storage" } mas-storage-pg = { path = "../storage-pg" } mas-tasks = { path = "../tasks" } mas-templates = { path = "../templates" } mas-tower = { path = "../tower" } oauth2-types = { path = "../oauth2-types" } [features] default = ["webpki-roots", "policy-cache"] # Features used for the prebuilt binaries dist = ["policy-cache", "native-roots", "mas-config/dist"] # Features used in the Docker image docker = ["native-roots", "mas-config/docker"] # Enable wasmtime compilation cache policy-cache = ["mas-policy/cache"] # Use the native root certificates native-roots = ["mas-http/native-roots", "mas-handlers/native-roots"] # Use the webpki root certificates webpki-roots = ["mas-http/webpki-roots", "mas-handlers/webpki-roots"]