# 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.63" name = "huxi-server" version = "0.9.0" authors = ["CY "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A site engine for web applications, based on Axum and PostgreSQL" homepage = "http://www.huxi.fun" readme = "README.md" keywords = [ "web", "engine", "site", "blog", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/huxifun/huxi-server" [lib] name = "huxi_server" path = "src/lib.rs" [[bin]] name = "huxi-server" path = "src/main.rs" [[example]] name = "backup" path = "examples/backup.rs" [dependencies.ammonia] version = "4" [dependencies.anyhow] version = "1" [dependencies.argon2] version = "0.5" [dependencies.axum] version = "0.7.5" features = [ "multipart", "matched-path", "query", ] [dependencies.axum_session] version = "0.14.1" [dependencies.axum_session_sqlx] version = "0.1.0" features = [ "postgres", "tls-rustls", ] [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4.5.16" features = [ "derive", "env", ] [dependencies.dotenv] version = "0.15" [dependencies.env_logger] version = "0.11" [dependencies.futures-util] version = "0.3" [dependencies.hmac] version = "0.12" [dependencies.http-body] version = "1" [dependencies.image] version = "0.25" [dependencies.kamadak-exif] version = "0.5" [dependencies.lettre] version = "0.11" features = [ "smtp-transport", "tokio1-rustls-tls", "builder", ] default-features = false [dependencies.log] version = "0.4" [dependencies.maud] version = "0.26" features = ["axum"] [dependencies.pulldown-cmark] version = "0.12" [dependencies.rand] version = "0.8.5" [dependencies.regex] version = "1.10" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.9" [dependencies.sha2] version = "0.10" [dependencies.sqlx] version = "0.7.3" features = [ "runtime-tokio-rustls", "chrono", "postgres", "macros", "uuid", ] [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" [dependencies.tokio] version = "1.40.0" features = ["full"] [dependencies.toml] version = "0.8" [dependencies.tower] version = "0.5" features = ["timeout"] [dependencies.tower-http] version = "0.5" features = [ "trace", "limit", "fs", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dependencies.urlencoding] version = "2.1" [dependencies.uuid] version = "1.10" features = [ "v4", "fast-rng", "macro-diagnostics", ]