# 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" rust-version = "1.65" name = "taskline" version = "0.9.4" authors = ["Danil Akhtarov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple distributed task queue for Rust" readme = "README.md" keywords = [ "redis", "queue", "task", "async", "distributed", ] categories = [ "asynchronous", "web-programming", ] license = "MIT" repository = "https://github.com/daxartio/taskline" [package.metadata.docs.rs] all-features = true [lib] name = "taskline" path = "src/lib.rs" [[example]] name = "memory" path = "examples/memory.rs" required-features = ["tokio"] [[example]] name = "redis" path = "examples/redis.rs" required-features = [ "redis", "tokio", ] [[example]] name = "redis_json" path = "examples/redis_json.rs" required-features = [ "redis", "json", "tokio", ] [[example]] name = "redis_json_autodelete" path = "examples/redis_json_autodelete.rs" required-features = [ "redis", "json", "tokio", ] [[test]] name = "main" path = "tests/main.rs" [dependencies.async-trait] version = "0.1.81" [dependencies.redis] version = "0.27" features = [ "connection-manager", "tokio-comp", ] optional = true [dependencies.serde] version = "1.0.204" features = ["serde_derive"] optional = true [dependencies.serde_json] version = "1.0.120" optional = true [dependencies.tokio] version = "1.38" features = ["time"] optional = true [dev-dependencies.redis] version = "0.27" features = [ "connection-manager", "tokio-comp", ] [dev-dependencies.serde] version = "1.0.204" features = ["serde_derive"] [dev-dependencies.serde_json] version = "1.0.120" [dev-dependencies.tokio] version = "1.38" features = [ "time", "macros", "rt-multi-thread", ] [features] default = [] json = [ "dep:serde", "dep:serde_json", ] redis = ["dep:redis"] tokio = ["dep:tokio"]