1[package]
2authors = ["Jorge Aparicio <jorge@japaric.io>"]
3categories = ["no-std"]
4description = "libm in pure Rust"
5documentation = "https://docs.rs/libm"
6keywords = ["libm", "math"]
7license = "MIT OR Apache-2.0"
8name = "libm"
9repository = "https://github.com/rust-lang/libm"
10version = "0.2.1"
11edition = "2018"
12
13[features]
14default = []
15
16# This tells the compiler to assume that a Nightly toolchain is being used and
17# that it should activate any useful Nightly things accordingly.
18unstable = []
19
20# Generate tests which are random inputs and the outputs are calculated with
21# musl libc.
22musl-reference-tests = ['rand']
23
24[workspace]
25members = [
26  "crates/compiler-builtins-smoke-test",
27  "crates/libm-bench",
28]
29
30[dev-dependencies]
31no-panic = "0.1.8"
32
33[build-dependencies]
34rand = { version = "0.6.5", optional = true }
35