[package]
edition = "2024"
name = "vec64"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rust vector type with automatic 64-byte SIMD alignment."
readme = "README.md"
license = "Apache-2.0"
[features]
giant_pages = ["mmap"]
global = []
mmap = ["thp"]
parallel_proc = ["rayon"]
thp = ["dep:libc"]
wasm = [
"wasm-bindgen",
"wasm-bindgen-rayon",
"rayon",
]
[lib]
name = "vec64"
path = "src/lib.rs"
[[test]]
name = "test_concurrent"
path = "tests/test_concurrent.rs"
[[test]]
name = "test_global_allocator"
path = "tests/test_global_allocator.rs"
[[bench]]
name = "alloc_growth"
path = "benches/alloc_growth.rs"
harness = false
required-features = ["mmap"]
[[bench]]
name = "hotloop_simd"
path = "benches/hotloop_simd.rs"
harness = false
[[bench]]
name = "hotloop_std"
path = "benches/hotloop_std.rs"
harness = false
[[bench]]
name = "jemalloc_comparison"
path = "benches/jemalloc_comparison.rs"
harness = false
required-features = ["mmap"]
[[bench]]
name = "jemalloc_concurrent"
path = "benches/jemalloc_concurrent.rs"
harness = false
required-features = ["mmap"]
[[bench]]
name = "mmap_pages"
path = "benches/mmap_pages.rs"
harness = false
required-features = ["mmap"]
[dependencies.libc]
version = "0.2"
optional = true
[dependencies.rayon]
version = "1.11.0"
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.wasm-bindgen-rayon]
version = "1.3"
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.tikv-jemallocator]
version = "0.6"