rustfs-audit 1.0.0

Audit target management system for RustFS, providing multi-target fan-out and hot reload capabilities.
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 = "2024"
rust-version = "1.98.1"
name = "rustfs-audit"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audit target management system for RustFS, providing multi-target fan-out and hot reload capabilities."
homepage = "https://rustfs.com"
documentation = "https://docs.rs/rustfs-audit/latest/rustfs_audit/"
readme = "README.md"
keywords = [
    "audit",
    "target",
    "management",
    "fan-out",
    "RustFS",
]
categories = [
    "web-programming",
    "development-tools",
    "asynchronous",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/rustfs/rustfs"

[features]
default = []
hotpath = [
    "hotpath/hotpath",
    "hotpath/tokio",
    "hotpath/futures",
    "rustfs-config/hotpath",
    "rustfs-s3-types/hotpath",
    "rustfs-targets/hotpath",
]
hotpath-alloc = [
    "hotpath",
    "hotpath/hotpath-alloc",
    "rustfs-config/hotpath-alloc",
    "rustfs-s3-types/hotpath-alloc",
    "rustfs-targets/hotpath-alloc",
]
hotpath-cpu = [
    "hotpath",
    "hotpath/hotpath-cpu",
    "rustfs-config/hotpath-cpu",
    "rustfs-s3-types/hotpath-cpu",
    "rustfs-targets/hotpath-cpu",
]

[lib]
name = "rustfs_audit"
path = "src/lib.rs"
doctest = false

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

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

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

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

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

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

[dependencies.const-str]
version = "1.1.0"
features = [
    "std",
    "proc",
]

[dependencies.futures]
version = "0.3.34"

[dependencies.hashbrown]
version = "0.17.1"
features = [
    "serde",
    "rayon",
]

[dependencies.hotpath]
version = "0.25.1"
default-features = false

[dependencies.jiff]
version = "0.2.37"
features = ["serde"]

[dependencies.metrics]
version = "0.24.6"

[dependencies.rustfs-config]
version = "1.0.0"
features = [
    "audit",
    "server-config-model",
]

[dependencies.rustfs-s3-types]
version = "1.0.0"

[dependencies.rustfs-targets]
version = "1.0.0"

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

[dependencies.serde_json]
version = "1.0.151"
features = ["raw_value"]

[dependencies.thiserror]
version = "2.0.20"

[dependencies.tokio]
version = "1.53.1"
features = [
    "sync",
    "fs",
    "rt-multi-thread",
    "time",
    "macros",
]

[dependencies.tracing]
version = "0.1.44"
features = [
    "std",
    "attributes",
]

[dev-dependencies.rustfs-targets]
version = "1.0.0"
features = ["test-support"]

[dev-dependencies.temp-env]
version = "0.3.6"

[dev-dependencies.url]
version = "2.5.8"

[lints.clippy]
all = "warn"
needless_collect = "warn"
redundant_clone = "warn"

[lints.rust]
unsafe_code = "deny"