# 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 = "mountpoint-s3-fs"
version = "0.9.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Mountpoint S3 main library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/awslabs/mountpoint-s3"
resolver = "2"

[features]
block_size = []
event_log = []
fips_tests = []
fuse_tests = []
manifest = [
    "csv",
    "rusqlite",
]
mem_limiter = []
s3_tests = []
s3express_tests = []
second_account_tests = []
shuttle = []

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

[[example]]
name = "create_manifest"
path = "examples/create_manifest.rs"
required-features = ["manifest"]

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

[[example]]
name = "mount_from_config"
path = "examples/mount_from_config.rs"
required-features = [
    "manifest",
    "event_log",
]

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

[[example]]
name = "s3io_benchmark"
path = "examples/s3io_benchmark/main.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"
features = ["backtrace"]

[dependencies.async-channel]
version = "2.5.0"

[dependencies.async-lock]
version = "3.4.2"

[dependencies.async-stream]
version = "0.3.6"

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

[dependencies.base64ct]
version = "1.8.3"

[dependencies.bincode]
version = "2.0.1"
features = ["std"]

[dependencies.bitflags]
version = "2.11.0"

[dependencies.bytes]
version = "1.11.1"
features = ["serde"]

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

[dependencies.const_format]
version = "0.2.35"

[dependencies.crc32c]
version = "0.6.8"

[dependencies.csv]
version = "1.4.0"
optional = true

[dependencies.ctrlc]
version = "3.5.2"
features = ["termination"]

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3.32"

[dependencies.hdrhistogram]
version = "7.5.4"
default-features = false

[dependencies.hex]
version = "0.4.3"

[dependencies.humansize]
version = "2.1.3"

[dependencies.libc]
version = "0.2.182"

[dependencies.linked-hash-map]
version = "0.5.6"

[dependencies.metrics]
version = "0.24.3"

[dependencies.mountpoint-s3-client]
version = "0.19.8"

[dependencies.mountpoint-s3-fuser]
version = "0.1.1"
features = [
    "abi-7-28",
    "libfuse",
]

[dependencies.nix]
version = "0.31.2"
features = [
    "fs",
    "process",
    "signal",
    "user",
]
default-features = false

[dependencies.opentelemetry]
version = "0.31.0"
features = ["metrics"]

[dependencies.opentelemetry-otlp]
version = "0.31.0"
features = [
    "metrics",
    "http-proto",
]

[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = [
    "metrics",
    "rt-tokio",
    "spec_unstable_metrics_views",
]

[dependencies.rand]
version = "0.10.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.rusqlite]
version = "0.38.0"
features = [
    "bundled",
    "fallible_uint",
]
optional = true

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10.9"

[dependencies.signal-hook]
version = "0.4.3"

[dependencies.supports-color]
version = "3.0.2"

[dependencies.sysinfo]
version = "0.38.3"

[dependencies.syslog]
version = "7.0.0"

[dependencies.tempfile]
version = "3.26.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3.47"
features = [
    "macros",
    "formatting",
    "serde-well-known",
]

[dependencies.tracing]
version = "0.1.44"
features = ["log"]

[dependencies.tracing-log]
version = "0.2.0"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dev-dependencies.assert_cmd]
version = "2.1.2"

[dev-dependencies.assert_fs]
version = "1.1.3"

[dev-dependencies.aws-config]
version = "1.8.14"

[dev-dependencies.aws-credential-types]
version = "1.2.13"

[dev-dependencies.aws-sdk-s3]
version = "1.124.0"
features = [
    "behavior-version-latest",
    "sigv4a",
    "rt-tokio",
    "default-https-client",
]
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"
features = [
    "async",
    "async_futures",
]

[dev-dependencies.ctor]
version = "0.6.3"

[dev-dependencies.filetime]
version = "0.2.27"

[dev-dependencies.futures]
version = "0.3.32"
features = ["thread-pool"]

[dev-dependencies.humantime-serde]
version = "1.1.1"

[dev-dependencies.opentelemetry_sdk]
version = "0.31.0"
features = ["testing"]

[dev-dependencies.predicates]
version = "3.1.4"

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

[dev-dependencies.proptest-derive]
version = "0.8.0"

[dev-dependencies.rand_pcg]
version = "0.10.1"

[dev-dependencies.rusty-fork]
version = "0.3.1"

[dev-dependencies.serde_with]
version = "3.17.0"

[dev-dependencies.serial_test]
version = "3.4.0"

[dev-dependencies.sha2]
version = "0.10.9"

[dev-dependencies.shuttle]
version = "0.8.1"

[dev-dependencies.syscalls]
version = "0.8.1"
default-features = false

[dev-dependencies.test-case]
version = "3.3.1"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.toml]
version = "0.9.8"

[dev-dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.wiremock]
version = "0.6.5"

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