# 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.70" name = "loco-rs" version = "0.13.2" authors = [ "Dotan Nahum ", "Elad Kaplan ", ] description = "The one-person framework for Rust" homepage = "https://loco.rs/" documentation = "https://docs.rs/loco-rs" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/loco-rs/loco" [package.metadata.docs.rs] features = ["testing"] [dependencies.argon2] version = "0.5.2" features = ["std"] [dependencies.async-trait] version = "0.1.74" [dependencies.axum] version = "0.7.5" features = ["macros"] [dependencies.axum-extra] version = "0.9" features = ["cookie"] [dependencies.axum-test] version = "16.1.0" optional = true [dependencies.backtrace_printer] version = "1.3.0" [dependencies.bb8] version = "0.8.1" optional = true [dependencies.byte-unit] version = "4.0.19" [dependencies.bytes] version = "1.1" [dependencies.cfg-if] version = "1" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4.4.7" features = ["derive"] optional = true [dependencies.colored] version = "2" [dependencies.duct] version = "0.13.6" [dependencies.duct_sh] version = "0.13.7" [dependencies.english-to-cron] version = "0.1.2" [dependencies.fs-err] version = "2.11.0" [dependencies.futures-util] version = "0.3" [dependencies.heck] version = "0.4.0" [dependencies.hyper] version = "1.1" [dependencies.include_dir] version = "0.7.3" [dependencies.ipnetwork] version = "0.20.0" [dependencies.jsonwebtoken] version = "9.3.0" optional = true [dependencies.lettre] version = "0.11.4" features = [ "builder", "hostname", "smtp-transport", "tokio1-rustls-tls", ] default-features = false [dependencies.loco-gen] version = "0.13.2" [dependencies.mime] version = "0.3" [dependencies.moka] version = "0.12.7" features = ["sync"] optional = true [dependencies.object_store] version = "0.11.0" default-features = false [dependencies.rand] version = "0.8.5" features = ["std"] [dependencies.regex] version = "1" [dependencies.rusty-sidekiq] version = "0.11.0" optional = true default-features = false [dependencies.sea-orm] version = "1.1.0" features = [ "sqlx-postgres", "sqlx-sqlite", "runtime-tokio-rustls", "macros", ] optional = true [dependencies.sea-orm-migration] version = "1.0.0" features = [ "runtime-tokio-rustls", "sqlx-postgres", "sqlx-sqlite", ] optional = true [dependencies.semver] version = "1" [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.serde_variant] version = "0.1.2" [dependencies.serde_yaml] version = "0.9" [dependencies.sqlx] version = "0.8.2" features = [ "postgres", "chrono", "sqlite", ] optional = true default-features = false [dependencies.tera] version = "1.19.1" [dependencies.thiserror] version = "1" [dependencies.thousands] version = "0.2.0" [dependencies.tokio] version = "1.33.0" default-features = false [dependencies.tokio-cron-scheduler] version = "0.11.0" features = ["signal"] [dependencies.tokio-util] version = "0.7.10" [dependencies.toml] version = "0.8" [dependencies.tower] version = "0.4" [dependencies.tower-http] version = "0.6.1" features = [ "trace", "catch-panic", "timeout", "add-extension", "cors", "fs", "set-header", "compression-full", ] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-appender] version = "0.2.3" [dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [dependencies.ulid] version = "1" optional = true [dependencies.uuid] version = "1.10.0" features = [ "v4", "fast-rng", ] [dependencies.validator] version = "0.18.1" features = ["derive"] [dev-dependencies.insta] version = "1.34.0" features = [ "redactions", "yaml", "filters", ] [dev-dependencies.reqwest] version = "0.12.7" [dev-dependencies.rstest] version = "0.21.0" [dev-dependencies.serial_test] version = "3.1.1" [dev-dependencies.tower] version = "0.4" features = ["util"] [dev-dependencies.tree-fs] version = "0.2.1" [features] all_storage = [ "storage_aws_s3", "storage_azure", "storage_gcp", ] auth_jwt = ["dep:jsonwebtoken"] bg_pg = [ "dep:sqlx", "dep:ulid", ] bg_redis = [ "dep:rusty-sidekiq", "dep:bb8", ] bg_sqlt = [ "dep:sqlx", "dep:ulid", ] cache_inmem = ["dep:moka"] cli = ["dep:clap"] default = [ "auth_jwt", "cli", "with-db", "cache_inmem", "bg_redis", "bg_pg", "bg_sqlt", ] storage_aws_s3 = ["object_store/aws"] storage_azure = ["object_store/azure"] storage_gcp = ["object_store/gcp"] testing = ["dep:axum-test"] with-db = [ "dep:sea-orm", "dep:sea-orm-migration", "loco-gen/with-db", ]