[package]
edition = "2021"
rust-version = "1.95.0"
name = "rocketmq-model"
version = "1.0.0"
authors = ["mxsm <mxsm@apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime-neutral RocketMQ domain models"
homepage = "https://github.com/mxsm/rocketmq-rust"
readme = "README.md"
keywords = [
"apache-rocketmq",
"rocketmq-rust",
"rocketmq-rs",
"rust",
"rocketmq-client",
]
license = "Apache-2.0"
repository = "https://github.com/mxsm/rocketmq-rust"
[features]
default = []
simd = ["dep:simd-json"]
[lib]
name = "rocketmq_model"
path = "src/lib.rs"
[[test]]
name = "allocation_contracts"
path = "tests/allocation_contracts.rs"
[[test]]
name = "cheetah_string_contract"
path = "tests/cheetah_string_contract.rs"
[[test]]
name = "codec_hex_contracts"
path = "tests/codec_hex_contracts.rs"
[[test]]
name = "consistent_hash_contracts"
path = "tests/consistent_hash_contracts.rs"
[[test]]
name = "lite_subscription_contract"
path = "tests/lite_subscription_contract.rs"
[[test]]
name = "message_allocation_contract"
path = "tests/message_allocation_contract.rs"
[[test]]
name = "message_redaction"
path = "tests/message_redaction.rs"
[[test]]
name = "model_contracts"
path = "tests/model_contracts.rs"
[[test]]
name = "property_codec_contracts"
path = "tests/property_codec_contracts.rs"
[[test]]
name = "topic_config_text_contracts"
path = "tests/topic_config_text_contracts.rs"
[[test]]
name = "type_identity"
path = "tests/type_identity.rs"
[dependencies.base64]
version = "0.23.0"
[dependencies.byteorder]
version = "1.5.0"
[dependencies.bytes]
version = "1.11.1"
[dependencies.cheetah-string]
version = "3.1.0"
features = [
"serde",
"bytes",
"simd",
]
[dependencies.chrono]
version = "0.4.45"
[dependencies.crc]
version = "3.4.0"
[dependencies.dashmap]
version = "6.2.1"
[dependencies.flate2]
version = "1.1.9"
features = ["zlib"]
default-features = false
[dependencies.local-ip-address]
version = "0.6.13"
[dependencies.lz4_flex]
version = "0.14"
features = ["alloc"]
default-features = false
[dependencies.md-5]
version = "0.11"
[dependencies.rocketmq-error]
version = "1.0.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.simd-json]
version = "0.18.1"
optional = true
[dependencies.strum]
version = "0.28.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.23.3"
features = [
"v4",
"fast-rng",
"macro-diagnostics",
]
[dependencies.zstd]
version = "0.14"