[package]
edition = "2021"
rust-version = "1.95.0"
name = "rocketmq-runtime"
version = "1.0.0"
authors = ["mxsm <mxsm@apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Unofficial Rust implementation of Apache RocketMQ
"""
homepage = "https://github.com/mxsm/rocketmq-rust"
readme = "README.md"
keywords = [
"Runtime",
"async",
"tokio",
"futures",
]
categories = ["asynchronous"]
license = "Apache-2.0"
repository = "https://github.com/mxsm/rocketmq-rust"
[features]
default = []
[lib]
name = "rocketmq_runtime"
path = "src/lib.rs"
[[test]]
name = "arc_mut_replacement_loom"
path = "tests/arc_mut_replacement_loom.rs"
[[test]]
name = "blocking_ownership"
path = "tests/blocking_ownership.rs"
[[test]]
name = "blocking_scope_admission"
path = "tests/blocking_scope_admission.rs"
[[test]]
name = "critical_failure"
path = "tests/critical_failure.rs"
[[test]]
name = "isolated_executor_shutdown"
path = "tests/isolated_executor_shutdown.rs"
[[test]]
name = "metadata_io_actor"
path = "tests/metadata_io_actor.rs"
[[test]]
name = "operation_wait_policy"
path = "tests/operation_wait_policy.rs"
[[test]]
name = "resource_budget_loom"
path = "tests/resource_budget_loom.rs"
[[test]]
name = "resource_budget_tree"
path = "tests/resource_budget_tree.rs"
[[test]]
name = "runtime_diagnostics_bounds"
path = "tests/runtime_diagnostics_bounds.rs"
[[test]]
name = "runtime_migration_fixture"
path = "tests/runtime_migration_fixture.rs"
[[test]]
name = "runtime_model"
path = "tests/runtime_model.rs"
[[test]]
name = "runtime_resource_ownership"
path = "tests/runtime_resource_ownership.rs"
[[test]]
name = "runtime_scale"
path = "tests/runtime_scale.rs"
[[test]]
name = "service_context_scope_compile_fail"
path = "tests/service_context_scope_compile_fail.rs"
[[test]]
name = "task_completion"
path = "tests/task_completion.rs"
[[test]]
name = "task_group_shutdown_loom"
path = "tests/task_group_shutdown_loom.rs"
[[test]]
name = "task_group_shutdown_tree"
path = "tests/task_group_shutdown_tree.rs"
[[test]]
name = "task_submission_stack"
path = "tests/task_submission_stack.rs"
[[bench]]
name = "blocking_executor_bench"
path = "benches/blocking_executor_bench.rs"
harness = false
[[bench]]
name = "budgeted_queue_bench"
path = "benches/budgeted_queue_bench.rs"
harness = false
[[bench]]
name = "metadata_io_bench"
path = "benches/metadata_io_bench.rs"
harness = false
[[bench]]
name = "runtime_boundaries_bench"
path = "benches/runtime_boundaries_bench.rs"
harness = false
[[bench]]
name = "runtime_convergence_bench"
path = "benches/runtime_convergence_bench.rs"
harness = false
[[bench]]
name = "runtime_diagnostics_bench"
path = "benches/runtime_diagnostics_bench.rs"
harness = false
[[bench]]
name = "scheduled_task_group_bench"
path = "benches/scheduled_task_group_bench.rs"
harness = false
[[bench]]
name = "task_group_lifecycle_bench"
path = "benches/task_group_lifecycle_bench.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.config]
version = "0.15.23"
[dependencies.dashmap]
version = "6.2.1"
[dependencies.futures]
version = "0.3"
[dependencies.parking_lot]
version = "0.12"
[dependencies.rocketmq-error]
version = "1.0.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.13"
[dependencies.sysinfo]
version = "0.39.3"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52"
features = [
"fs",
"io-std",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
"io-util",
"macros",
"net",
"rt",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7.18"
features = [
"codec",
"compat",
"io-util",
"net",
"rt",
"time",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.loom]
version = "0.7.2"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.52"
features = [
"fs",
"io-std",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
"test-util",
]
[dev-dependencies.trybuild]
version = "1.0.116"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Storage_FileSystem",
"Win32_System_Memory",
"Win32_System_Threading",
]