# 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.89"
name = "nexus-core"
version = "0.0.1-alpha"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core storage engine, WAL, topology, and data-path primitives for Nexus."
homepage = "https://sparkaiur.github.io/nexus"
documentation = "https://docs.rs/nexus-core"
readme = "README.md"
keywords = [
    "object-storage",
    "s3",
    "storage",
    "wal",
    "compression",
]
categories = [
    "database-implementations",
    "filesystem",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/SparkAIUR/nexus"

[features]
default = []
dev-mode = []
phase3 = []

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

[[bin]]
name = "tracer-bullet"
path = "bin/tracer-bullet.rs"

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

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

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

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

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

[dependencies.aligned-vec]
version = "0.6.4"

[dependencies.anyhow]
version = "1.0.102"

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

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

[dependencies.bytes]
version = "1.10.1"

[dependencies.clap]
version = "4.5.60"
features = ["derive"]

[dependencies.core_affinity]
version = "0.8.3"

[dependencies.crc32c]
version = "0.6.8"

[dependencies.crossbeam-skiplist]
version = "0.1.3"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.flatbuffers]
version = "25.12.19"

[dependencies.fst]
version = "0.4.7"

[dependencies.futures]
version = "0.3.31"

[dependencies.hyper-util]
version = "0.1.17"
features = [
    "server-auto",
    "tokio",
    "http1",
    "http2",
]

[dependencies.memmap2]
version = "0.9.10"

[dependencies.nix]
version = "0.31.1"
features = [
    "fs",
    "mman",
    "process",
    "socket",
    "uio",
]

[dependencies.raw-cpuid]
version = "11.6.0"

[dependencies.ring]
version = "0.17.14"

[dependencies.s3s]
version = "0.13.0-alpha.3"

[dependencies.socket2]
version = "0.6.1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "io-util",
    "net",
    "rt",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.41"

[dependencies.trie-rs]
version = "0.4.2"

[dependencies.zstd]
version = "0.13.3"

[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.18.0"

[target.'cfg(target_os = "linux")'.dependencies.tokio-uring]
version = "0.5.0"
