[workspace] members = ["macros", "xtask"] exclude = ["starters"] [package] name = "lamo" version = "0.2.4" rust-version = "1.70" edition = "2021" description = "for Rust" license = "Apache-2.0" homepage = "https://github.com/wmydz1/lamo" documentation = "https://github.com/wmydz1/lamo/wiki" authors = ["sam"] repository = "https://github.com/wmydz1/lamo" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["auth_jwt", "cli", "with-db"] auth_jwt = ["dep:jsonwebtoken"] cli = ["dep:clap"] testing = ["dep:axum-test"] with-db = ["dep:sea-orm", "dep:sea-orm-migration"] channels = ["dep:socketioxide"] [dependencies] eyre = "0.6" backtrace_printer = { version = "1.3.0" } # cli clap = { version = "4.4.7", features = ["derive"], optional = true } colored = "2" sea-orm = { version = "0.12.4", features = [ "sqlx-postgres", # `DATABASE_DRIVER` feature "sqlx-sqlite", "runtime-tokio-rustls", "macros", ], optional = true } tokio = { version = "1.33.0", default-features = false } # the rest serde = "1" serde_json = "1" serde_yaml = "0.9" serde_variant = "0.1.2" # worker fwk rusty-sidekiq = { version = "0.8.2", default-features = false } async-trait = "0.1.74" bb8 = "0.8.1" axum = { version = "0.7.1", features = ["macros"] } axum-extra = { version = "0.9", features = ["cookie"] } regex = "1" lazy_static = "1.4.0" fs-err = "2.11.0" # mailer tera = "1.19.1" lettre = { version = "0.11.1", default-features = false, features = [ "builder", "hostname", "smtp-transport", "tokio1-rustls-tls", ] } include_dir = "0.7.3" thiserror = "1" tracing = "0.1.40" tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } # cli/migrations duct = "0.13.6" tower-http = { version = "0.5.0", features = [ "trace", "catch-panic", "timeout", "add-extension", "cors", "fs", "set-header", "compression-full", ] } byte-unit = "4.0.19" argon2 = { version = "0.5.2", features = ["std"] } rand = { version = "0.8.5", features = ["std"] } jsonwebtoken = { version = "9.1.0", optional = true } bcrypt = { version = "0.15.0", optional = true } validator = { version = "0.16.1", features = ["derive"] } futures-util = "0.3" tower = "0.4" hyper = "1" mime = "0.3" bytes = "1.1" axum-test = { version = "14.0.0-rc.1", optional = true } # gen rrgen = "0.5.3" chrono = "0.4.31" cargo_metadata = "0.18.1" cfg-if = "1" uuid = { version = "1.6", features = ["v4"] } requestty = "0.5.0" socketioxide = { version = "0.10.0", features = ["state"], optional = true } [dependencies.sea-orm-migration] optional = true version = "0.12.4" features = [ # Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI. # View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime. # e.g. "runtime-tokio-rustls", # `ASYNC_RUNTIME` feature "sqlx-postgres", # `DATABASE_DRIVER` feature "sqlx-sqlite", ] [dev-dependencies] rstest = "0.18.2" insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }