# 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 = "webserver-rs" version = "0.5.2" description = "An out-of-the-box web server framework that is encapsulated based on salvo and sea-orm." readme = "README.md" license = "MIT" repository = "https://github.com/xmh0511/webserver-rs" [package.metadata.docs.rs] all-features = true [dependencies.anyhow] version = "1.0.71" [dependencies.chrono] version = "0.4.26" [dependencies.config-file] version = "0.2.3" [dependencies.futures] version = "0.3.30" [dependencies.jsonwebtoken] version = "9.3.0" [dependencies.openssl] version = "0.10.64" features = ["vendored"] [dependencies.salvo] version = "0.67.0" features = [ "jwt-auth", "serve-static", "cors", ] [dependencies.sea-orm] version = "0.12" features = [ "runtime-tokio-rustls", "macros", "debug-print", ] [dependencies.serde] version = "1.0.163" [dependencies.serde_json] version = "1.0.96" [dependencies.time] version = "0.3.21" features = ["macros"] [dependencies.tokio] version = "1" features = ["macros"] [dependencies.tracing] version = "0.1.37" [dependencies.tracing-appender] version = "0.2.2" [dependencies.tracing-subscriber] version = "0.3.17" features = [ "env-filter", "time", "local-time", ] [features] http3 = ["salvo/quinn"] mysql = ["sea-orm/sqlx-mysql"] postgres = ["sea-orm/sqlx-postgres"] sqlite = ["sea-orm/sqlx-sqlite"]