# 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"
name = "fafb-q"
version = "0.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A centralized queue server with TCP and HTTP interfaces"
readme = "README.md"
keywords = [
    "queue",
    "messaging",
    "server",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://bitbucket.org/thermsio/fafb-q"

[features]
cluster = []
default = []
test-support = []

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

[[bin]]
name = "fafb-q"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4"

[dependencies.colored]
version = "3"

[dependencies.fastrand]
version = "2"

[dependencies.futures]
version = "0.3"

[dependencies.libc]
version = "0.2.183"

[dependencies.lru]
version = "0.16.3"

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.16"

[dependencies.notify]
version = "7"
features = ["macos_kqueue"]
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-manual-roots",
]
default-features = false

[dependencies.ring]
version = "0.17"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.x509-parser]
version = "0.16"

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

[dev-dependencies.metrics-util]
version = "0.19"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"
features = ["pem"]

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-manual-roots",
]
default-features = false

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

[dev-dependencies.tokio-test]
version = "0.4"

[profile.release]
lto = true
codegen-units = 1
strip = true
