[package]
edition = "2024"
name = "binar"
version = "0.1.1"
authors = ["Microsoft Corporation"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance binary arithmetic."
homepage = "https://github.com/microsoft/qdk-ec"
documentation = "https://docs.rs/binar"
readme = "README.md"
keywords = [
"bitvector",
"bitmatrix",
"binary",
"linear-algebra",
]
categories = [
"science",
"algorithms",
]
license = "MIT"
repository = "https://github.com/microsoft/qdk-ec"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
python = ["dep:pyo3"]
[lib]
name = "binar"
path = "src/lib.rs"
[[test]]
name = "affine_map_test"
path = "tests/affine_map_test.rs"
[[test]]
name = "bit_test"
path = "tests/bit_test.rs"
[[test]]
name = "bitblock_test"
path = "tests/bitblock_test.rs"
[[test]]
name = "bitmatrix_test"
path = "tests/bitmatrix_test.rs"
[[test]]
name = "bitvec_test"
path = "tests/bitvec_test.rs"
[[test]]
name = "uint_array_test"
path = "tests/uint_array_test.rs"
[[bench]]
name = "bitmatrix_benchmark"
path = "benches/bitmatrix_benchmark.rs"
harness = false
[dependencies.derive_more]
version = "2.0.1"
features = [
"deref",
"deref_mut",
"from",
"into",
]
[dependencies.pyo3]
version = "0.27.1"
optional = true
[dependencies.rand]
version = "0.8"
[dependencies.sorted-iter]
version = "0.1"
[dependencies.sorted-vec]
version = "0.8"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.0"