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"
|
2019-05-02 11:37:21 -07:00
|
|
|
repository = "https://github.com/rust-lang-nursery/libm"
|
2019-06-12 18:46:01 +02:00
|
|
|
version = "0.1.4"
|
2019-05-02 10:48:55 -07:00
|
|
|
edition = "2018"
|
2018-07-12 00:44:28 -05:00
|
|
|
|
2018-07-25 13:16:10 -05:00
|
|
|
[features]
|
|
|
|
# only used to run our test suite
|
2018-10-24 00:18:30 +02:00
|
|
|
default = ['stable']
|
|
|
|
stable = []
|
2019-05-02 11:37:21 -07:00
|
|
|
|
|
|
|
# Generate tests which are random inputs and the outputs are calculated with
|
|
|
|
# musl libc.
|
2019-05-02 10:48:55 -07:00
|
|
|
musl-reference-tests = ['rand']
|
2018-07-25 13:16:10 -05:00
|
|
|
|
2019-05-02 11:37:21 -07:00
|
|
|
# Used checked array indexing instead of unchecked array indexing in this
|
|
|
|
# library.
|
|
|
|
checked = []
|
|
|
|
|
2018-07-12 00:44:28 -05:00
|
|
|
[workspace]
|
2018-07-27 00:11:06 -05:00
|
|
|
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",
|
2018-07-27 00:11:06 -05:00
|
|
|
]
|
|
|
|
|
2019-05-02 11:37:21 -07:00
|
|
|
[dev-dependencies]
|
|
|
|
no-panic = "0.1.8"
|
|
|
|
|
2019-05-02 10:48:55 -07:00
|
|
|
[build-dependencies]
|
|
|
|
rand = { version = "0.6.5", optional = true }
|