* no_std support * Use integer log2 when possible to estimate allocations * Remove std features from a few dependencies * Use libm for missing funcs in nostd environment * Use autocfg to detect presence of i128 * Better CI test for nostd environment * Move benchmark to a separate crate * Make the tests pass in no_std builds * Use thumbv7m target for nostd build test * Add documentation about the no-std compatibility * Make zeroize and prime features no_std-compatible * Test each feature in nostd context * Fix mac test to work in no_std environment * Avoid using thread_rng in nostd tests * Fix prime tests in nostd mode * Fix all warnings and errors * Only test nostd builds on nightly on travis * Travis: Only do nostd builds on nightly
19 lines
339 B
TOML
19 lines
339 B
TOML
[package]
|
|
name = "num-bigint-dig-benchmark"
|
|
version = "0.0.0"
|
|
autobenches = false
|
|
publish = false
|
|
|
|
[[bench]]
|
|
harness = false
|
|
name = "bench_main"
|
|
|
|
[dependencies]
|
|
num-bigint-dig = { path = "../", features = ["prime", "rand"] }
|
|
num-integer = "0.1.39"
|
|
num-traits = "0.2.4"
|
|
rand = "0.6"
|
|
rand_chacha = "0.1"
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.2" |