[package]
edition = "2024"
rust-version = "1.89"
name = "spillsort"
version = "0.1.1"
authors = ["Clint Valentine <valentine.clint@gmail.com>"]
build = false
include = [
"/src/**/*.rs",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/LICENSE",
"/NOTICE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sort more records than fit in memory: sorted runs spill to disk and merge as they are read"
documentation = "https://docs.rs/spillsort"
readme = "README.md"
keywords = [
"sort",
"external-sort",
"merge",
"spill",
"python",
]
categories = ["algorithms"]
license = "MIT"
repository = "https://github.com/clintval/spillsort"
[features]
default = []
python = ["dep:pyo3"]
[lib]
name = "spillsort"
path = "src/lib.rs"
[dependencies.lz4_flex]
version = "0.14"
features = [
"safe-decode",
"safe-encode",
"std",
]
default-features = false
[dependencies.pyo3]
version = "0.29"
features = ["abi3-py311"]
optional = true
[dependencies.rayon]
version = "1.11"
[dependencies.tempfile]
version = "3"
[dev-dependencies.proptest]
version = "1.11"
features = ["std"]
default-features = false
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
decimal_bitwise_operands = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
single_match_else = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
[profile.release]
lto = "thin"
codegen-units = 1