# 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.75" name = "omniqueue" version = "0.2.0" authors = ["Svix Inc. "] description = "An abstraction layer over various queue backends" readme = "README.md" license = "MIT" repository = "https://github.com/svix/omniqueue-rs/" [dependencies.async-trait] version = "0.1" [dependencies.aws-config] version = "1.1.5" features = ["behavior-version-latest"] optional = true [dependencies.aws-sdk-sqs] version = "1.13.0" optional = true [dependencies.bb8] version = "0.8" optional = true [dependencies.bb8-redis] version = "0.14.0" optional = true [dependencies.futures-util] version = "0.3.28" features = [ "async-await", "std", ] optional = true default-features = false [dependencies.google-cloud-googleapis] version = "0.12.0" optional = true [dependencies.google-cloud-pubsub] version = "0.23.0" optional = true [dependencies.lapin] version = "2" optional = true [dependencies.redis] version = "0.24.0" features = [ "tokio-comp", "tokio-native-tls-comp", "streams", ] optional = true [dependencies.serde] version = "1.0.196" [dependencies.serde_json] version = "1" [dependencies.svix-ksuid] version = "0.8.0" optional = true [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.34" optional = true [dependencies.tokio] version = "1" features = [ "rt", "sync", "time", ] [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1.0.79" [dev-dependencies.fastrand] version = "2.0.1" [dev-dependencies.serde] version = "1.0.196" features = ["derive"] [dev-dependencies.tokio] version = "1" features = ["macros"] [dev-dependencies.tokio-executor-trait] version = "2.1" [dev-dependencies.tokio-reactor-trait] version = "1.1" [features] default = [ "in_memory", "gcp_pubsub", "rabbitmq", "redis", "redis_cluster", "sqs", ] gcp_pubsub = [ "dep:futures-util", "dep:google-cloud-googleapis", "dep:google-cloud-pubsub", ] in_memory = [] rabbitmq = [ "dep:futures-util", "dep:lapin", ] rabbitmq-with-message-ids = [ "rabbitmq", "dep:time", "dep:svix-ksuid", ] redis = [ "dep:bb8", "dep:bb8-redis", "dep:redis", "dep:svix-ksuid", ] redis_cluster = [ "redis", "redis/cluster-async", ] sqs = [ "dep:aws-config", "dep:aws-sdk-sqs", ]