Skip to content

Commit c4e7988

Browse files
committed
Integrate with bytemuck, and eliminate the need for feature-flag "generic_const_exprs"
1 parent 1e955f5 commit c4e7988

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+403
-499
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ exclude = ["plots"]
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[features]
15-
default = []#["use_std_float"]
15+
default = ["bytemuck"]
16+
bytemuck = ["dep:bytemuck"]
1617
use_std_float = []
1718

1819
[dependencies]
1920
moddef = "0.2.6"
2021
num-traits = "0.2.19"
22+
bytemuck = {version = "1.23.0", features = ["derive"], optional = true}
23+
serde = {version = "*", optional = true}
2124

2225
[dev-dependencies]
2326
num = "0.4.3"

README.md

Lines changed: 64 additions & 10 deletions

plots/bench/acos_bench.png

-23.1 KB

plots/bench/acosh_bench.png

1.46 KB

plots/bench/asin_bench.png

-108 KB

plots/bench/asinh_bench.png

42.8 KB

plots/bench/atan_bench.png

-12.3 KB

plots/bench/atanh_bench.png

-101 KB

plots/bench/cbrt_bench.png

-47.5 KB

plots/bench/ceil_bench.png

-20.9 KB

0 commit comments

Comments
 (0)