# 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" name = "velvet-web" version = "0.6.13" authors = ["Raffaele Ragni "] build = false include = [ "/src", "/LICENSE-MIT", "/LICENSE-APACHE", "/templates/login.html", "/templates/register.html", "/templates/mail_confirm.txt", "/templates/mail_confirm.html", "/templates/confirm.html", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Wrapper stack for webapp apis" homepage = "https://github.com/raffaeleragni/velvet" documentation = "https://github.com/raffaeleragni/velvet/blob/master/README.md" readme = "README.md" keywords = [ "webapp", "api", "microservice", ] categories = [ "web-programming", "web-programming::http-server", ] license = "MIT OR Apache-2.0" repository = "https://github.com/raffaeleragni/velvet" [lib] name = "velvet_web" path = "src/lib.rs" [dependencies.anyhow] version = "1" [dependencies.argon2] version = "0.5.3" features = ["std"] optional = true [dependencies.askama] version = "0.12" features = ["with-axum"] [dependencies.askama_axum] version = "0.4" [dependencies.axum] version = "0.7" features = [ "http2", "macros", ] [dependencies.axum-extra] version = "0.9" features = ["cookie"] optional = true [dependencies.axum-prometheus] version = "0.7" [dependencies.axum-server] version = "0.7.1" features = [ "rustls", "tls-rustls", "tokio-rustls", "rustls-pemfile", ] [dependencies.axum-test] version = "16.1.0" [dependencies.dotenvy] version = "0.15" [dependencies.futures-core] version = "0.3.31" optional = true [dependencies.jsonwebtoken] version = "9.3" optional = true [dependencies.lettre] version = "0.11" features = [ "builder", "hostname", "pool", "rustls-tls", "smtp-transport", "tokio1-rustls-tls", ] default-features = false [dependencies.mime_guess] version = "2.0" [dependencies.reqwest] version = "0.12" features = [ "rustls-tls", "charset", "http2", "macos-system-configuration", "gzip", "brotli", "deflate", "zstd", "cookies", "json", "multipart", "stream", ] default-features = false [dependencies.rust-embed] version = "8.5" features = [ "axum", "tokio", ] [dependencies.rustls] version = "0.23" [dependencies.sentry] version = "0.34" features = [ "anyhow", "tower", "tracing", "rustls", ] default-features = false [dependencies.sentry-tower] version = "0.34" features = [ "axum", "http", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serial_test] version = "3.1.1" [dependencies.sqlx] version = "0.8" features = ["runtime-tokio"] optional = true [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [dependencies.tower-http] version = "0.6.0" features = [ "compression-full", "decompression-full", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = [ "json", "env-filter", ] [dependencies.valuable] version = "0.1.0" features = [ "derive", "valuable-derive", ] [features] auth = [ "dep:axum-extra", "dep:jsonwebtoken", ] login = [ "auth", "dep:argon2", "dep:futures-core", ] mysql = [ "dep:sqlx", "sqlx/mysql", ] postgres = [ "dep:sqlx", "sqlx/postgres", ] sqlite = [ "dep:sqlx", "sqlx/sqlite", ]