[package]
edition = "2021"
rust-version = "1.74"
name = "bitkit"
version = "3.2.3"
authors = ["Keon Kim <kwk236@gmail.com>"]
build = false
exclude = [
"/.omc/",
"/.git/",
"/target/",
"/Cargo.lock",
"/benches/criterion/",
"/.github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, width-aware bit manipulation around a single Bits<T> newtype."
homepage = "https://github.com/keon/bitkit"
documentation = "https://docs.rs/bitkit"
readme = "README.md"
keywords = [
"bits",
"bitwise",
"bit-manipulation",
"morton",
"no-std",
]
categories = [
"no-std",
"embedded",
"data-structures",
"algorithms",
]
license = "MIT"
repository = "https://github.com/keon/bitkit"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
default = ["std"]
explain = []
runtime-detect = ["std"]
std = ["alloc"]
[lib]
name = "bitkit"
path = "src/lib.rs"
[[example]]
name = "bit_tricks"
path = "examples/bit_tricks.rs"
[[example]]
name = "bloom_filter"
path = "examples/bloom_filter.rs"
[[example]]
name = "chess_knight_moves"
path = "examples/chess_knight_moves.rs"
[[example]]
name = "gray_code"
path = "examples/gray_code.rs"
[[example]]
name = "hamming"
path = "examples/hamming.rs"
[[example]]
name = "ipv4_header"
path = "examples/ipv4_header.rs"
[[example]]
name = "morton_code"
path = "examples/morton_code.rs"
[[example]]
name = "morton_pdep"
path = "examples/morton_pdep.rs"
[[example]]
name = "permissions"
path = "examples/permissions.rs"
[[example]]
name = "rgb_pack"
path = "examples/rgb_pack.rs"
[[example]]
name = "subset_dp"
path = "examples/subset_dp.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[bench]]
name = "gather_scatter"
path = "benches/gather_scatter.rs"
harness = false
[[bench]]
name = "primitives"
path = "benches/primitives.rs"
harness = false
[[bench]]
name = "workloads"
path = "benches/workloads.rs"
harness = false
[dev-dependencies.bitintr]
version = "0.3"
[dev-dependencies.bitvec]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.morton-encoding]
version = "2"
[dev-dependencies.proptest]
version = "1"