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 | readme = "README.md" |
10 | repository = "https://github.com/rust-lang/libm" |
11 | version = "0.2.8" |
12 | edition = "2018" |
13 | exclude = ["/ci/" , "/.github/workflows/" ] |
14 | |
15 | [features] |
16 | default = [] |
17 | |
18 | # This tells the compiler to assume that a Nightly toolchain is being used and |
19 | # that it should activate any useful Nightly things accordingly. |
20 | unstable = [] |
21 | |
22 | # Generate tests which are random inputs and the outputs are calculated with |
23 | # musl libc. |
24 | musl-reference-tests = ['rand' ] |
25 | |
26 | [workspace] |
27 | members = [ |
28 | "crates/compiler-builtins-smoke-test" , |
29 | "crates/libm-bench" , |
30 | ] |
31 | |
32 | [dev-dependencies] |
33 | no-panic = "0.1.8" |
34 | |
35 | [build-dependencies] |
36 | rand = { version = "0.6.5" , optional = true } |
37 | |
38 | # This is needed for no-panic to correctly detect the lack of panics |
39 | [profile.release] |
40 | lto = "fat" |
41 | |