[package] name = "specialized-div-rem" version = "1.1.0" authors = ["Aaron Kutch "] 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