-
Notifications
You must be signed in to change notification settings - Fork 208
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (60 loc) · 1.55 KB
/
Cargo.toml
File metadata and controls
69 lines (60 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "bitkit"
version = "3.2.3"
edition = "2021"
rust-version = "1.74"
authors = ["Keon Kim <kwk236@gmail.com>"]
description = "High-performance, width-aware bit manipulation around a single Bits<T> newtype."
license = "MIT"
repository = "https://github.com/keon/bitkit"
documentation = "https://docs.rs/bitkit"
homepage = "https://github.com/keon/bitkit"
readme = "README.md"
keywords = ["bits", "bitwise", "bit-manipulation", "morton", "no-std"]
categories = ["no-std", "embedded", "data-structures", "algorithms"]
exclude = [
"/.omc/",
"/.git/",
"/target/",
"/Cargo.lock",
"/benches/criterion/",
"/.github/",
]
[lib]
name = "bitkit"
path = "src/lib.rs"
[features]
default = ["std"]
std = ["alloc"]
alloc = []
explain = []
# Runtime CPU detection for hardware-accelerated gather/scatter (PEXT/PDEP).
# Requires std. Off by default; enable when distributing pre-built binaries
# that should pick the BMI2 path at startup on capable hosts.
runtime-detect = ["std"]
[dev-dependencies]
proptest = "1"
criterion = { version = "0.5", default-features = false }
bitintr = "0.3"
bitvec = "1"
morton-encoding = "2"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[bench]]
name = "gather_scatter"
harness = false
[[bench]]
name = "primitives"
harness = false
[[bench]]
name = "workloads"
harness = false
[package.metadata.docs.rs]
# Build docs with everything turned on so feature-gated items render.
all-features = true
# Show which items are feature-gated.
rustdoc-args = ["--cfg", "docsrs"]