# 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 = "lexa-framework" version = "0.2.8" description = "Framework web backend personnel par dessus Axum." license = "MPL-2.0" repository = "https://github.com/PhiSyX/lexa-framework" [[example]] name = "auth" path = "examples/auth.rs" required-features = [ "auth", "encryption-argon2", "uuid", ] [[example]] name = "crud" path = "examples/crud.rs" required-features = [ "database-postgres", "time", "uuid", ] [dependencies.async-trait] version = "^0.1" [dependencies.axum] version = "^0.6" features = ["headers"] [dependencies.axum-server] version = "^0.5" features = ["tls-rustls"] [dependencies.axum-sessions] version = "^0.5" optional = true [dependencies.bitflags] version = "^2.4" features = ["serde"] optional = true [dependencies.chrono] version = "^0.4" features = [ "clock", "serde", ] optional = true [dependencies.console] version = "^0.15" [dependencies.html-escape] version = "^0.2" [dependencies.hyper] version = "^0.14" [dependencies.lazy_static] version = "^1.4" [dependencies.lexa-database] version = "^0.1" [dependencies.lexa-env] version = "^0.1" [dependencies.lexa-framework-macro] version = "^0.2" [dependencies.lexa-fs] version = "^0.1" [dependencies.lexa-logger] version = "^0.1" features = ["serde"] [dependencies.lexa-wildcard-matching] version = "^0.1" [dependencies.log] version = "^0.4" [dependencies.mime] version = "^0.3" [dependencies.rust-argon2] version = "^1.0" optional = true [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.sqlb] version = "^0.3" features = ["chrono-support"] optional = true [dependencies.sqlx] version = "^0.7" features = ["chrono"] [dependencies.thiserror] version = "^1.0" [dependencies.time] version = "^0.3" features = ["serde"] optional = true [dependencies.tokio] version = "^1.32" features = [ "macros", "rt-multi-thread", ] [dependencies.tower-cookies] version = "^0.9" features = [ "private", "signed", ] optional = true [dependencies.tower-http] version = "^0.4" features = ["fs"] [dependencies.tower-layer] version = "^0.3" [dependencies.tower-service] version = "^0.3" [dependencies.ulid] version = "^1.0" features = ["serde"] optional = true [dependencies.url] version = "^2.4" features = ["serde"] [dependencies.uuid] version = "^1.4" features = [ "serde", "v4", ] optional = true [dev-dependencies.clap] version = "^4.4" features = ["derive"] [features] auth = [ "bitflags", "cookies", "database-postgres", "tower-http/auth", "time", ] cookies = [ "axum-sessions", "tower-cookies", ] cors = ["tower-http/cors"] database = [] database-postgres = [ "database", "lexa-database/postgres-sgbd", "sqlb", "sqlx/postgres", ] encryption-argon2 = ["rust-argon2"] time = [ "dep:time", "chrono", ] ulid = ["dep:ulid"] uuid = ["dep:uuid"]