# 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 = "lightspeed_core" version = "0.60.0" authors = ["Francesco Cina "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "LightSpeed" homepage = "https://github.com/LightHero/lightspeed" readme = "README.md" keywords = [] license = "MIT" repository = "https://github.com/LightHero/lightspeed" [lib] name = "lightspeed_core" path = "src/lib.rs" [[test]] name = "spike_ioc" path = "tests/spike_ioc.rs" [[test]] name = "spike_ioc_typemap" path = "tests/spike_ioc_typemap.rs" [dependencies.axum] version = "0.7.4" optional = true [dependencies.c3p0] version = "0.71" features = ["sqlx_postgres"] [dependencies.chrono] version = "0.4" features = ["clock"] default-features = false [dependencies.http] version = "1" [dependencies.jsonwebtoken] version = "9.0" [dependencies.log] version = "0.4" [dependencies.poem] version = "3" optional = true [dependencies.poem-openapi] version = "5" optional = true [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1" [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.uuid] version = "1" features = ["v4"] [dependencies.validator] version = "0.19" default-features = false [dev-dependencies.config] version = "0.14" [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.lightspeed_logger] version = "0.60.0" [dev-dependencies.poem] version = "3" features = ["test"] [dev-dependencies.poem-openapi] version = "5" features = ["swagger-ui"] [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", "sync", ] default-features = false [dev-dependencies.tower] version = "0.5" default-features = false [features] axum = ["dep:axum"] default = [] poem = ["dep:poem"] poem_openapi = [ "poem", "dep:poem-openapi", ]