-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (27 loc) · 971 Bytes
/
Cargo.toml
File metadata and controls
33 lines (27 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[workspace]
members = ["no-std"]
package.edition = "2024"
package.version = "1.0.1"
package.license = "0BSD"
package.repository = "https://github.com/SludgePhD/Ballpark"
package.rust-version = "1.85.0" # (keep this in sync with `ci.yaml`)
[package]
name = "ballpark"
description = "Approximate comparisons for floating-point numbers"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
categories = ["mathematics", "no-std::no-alloc", "algorithms"]
keywords = ["ulp", "ulps", "approx", "equality"]
[features]
default = ["std"]
# When enabled, implements `ApproxEq` for some types in libstd.
std = ["alloc"]
# When enabled, implements `ApproxEq` for many data structures in liballoc.
alloc = []
# UNSTABLE: Support for Rust's `f16` half float type. Requires a nightly compiler.
f16 = []
# UNSTABLE: Support for Rust's `f128` quad precision type. Requires a nightly compiler.
f128 = []