# 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 = "audiobook_server" version = "1.0.2" exclude = [ "books", "test_dir", "test_dir2", ] default-run = "audiobook_server" description = "A self-hosted audiobook server" license = "MIT" repository = "https://github.com/shenjiangqiu/audiobook_server" [dependencies.axum] version = "0.6.20" features = [ "headers", "http2", ] [dependencies.bincode] version = "1.3.3" [dependencies.chrono] version = "0.4.31" [dependencies.clap] version = "4.4.3" features = [ "derive", "env", ] [dependencies.cookie] version = "0.17.0" [dependencies.dotenv] version = "0.15.0" [dependencies.eyre] version = "0.6.8" [dependencies.futures] version = "0.3.28" [dependencies.hex] version = "0.4.3" [dependencies.hyper] version = "0.14.27" features = ["full"] [dependencies.lazy_static] version = "1.4.0" [dependencies.md5] version = "0.7.0" [dependencies.mime] version = "0.3.17" [dependencies.rand] version = "0.8.5" [dependencies.redis] version = "0.23.3" features = [ "aio", "tokio-comp", ] [dependencies.regex] version = "1.9.5" [dependencies.sea-orm] version = "0.12.2" features = [ "runtime-tokio-native-tls", "sqlx-mysql", "macros", ] [dependencies.serde] version = "1.0.188" features = ["derive"] [dependencies.serde_json] version = "1.0.107" [dependencies.tera] version = "1.19.1" [dependencies.tokio] version = "1.32.0" features = [ "rt", "macros", ] [dependencies.tokio-util] version = "0.7.8" [dependencies.tower] version = "0.4.13" [dependencies.tower-cookies] version = "0.9.0" [dependencies.tower-http] version = "0.4.4" features = [ "fs", "cors", ] [dependencies.tracing] version = "0.1.37" [dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [build-dependencies.chrono] version = "0.4.31"