-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (31 loc) · 1.17 KB
/
Cargo.toml
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
[package]
name = "specialized-div-rem"
version = "1.1.0"
authors = ["Aaron Kutch <aaronkutch@att.net>"]
edition = "2021"
description = "specialized division algorithms for integer primitives"
documentation = "https://docs.rs/specialized-div-rem"
readme = "README.md"
repository = "https://github.com/AaronKutch/specialized-div-rem"
license = "MIT OR Apache-2.0"
keywords = ["division", "int", "integer", "numerics", "math"]
categories = ["algorithms", "no-std"]
[features]
default = ["asm", "implement", "std"]
# assembly is so critical to the performance of some algorithms that it should be the default
asm = []
# Causes this crate to implement many functions and tests using the macros. Required for running
# tests or benches.
implement = []
# Forces using software normalization instead of using `leading_zeros` for the functions implemented
# when the "implement" flag is set.
no_lz = []
# this is needed for benchmarks and the `println!` in tests
std = []
[dev-dependencies]
# for random numbers in benchmarks
rand = "0.8"
[profile.test]
# We want to check that no debug assertions are broken. Testing with `opt-level = 0` optimization is
# completely impractical however.
opt-level = 2