# 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 = "spring-sqlx" version = "0.2.3" authors = ["holmofy"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Integration of spring-rs framework and sqlx" readme = "README.md" license = "MIT" repository = "https://github.com/spring-rs/spring-rs" [lib] name = "spring_sqlx" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.bigdecimal] version = "0.3" optional = true default-features = false [dependencies.chrono] version = "0.4.30" optional = true default-features = false [dependencies.rust_decimal] version = "1" optional = true default-features = false [dependencies.schemars] version = "0.8.21" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" optional = true [dependencies.spring] version = "0.2.2" [dependencies.sqlx] version = "0.8" optional = true [dependencies.time] version = "0.3.36" optional = true default-features = false [dependencies.tracing] version = "0.1.40" features = ["log"] [dependencies.uuid] version = "1" optional = true default-features = false [dev-dependencies] [features] default = [ "runtime-tokio-native-tls", "sqlx/default", ] mysql = ["sqlx/mysql"] postgres = ["sqlx/postgres"] runtime-tokio = ["sqlx?/runtime-tokio"] runtime-tokio-native-tls = [ "sqlx?/runtime-tokio-native-tls", "runtime-tokio", ] runtime-tokio-rustls = [ "sqlx?/runtime-tokio-rustls", "runtime-tokio", ] sqlite = ["sqlx/sqlite"] with-bigdecimal = [ "bigdecimal", "sqlx?/bigdecimal", ] with-chrono = [ "chrono", "sqlx?/chrono", ] with-json = [ "serde_json", "sqlx?/json", "chrono?/serde", "time?/serde", "uuid?/serde", ] with-rust_decimal = [ "rust_decimal", "sqlx?/rust_decimal", ] with-time = [ "time", "sqlx?/time", ] with-uuid = [ "uuid", "sqlx?/uuid", ]