Jeff Vander Stoep | fb178dc | 2020-12-04 13:55:39 +0100 | [diff] [blame] | 1 | [package] |
| 2 | authors = ["Jorge Aparicio <jorge@japaric.io>"] |
| 3 | categories = ["no-std"] |
| 4 | description = "libm in pure Rust" |
| 5 | documentation = "https://docs.rs/libm" |
| 6 | keywords = ["libm", "math"] |
| 7 | license = "MIT OR Apache-2.0" |
| 8 | name = "libm" |
| 9 | repository = "https://github.com/rust-lang/libm" |
| 10 | version = "0.2.1" |
| 11 | edition = "2018" |
| 12 | |
| 13 | [features] |
| 14 | default = [] |
| 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. |
| 18 | unstable = [] |
| 19 | |
| 20 | # Generate tests which are random inputs and the outputs are calculated with |
| 21 | # musl libc. |
| 22 | musl-reference-tests = ['rand'] |
| 23 | |
| 24 | [workspace] |
| 25 | members = [ |
| 26 | "crates/compiler-builtins-smoke-test", |
| 27 | "crates/libm-bench", |
| 28 | ] |
| 29 | |
| 30 | [dev-dependencies] |
| 31 | no-panic = "0.1.8" |
| 32 | |
| 33 | [build-dependencies] |
| 34 | rand = { version = "0.6.5", optional = true } |