# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.77.2" name = "roadster" version = "0.6.20" build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = 'A "Batteries Included" web framework for rust designed to get you moving fast.' readme = "README.md" keywords = [ "web", "framework", ] categories = [ "web-programming", "web-programming::http-server", ] license = "MIT OR Apache-2.0" repository = "https://github.com/roadster-rs/roadster" [package.metadata.docs.rs] all-features = true [lib] name = "roadster" path = "src/lib.rs" [dependencies.aide] version = "0.13.4" features = [ "axum", "axum", "redoc", "scalar", "macros", ] optional = true [dependencies.anyhow] version = "1.0.86" [dependencies.async-trait] version = "0.1.74" [dependencies.axum] version = "0.7.5" features = ["macros"] optional = true [dependencies.axum-core] version = "0.4.5" [dependencies.axum-extra] version = "0.9.0" features = [ "typed-header", "cookie", ] optional = true [dependencies.bb8] version = "0.8.0" optional = true [dependencies.byte-unit] version = "5.0.0" features = ["serde"] [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.34" features = [ "serde", "serde", ] [dependencies.clap] version = "4.3.0" features = [ "derive", "derive", "string", ] optional = true [dependencies.config] version = "0.14.1" features = [ "toml", "convert-case", ] default-features = false [dependencies.const_format] version = "0.2.32" [dependencies.convert_case] version = "0.6.0" [dependencies.dotenvy] version = "0.15.5" [dependencies.futures] version = "0.3.30" [dependencies.futures-core] version = "0.3.31" [dependencies.http-body-util] version = "0.1.2" optional = true [dependencies.insta] version = "1.39.0" features = [ "toml", "filters", ] optional = true [dependencies.itertools] version = "0.13.0" [dependencies.jsonwebtoken] version = "9.0.0" optional = true [dependencies.lettre] version = "0.11.0" features = ["serde"] optional = true [dependencies.mime] version = "0.3.17" optional = true [dependencies.mockall] version = "0.13.0" optional = true [dependencies.num-traits] version = "0.2.14" [dependencies.num_cpus] version = "1.13.0" optional = true [dependencies.opentelemetry] version = "0.26.0" features = [ "trace", "metrics", "logs", ] optional = true [dependencies.opentelemetry-otlp] version = "0.26.0" features = [ "metrics", "trace", "logs", ] optional = true [dependencies.opentelemetry-semantic-conventions] version = "0.26.0" [dependencies.opentelemetry_sdk] version = "0.26.0" features = [ "tokio", "rt-tokio", "metrics", "logs", "trace", ] optional = true [dependencies.prost] version = "0.13.2" optional = true [dependencies.reqwest] version = "0.12.8" [dependencies.rstest] version = "0.23.0" optional = true default-features = false [dependencies.rusty-sidekiq] version = "0.11.0" optional = true default-features = false [dependencies.schemars] version = "0.8.16" optional = true [dependencies.sea-orm] version = "1.1.0" features = [ "debug-print", "runtime-tokio-rustls", "sqlx-postgres", "macros", ] optional = true [dependencies.sea-orm-migration] version = "1.1.0" features = [ "runtime-tokio-rustls", "sqlx-postgres", ] optional = true [dependencies.sendgrid] version = "0.23.0" optional = true [dependencies.serde] version = "1.0.185" features = ["derive"] [dependencies.serde_derive] version = "1.0.185" [dependencies.serde_json] version = "1.0.96" [dependencies.serde_with] version = "3.7.0" features = [ "macros", "chrono_0_4", ] [dependencies.strum] version = "0.26.0" [dependencies.strum_macros] version = "0.26.0" [dependencies.testcontainers-modules] version = "0.11.3" features = [ "postgres", "redis", ] optional = true [dependencies.thiserror] version = "2.0.0" [dependencies.time] version = "0.3.36" [dependencies.tokio] version = "1.39.0" features = ["full"] [dependencies.tokio-util] version = "0.7.10" [dependencies.toml] version = "0.8.0" [dependencies.tonic] version = "0.12.3" optional = true [dependencies.tower] version = "0.5.0" optional = true [dependencies.tower-http] version = "0.6.0" features = [ "trace", "timeout", "request-id", "util", "normalize-path", "sensitive-headers", "catch-panic", "compression-full", "decompression-full", "limit", "cors", ] optional = true [dependencies.tracing] version = "0.1.40" features = ["async-await"] [dependencies.tracing-opentelemetry] version = "0.27.0" features = ["metrics"] optional = true [dependencies.tracing-subscriber] version = "0.3.17" features = [ "env-filter", "json", ] [dependencies.typed-builder] version = "0.20.0" [dependencies.url] version = "2.5.0" features = ["serde"] [dependencies.uuid] version = "1.10.0" features = [ "v4", "serde", ] [dependencies.validator] version = "0.19.0" features = ["derive"] [dev-dependencies.cargo-husky] version = "1.5.0" features = ["user-hooks"] default-features = false [dev-dependencies.insta] version = "1.39.0" features = [ "toml", "filters", "json", ] [dev-dependencies.mockall] version = "0.13.0" [dev-dependencies.mockall_double] version = "0.3.1" [dev-dependencies.rstest] version = "0.23.0" default-features = false [features] cli = ["dep:clap"] config-yml = ["config/yaml"] db-sql = [ "dep:sea-orm", "dep:sea-orm-migration", ] default = [ "sidekiq", "db-sql", "open-api", "jwt-ietf", "cli", "otel", ] email = ["dep:lettre"] email-sendgrid = [ "email", "dep:sendgrid", ] email-smtp = ["email"] grpc = ["dep:tonic"] http = [ "dep:axum", "dep:axum-extra", "dep:tower", "dep:tower-http", "dep:http-body-util", "dep:mime", ] jwt = ["dep:jsonwebtoken"] jwt-ietf = ["jwt"] jwt-openid = ["jwt"] open-api = [ "http", "dep:aide", "dep:schemars", ] otel = [ "dep:opentelemetry", "dep:opentelemetry_sdk", "dep:opentelemetry-otlp", "dep:tracing-opentelemetry", "dep:prost", ] sidekiq = [ "dep:rusty-sidekiq", "dep:bb8", "dep:num_cpus", ] test-containers = [ "testing", "dep:testcontainers-modules", ] testing = [ "dep:insta", "dep:rstest", "dep:testcontainers-modules", ] testing-mocks = [ "testing", "dep:mockall", "sea-orm?/mock", ] [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(coverage_nightly)"]