# 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 = "apalis-sql" version = "0.6.0-rc.8" authors = ["Njuguna Mureithi "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "SQL Storage for apalis. Use sqlite, postgres and mysql for background job processing" readme = "README.md" license = "MIT" repository = "https://github.com/geofmureithi/apalis" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "apalis_sql" path = "src/lib.rs" [dependencies.apalis-core] version = "0.6.0-rc.8" features = [ "sleep", "json", ] default-features = false [dependencies.async-std] version = "1.13.0" optional = true [dependencies.async-stream] version = "0.3.5" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.futures] version = "0.3.30" [dependencies.futures-lite] version = "2.3.0" [dependencies.log] version = "0.4.21" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sqlx] version = "0.8.1" features = ["chrono"] default-features = false [dependencies.tokio] version = "1" features = [ "rt", "net", ] optional = true [dev-dependencies.once_cell] version = "1.19.0" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [features] async-std-comp = [ "async-std", "sqlx/runtime-async-std-rustls", ] default = ["migrate"] migrate = [ "sqlx/migrate", "sqlx/macros", ] mysql = [ "sqlx/mysql", "sqlx/json", "sqlx/bigdecimal", ] postgres = [ "sqlx/postgres", "sqlx/json", ] sqlite = [ "sqlx/sqlite", "sqlx/json", ] tokio-comp = [ "tokio", "sqlx/runtime-tokio-rustls", ]