Added use of `f128` internally (default feature gated.) Fortune for units's current commit: Small blessing − 小吉master
parent
91276ef928
commit
5cde9e6885
@ -1,11 +1,25 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "units"
|
name = "units"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["Avril <flanchan@cumallover.me>"]
|
authors = ["Avril <flanchan@cumallover.me>"]
|
||||||
edition = "2018"
|
edition = "2024"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 3
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
# TODO: Do we want to strip symbols if we plan to support loading plugins that can register units?
|
||||||
|
strip = true
|
||||||
|
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default=["f128-math"]
|
||||||
|
|
||||||
|
# Use 128-bit floating-point math internally where possible.
|
||||||
|
f128-math = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
smallmap = "1.3.0"
|
smallmap = "1.3.0"
|
||||||
|
Loading…
Reference in new issue