[package]
edition = "2024"
name = "agave-fs"
version = "4.2.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agave file system utils"
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/agave-fs"
readme = false
license = "Apache-2.0"
repository = "https://github.com/anza-xyz/agave"
resolver = "2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
[features]
agave-unstable-api = []
[lib]
name = "agave_fs"
crate-type = ["lib"]
path = "src/lib.rs"
[dependencies.libc]
version = "0.2.186"
[dependencies.log]
version = "0.4.32"
[dependencies.slab]
version = "0.4.12"
[dependencies.smallvec]
version = "1.15.2"
features = ["union"]
default-features = false
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.rand]
version = "0.9.4"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.test-case]
version = "3.3.1"
[target.'cfg(target_os = "linux")'.dependencies.agave-io-uring]
version = "=4.2.0"
features = ["agave-unstable-api"]
[target.'cfg(target_os = "linux")'.dependencies.io-uring]
version = "0.7.12"
features = ["io_safety"]
[target.'cfg(target_os = "linux")'.dependencies.tempfile]
version = "3.27.0"
[lints.clippy]
arithmetic_side_effects = "deny"
default_trait_access = "deny"
manual_let_else = "deny"
new_without_default = "allow"
uninlined_format_args = "deny"
used_underscore_binding = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
'cfg(target_arch, values("sbf"))',
]