# 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 = "asteroid-mq" version = "0.1.0-alpha.8" authors = [ "4t145 ", "RWDai ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An embeddable message queue system" homepage = "https://github.com/ideal-world/asteroid-mq" documentation = "https://docs.rs/spacegate/asteroid-mq" readme = false keywords = [ "message-queue", "async", "tokio", "openraft", ] categories = [ "network-programming", "asynchronous", ] license = "MIT/Apache-2.0" repository = "https://github.com/ideal-world/asteroid-mq" [lib] name = "asteroid_mq" path = "src/lib.rs" [[example]] name = "axum-server" path = "examples/axum_server.rs" [[test]] name = "test_basic_message" path = "tests/test_basic_message.rs" [[test]] name = "test_big_message" path = "tests/test_big_message.rs" [[test]] name = "test_durable_service" path = "tests/test_durable_service.rs" [[test]] name = "test_handler" path = "tests/test_handler.rs" [[test]] name = "test_raft" path = "tests/test_raft.rs" [dependencies.asteroid-mq-model] version = "0.1.0-alpha.8" [dependencies.base64] version = "0.22" [dependencies.bincode] version = "1" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.chrono] version = "0.4" [dependencies.ciborium] version = "0.2" optional = true [dependencies.flume] version = "0.11" [dependencies.futures-util] version = "0.3" features = ["sink"] [dependencies.k8s-openapi] version = "0.22.0" features = ["latest"] optional = true [dependencies.kube] version = "0.93.1" features = [ "runtime", "derive", ] optional = true [dependencies.machine-uid] version = "0.5.3" [dependencies.openraft] version = "=0.9.17" features = [ "serde", "storage-v2", ] [dependencies.pin-project-lite] version = "0.2" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sha2] version = "0.10" [dependencies.tokio] version = "1" features = [ "full", "tracing", ] [dependencies.tokio-util] version = "0.7.12" [dependencies.tracing] version = "0.1" [dependencies.tsuki-scheduler] version = "0.1" features = [ "tokio", "async-scheduler", ] [dev-dependencies.axum] version = "0.7" features = ["ws"] [dev-dependencies.console-subscriber] version = "0.4" [dev-dependencies.rand] version = "0" [dev-dependencies.serde_json] version = "1.0.120" [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] cbor = ["dep:ciborium"] cluster-k8s = [ "kube", "k8s-openapi", ]