rustfs-targets 1.0.0

Notification target abstraction and implementations for RustFS
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-targets"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Notification target abstraction and implementations for RustFS"
homepage = "https://rustfs.com"
documentation = "https://docs.rs/rustfs-targets/latest/rustfs_targets/"
readme = false
keywords = [
    "file-system",
    "notification",
    "target",
    "rustfs",
    "Minio",
]
categories = [
    "web-programming",
    "development-tools",
    "filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/rustfs/rustfs"

[features]
default = []
hotpath = [
    "hotpath/hotpath",
    "hotpath/tokio",
    "hotpath/futures",
    "hotpath/parking_lot",
    "hotpath/reqwest-0-13",
    "rustfs-config/hotpath",
    "rustfs-extension-schema/hotpath",
    "rustfs-s3-types/hotpath",
    "rustfs-tls-runtime/hotpath",
    "rustfs-utils/hotpath",
]
hotpath-alloc = [
    "hotpath",
    "hotpath/hotpath-alloc",
    "rustfs-config/hotpath-alloc",
    "rustfs-extension-schema/hotpath-alloc",
    "rustfs-s3-types/hotpath-alloc",
    "rustfs-tls-runtime/hotpath-alloc",
    "rustfs-utils/hotpath-alloc",
]
hotpath-cpu = [
    "hotpath",
    "hotpath/hotpath-cpu",
    "rustfs-config/hotpath-cpu",
    "rustfs-extension-schema/hotpath-cpu",
    "rustfs-s3-types/hotpath-cpu",
    "rustfs-tls-runtime/hotpath-cpu",
    "rustfs-utils/hotpath-cpu",
]
test-support = []

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

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

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

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

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

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

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

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

[dependencies.async-nats]
version = "0.50.0"
features = [
    "server_2_10",
    "server_2_11",
    "server_2_12",
    "server_2_14",
    "service",
    "aws-lc-rs",
    "nkeys",
    "object-store",
    "kv",
    "websockets",
    "nuid",
]
default-features = false

[dependencies.async-trait]
version = "0.1.92"

[dependencies.deadpool-postgres]
version = "0.14"

[dependencies.futures-util]
version = "0.3.34"

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

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

[dependencies.hyper]
version = "1.11.1"
features = [
    "http2",
    "http1",
    "server",
]

[dependencies.hyper-rustls]
version = "0.27.9"
features = [
    "native-tokio",
    "tls12",
    "logging",
    "aws-lc-rs",
]
default-features = false

[dependencies.jiff]
version = "0.2.37"

[dependencies.lapin]
version = "4.11.0"
features = [
    "tokio",
    "rustls",
    "rustls--aws_lc_rs",
]
default-features = false

[dependencies.libc]
version = "0.2.189"

[dependencies.metrics]
version = "0.24.6"

[dependencies.mysql_async]
version = "0.37.1"
features = [
    "default-rustls",
    "tracing",
]
default-features = false

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.pulsar]
version = "6.9.0"
features = [
    "tokio-rustls-runtime",
    "telemetry",
]
default-features = false

[dependencies.rayon]
version = "1.12.0"

[dependencies.redis]
version = "1.7.0"
features = [
    "connection-manager",
    "tokio-rustls-comp",
    "tls-rustls-insecure",
]

[dependencies.regex]
version = "1.13.1"

[dependencies.reqwest]
version = "0.13.5"

[dependencies.rumqttc]
version = "0.34.0"
features = ["websocket"]
package = "rumqttc-next"

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

[dependencies.rustfs-extension-schema]
version = "1.0.0"

[dependencies.rustfs-kafka-async]
version = "1.3.1"

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

[dependencies.rustfs-tls-runtime]
version = "1.0.0"

[dependencies.rustfs-utils]
version = "1.0.0"
features = ["egress"]

[dependencies.rustls]
version = "0.23.45"
features = [
    "aws-lc-rs",
    "logging",
    "tls12",
    "prefer-post-quantum",
    "std",
]
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.s3s]
version = "0.16.0"
features = [
    "minio",
    "minio",
]

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

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

[dependencies.sha2]
version = "0.11.0"

[dependencies.snap]
version = "1.1.2"

[dependencies.sysinfo]
version = "0.39.6"
features = ["multithread"]

[dependencies.thiserror]
version = "2.0.20"

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

[dependencies.tokio-postgres]
version = "0.7.18"
features = [
    "runtime",
    "with-serde_json-1",
]
default-features = false

[dependencies.tokio-postgres-rustls]
version = "0.14.0"

[dependencies.tokio-util]
version = "0.7.19"

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.26.1"
features = [
    "v4",
    "v7",
    "serde",
    "fast-rng",
    "macro-diagnostics",
]

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

[dev-dependencies.rcgen]
version = "0.14.10"
features = [
    "aws_lc_rs",
    "crypto",
    "pem",
]
default-features = false

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

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

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

[lints.rust]
unsafe_code = "deny"