[package]
edition = "2024"
rust-version = "1.85"
name = "hyperfile"
version = "0.3.2"
authors = ["Dai Yiyang"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A file-like interface abstraction layer provides random read and write capabilities for S3"
homepage = "https://github.com/hyperfile/hyperfile"
readme = "README.md"
keywords = [
"file",
"object-storage",
"s3",
]
categories = [
"asynchronous",
"filesystem",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/hyperfile/hyperfile"
[features]
bench = ["dep:rand"]
blocking = ["btree-ondisk/rc"]
concurrent-segment-build = []
default = [
"reactor",
"meta_loader_batch",
]
meta_loader_batch = []
range-lock = ["dep:rangemap"]
reactor = [
"dep:hyperfile-reactor",
"btree-ondisk/arc",
"btree-ondisk/value-check",
"btree-ondisk/mt",
]
wal = []
[lib]
name = "hyperfile"
path = "src/lib.rs"
[[example]]
name = "aligned_batch"
path = "examples/aligned_batch.rs"
[[example]]
name = "bench_flush"
path = "examples/bench_flush.rs"
[[example]]
name = "bench_flush_mem"
path = "examples/bench_flush_mem.rs"
[[example]]
name = "bench_read"
path = "examples/bench_read.rs"
[[example]]
name = "fh_submit_batch"
path = "examples/fh_submit_batch.rs"
[[example]]
name = "hyper"
path = "examples/hyper.rs"
[[example]]
name = "settings"
path = "examples/settings.rs"
[[example]]
name = "submit_batch"
path = "examples/submit_batch.rs"
[[example]]
name = "tokio"
path = "examples/tokio.rs"
[[test]]
name = "integration_reactor_s3_all_features"
path = "tests/integration_reactor_s3_all_features.rs"
[[test]]
name = "integration_reactor_s3_failure"
path = "tests/integration_reactor_s3_failure.rs"
[[test]]
name = "integration_reactor_s3_range_lock"
path = "tests/integration_reactor_s3_range_lock.rs"
[[test]]
name = "integration_reactor_s3_smoke"
path = "tests/integration_reactor_s3_smoke.rs"
[[test]]
name = "integration_reactor_s3_wal"
path = "tests/integration_reactor_s3_wal.rs"
[[test]]
name = "integration_s3_concurrent"
path = "tests/integration_s3_concurrent.rs"
[[test]]
name = "integration_s3_contract"
path = "tests/integration_s3_contract.rs"
[[test]]
name = "integration_s3_rollback"
path = "tests/integration_s3_rollback.rs"
[[test]]
name = "integration_s3_smoke"
path = "tests/integration_s3_smoke.rs"
[dependencies.aws-config]
version = "1.5.17"
features = ["behavior-version-latest"]
[dependencies.aws-sdk-s3]
version = "1.77.0"
[dependencies.aws-smithy-types]
version = "1"
[dependencies.btree-ondisk]
version = "0.18.0"
features = ["tokio-runtime"]
default-features = false
[dependencies.bytes]
version = "1.10.0"
[dependencies.chrono]
version = "0.4.39"
[dependencies.env_logger]
version = "0.11.6"
[dependencies.foyer]
version = "0.19.2"
[dependencies.futures]
version = "0.3.31"
[dependencies.http]
version = "0.2"
[dependencies.http-body]
version = "0.4"
[dependencies.hyperfile-reactor]
version = "0.3.2"
optional = true
[dependencies.libc]
version = "0.2.170"
[dependencies.log]
version = "0.4.26"
[dependencies.lru]
version = "0.14.0"
[dependencies.rand]
version = "0.9.0"
optional = true
[dependencies.rangemap]
version = "1.5.1"
optional = true
[dependencies.serde]
version = "1.0.218"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.145"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.ulid]
version = "1.2.1"
[dev-dependencies.crc64fast]
version = "1.1.0"
[dev-dependencies.human_bytes]
version = "0.4.3"
[dev-dependencies.md5]
version = "0.7.0"
[dev-dependencies.rand]
version = "0.9.0"