libm/Cargo.toml

41 lines
956 B
TOML
Raw Normal View History

2018-07-12 00:44:28 -05:00
[package]
2018-07-13 19:38:51 -05:00
authors = ["Jorge Aparicio <jorge@japaric.io>"]
categories = ["no-std"]
description = "libm in pure Rust"
documentation = "https://docs.rs/libm"
keywords = ["libm", "math"]
license = "MIT OR Apache-2.0"
2018-07-12 00:44:28 -05:00
name = "libm"
readme = "README.md"
2019-09-25 11:20:49 -07:00
repository = "https://github.com/rust-lang/libm"
version = "0.2.7"
edition = "2018"
exclude = ["/ci/"]
2018-07-12 00:44:28 -05:00
[features]
default = []
# This tells the compiler to assume that a Nightly toolchain is being used and
# that it should activate any useful Nightly things accordingly.
unstable = []
# Generate tests which are random inputs and the outputs are calculated with
# musl libc.
musl-reference-tests = ['rand']
2018-07-12 00:44:28 -05:00
[workspace]
members = [
2019-05-02 08:12:00 -07:00
"crates/compiler-builtins-smoke-test",
2019-07-02 08:22:03 +02:00
"crates/libm-bench",
]
[dev-dependencies]
no-panic = "0.1.8"
[build-dependencies]
rand = { version = "0.6.5", optional = true }
2022-01-03 21:32:08 +01:00
# This is needed for no-panic to correctly detect the lack of panics
[profile.release]
lto = "fat"