rocketmq-auth 1.0.0

Unofficial Rust implementation of Apache RocketMQ
Documentation
# 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.95.0"
name = "rocketmq-auth"
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 = [
    "apache-rocketmq",
    "rocketmq-rust",
    "rocketmq-rs",
    "rust",
    "rocketmq-client",
]
categories = [
    "asynchronous",
    "network-programming",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/mxsm/rocketmq-rust"

[features]
default = []
grpc = ["dep:tonic"]

[lib]
name = "rocketmq_auth"
path = "src/lib.rs"

[[example]]
name = "acl_authorization_handler_usage"
path = "examples/acl_authorization_handler_usage.rs"

[[example]]
name = "authentication_manager_usage"
path = "examples/authentication_manager_usage.rs"

[[example]]
name = "authentication_strategy_usage"
path = "examples/authentication_strategy_usage.rs"

[[example]]
name = "authorization_evaluator_usage"
path = "examples/authorization_evaluator_usage.rs"

[[example]]
name = "metadata_provider_example"
path = "examples/metadata_provider_example.rs"

[[test]]
name = "credential_rotation_contract"
path = "tests/credential_rotation_contract.rs"

[[test]]
name = "java_alignment"
path = "tests/java_alignment.rs"

[[test]]
name = "public_api_contract"
path = "tests/public_api_contract.rs"

[[test]]
name = "release_checkpoint_authorization"
path = "tests/release_checkpoint_authorization.rs"

[[test]]
name = "secret_provider_contract"
path = "tests/secret_provider_contract.rs"

[[test]]
name = "secure_bootstrap_contract"
path = "tests/secure_bootstrap_contract.rs"

[[test]]
name = "security_api_identity"
path = "tests/security_api_identity.rs"

[[bench]]
name = "auth_acl_watcher_lifecycle_bench"
path = "benches/auth_acl_watcher_lifecycle_bench.rs"
harness = false

[[bench]]
name = "auth_hot_path_bench"
path = "benches/auth_hot_path_bench.rs"
harness = false

[dependencies.aes-gcm]
version = "0.11.0"
features = ["zeroize"]

[dependencies.arc-swap]
version = "1.9"

[dependencies.base64]
version = "0.23.0"

[dependencies.cheetah-string]
version = "3.1.0"
features = [
    "serde",
    "bytes",
    "simd",
]

[dependencies.chrono]
version = "0.4.45"
features = ["std"]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.13.0"

[dependencies.ipnetwork]
version = "0.21.1"

[dependencies.md-5]
version = "0.11"

[dependencies.moka]
version = "0.12"
features = ["sync"]

[dependencies.rocketmq-error]
version = "1.0.0"

[dependencies.rocketmq-model]
version = "1.0.0"

[dependencies.rocketmq-observability]
version = "1.0.0"

[dependencies.rocketmq-protocol]
version = "1.0.0"

[dependencies.rocketmq-runtime]
version = "1.0.0"

[dependencies.rocketmq-security-api]
version = "1.0.0"

[dependencies.rocketmq-transport]
version = "1.0.0"
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha1]
version = "0.11"

[dependencies.sha2]
version = "0.11"

[dependencies.subtle]
version = "2.6"

[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",
]

[dependencies.tonic]
version = "0.14.6"
optional = true

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "time",
    "env-filter",
    "json",
    "registry",
    "tracing-log",
]