[package]
edition = "2024"
rust-version = "1.85"
name = "hyperfile"
version = "0.10.4"
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 = "functional_compaction"
path = "tests/functional_compaction.rs"
[[test]]
name = "functional_dirty_memory"
path = "tests/functional_dirty_memory.rs"
[[test]]
name = "functional_memory_staging"
path = "tests/functional_memory_staging.rs"
[[test]]
name = "functional_recovery"
path = "tests/functional_recovery.rs"
[[test]]
name = "functional_split_checkpoint"
path = "tests/functional_split_checkpoint.rs"
[[test]]
name = "functional_write_ref"
path = "tests/functional_write_ref.rs"
[[test]]
name = "integration_reactor_s3_all_features"
path = "tests/integration_reactor_s3_all_features.rs"
[[test]]
name = "integration_reactor_s3_block_api"
path = "tests/integration_reactor_s3_block_api.rs"
[[test]]
name = "integration_reactor_s3_contention"
path = "tests/integration_reactor_s3_contention.rs"
[[test]]
name = "integration_reactor_s3_failure"
path = "tests/integration_reactor_s3_failure.rs"
[[test]]
name = "integration_reactor_s3_placement"
path = "tests/integration_reactor_s3_placement.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_bad_input"
path = "tests/integration_s3_bad_input.rs"
[[test]]
name = "integration_s3_block_api"
path = "tests/integration_s3_block_api.rs"
[[test]]
name = "integration_s3_compaction"
path = "tests/integration_s3_compaction.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_error_kinds"
path = "tests/integration_s3_error_kinds.rs"
[[test]]
name = "integration_s3_large_checkpoint"
path = "tests/integration_s3_large_checkpoint.rs"
[[test]]
name = "integration_s3_local_disk_cache"
path = "tests/integration_s3_local_disk_cache.rs"
[[test]]
name = "integration_s3_multipart"
path = "tests/integration_s3_multipart.rs"
[[test]]
name = "integration_s3_node_reload"
path = "tests/integration_s3_node_reload.rs"
[[test]]
name = "integration_s3_open_cno"
path = "tests/integration_s3_open_cno.rs"
[[test]]
name = "integration_s3_parted_segment"
path = "tests/integration_s3_parted_segment.rs"
[[test]]
name = "integration_s3_partial_delete"
path = "tests/integration_s3_partial_delete.rs"
[[test]]
name = "integration_s3_read_timing"
path = "tests/integration_s3_read_timing.rs"
[[test]]
name = "integration_s3_rollback"
path = "tests/integration_s3_rollback.rs"
[[test]]
name = "integration_s3_segment_open"
path = "tests/integration_s3_segment_open.rs"
[[test]]
name = "integration_s3_smoke"
path = "tests/integration_s3_smoke.rs"
[[test]]
name = "integration_s3_taken_checkpoint"
path = "tests/integration_s3_taken_checkpoint.rs"
[[test]]
name = "integration_s3_write_failure"
path = "tests/integration_s3_write_failure.rs"
[[test]]
name = "public_error_kind"
path = "tests/public_error_kind.rs"
[[test]]
name = "replay_fsx_log"
path = "tests/replay_fsx_log.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.20.1"
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"