calc_rational

CLI calculator for rational numbers.
git clone https://git.philomathiclife.com/repos/calc_rational
Log | Files | Refs | README

commit a7cd8f388f7b14d31558ec847fa65e0d0f8c5886
parent 9f2014bfe7dfa3b4d6d500e04c9ca5a52b0d6d21
Author: Zack Newman <zack@philomathiclife.com>
Date:   Wed,  8 Nov 2023 15:51:04 -0700

update priv_sep dep. remove priv_sep dep on non-openbsd

Diffstat:
MCargo.toml | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0" name = "calc_rational" readme = "README.md" repository = "https://git.philomathiclife.com/repos/calc_rational/" -version = "0.9.0" +version = "0.9.1" [lib] name = "calc_lib" @@ -24,9 +24,11 @@ num-bigint = { version = "0.4.4", default-features = false } num-integer = { version = "0.1.45", default-features = false } num-rational = { version = "0.4.1", default-features = false, features = ["num-bigint"] } num-traits = { version = "0.2.17", default-features = false } -priv_sep = { version = "0.8.0", default-features = false, features = ["openbsd"], optional = true } rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"], optional = true } +[target.'cfg(target_os = "openbsd")'.dependencies] +priv_sep = { version = "0.8.1", default-features = false, features = ["openbsd"], optional = true } + [build-dependencies] rustc_version = "0.4.0" @@ -34,7 +36,7 @@ rustc_version = "0.4.0" priv_sep = ["dep:priv_sep"] rand = ["dep:rand", "std"] std = [] -default = ["std"] +default = ["priv_sep", "std"] [package.metadata.docs.rs] all-features = true