diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 118 | +41 −77 |
1 files changed, 41 insertions, 77 deletions
diff --git a/Cargo.toml b/Cargo.toml index 19cca99..9b4618f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,46 +1,50 @@ -# SPDX-FileCopyrightText: 2026 Nikolay Govorov -# SPDX-License-Identifier: AGPL-3.0-or-later - -[workspace] -members = ["crates/*", "tests/smoke"] -resolver = "3" - -[workspace.package] +[package] +name = "zorian" publish = false edition = "2024" version = "0.1.0" license = "AGPL-3.0-or-later" authors = ["Nikolay Govorov <me@govorov.online>"] homepage = "https://pkg.earth" -repository = "https://git.dimidiumlabs.io/tesor" +repository = "https://github.com/mrdimidium/Zorian" -[workspace.dependencies] -# local dependencies -base = { path = "crates/base" } -repos = { path = "crates/repos" } - -# external -async-trait = "0.1" -axum = { version = "0.8", features = ["http2", "macros"] } -axum-server = { version = "0.8", features = ["tls-rustls-no-provider"] } +[dependencies] +axum = { version = "0.8", features = ["http2", "macros", "multipart"] } +axum-server = { version = "0.8", default-features = false, features = ["tls-rustls-no-provider"] } +rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] } +axum-extra = { version = "0.12", features = [ + "async-read-body", + "attachment", + "cached", + "erased-json", + "error-response", + "file-stream", + "form", + "handler", + "json-deserializer", + "json-lines", + "middleware", + "multipart", + "optional-path", + "protobuf", + "query", + "routing", + "tracing", + "typed-header", + "typed-routing", + "with-rejection", +] } bytes = "1.11" -bytesize = { version = "2.3", features = ["serde"] } chrono = { version = "0.4", features = ["serde"] } crc32fast = "1.5" hex = "0.4" http-body-util = "0.1" hyper = "1.8" hyper-tls = "0.6" -hyper-util = { version = "0.1", features = ["client-legacy", "http1", "http2", "tokio"] } -maud = { version = "0.27", features = ["axum"] } -rustls = { version = "0.23", default-features = false, features = [ - "ring", - "std", - "tls12", -] } +hyper-util = { version = "0.1", features = ["full"] } +minijinja = "2.14" semver = "1.0" serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" sqlx = { version = "0.8", features = [ "sqlite", "runtime-tokio", @@ -49,60 +53,20 @@ sqlx = { version = "0.8", features = [ "chrono", "json", ] } -strum = { version = "0.27", features = ["derive"] } +bytesize = { version = "2.3", features = ["serde"] } thiserror = "2.0" -tokio = { version = "1.49", features = [ - "rt-multi-thread", - "macros", - "time", - "signal", - "fs", - "io-util", -] } -tokio-util = "0.7" +tokio = { version = "1.49", features = ["full"] } toml = "0.9" -tonic = "0.14" -tower = { version = "0.5", features = ["util"] } -tower-http = { version = "0.6", features = [ - "trace", - "compression-full", - "limit", - "timeout", - "request-id", - "set-header", - "follow-redirect", - "util", -] } +tower = { version = "0.5", features = ["full"] } tower_governor = { version = "0.8", features = ["axum", "tracing"] } -url = { version = "2.5", features = ["serde"] } -uuid = { version = "1.19", features = ["v4", "v5"] } - -# telemetry -opentelemetry = "0.31" -opentelemetry-appender-tracing = "0.31" -opentelemetry-otlp = { version = "0.31", features = [ - "grpc-tonic", - "http-proto", - "logs", - "metrics", - "trace", - "tls", - "tls-roots", -] } -opentelemetry-semantic-conventions = "0.31" -opentelemetry_sdk = { version = "0.31", features = [ - "rt-tokio", - "logs", - "metrics", - "trace", -] } +tower-http = { version = "0.6", features = ["full"] } tracing = "0.1" -tracing-opentelemetry = "0.32" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } +url = "2.5" +uuid = { version = "1.19", features = ["v4", "v5"] } -# platform-specific -sd-notify = "0.4" - -# dev -proptest = "1.6" +[dev-dependencies] +cargo-deny = "0.19" +cargo-llvm-cov = "0.6" tempfile = "3.24" +url = "2.5" |
