# 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"
name = "normfs"
version = "0.1.0-beta.0"
authors = ["Norma Core Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance persistent queue storage with tiered memory/disk/cloud lifecycle management"
homepage = "https://normacore.dev"
readme = "README.md"
license = "MIT"
repository = "https://github.com/norma-core/normfs"

[features]
default = []
server-bin = [
    "clap",
    "env_logger",
]
websocket = [
    "fastwebsockets",
    "hyper",
    "hyper-util",
    "http-body-util",
]

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

[[bin]]
name = "normfs-server"
path = "src/bin/normfs-server.rs"
required-features = ["server-bin"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1.11"

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

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.fastwebsockets]
version = "0.10.0"
features = ["upgrade"]
optional = true

[dependencies.globset]
version = "0.4"

[dependencies.http-body-util]
version = "0.1"
optional = true

[dependencies.hyper]
version = "1.7.0"
features = [
    "http1",
    "server",
]
optional = true

[dependencies.hyper-util]
version = "0.1.6"
features = ["full"]
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4.28"

[dependencies.normfs-cloud]
version = "0.1.0-beta.0"

[dependencies.normfs-crypto]
version = "0.1.0-beta.0"

[dependencies.normfs-store]
version = "0.1.0-beta.0"

[dependencies.normfs-types]
version = "0.1.0-beta.0"

[dependencies.normfs-wal]
version = "0.1.0-beta.0"

[dependencies.prost]
version = "0.12"

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

[dependencies.uintn]
version = "0.1.0-beta.0"

[dependencies.url]
version = "2.5"

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

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.fastrand]
version = "2.0"

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

[build-dependencies.prost-build]
version = "0.12"
