rational_extensions

Extends num_rational::Ratio<T>.
git clone https://git.philomathiclife.com/repos/rational_extensions
Log | Files | Refs | README

Cargo.toml (1109B)


      1 [package]
      2 authors = ["Zack Newman <zack@philomathiclife.com>"]
      3 categories = ["algorithms", "science", "no-std"]
      4 description = "Extensions for rational numbers."
      5 documentation = "https://docs.rs/rational_extensions"
      6 edition = "2021"
      7 keywords = ["mathematics", "numerics"]
      8 license = "MIT OR Apache-2.0"
      9 name = "rational_extensions"
     10 readme = "README.md"
     11 repository = "https://git.philomathiclife.com/repos/rational_extensions/"
     12 version = "0.4.1"
     13 
     14 [lib]
     15 name = "rational_extensions"
     16 path = "src/lib.rs"
     17 
     18 [dependencies]
     19 num-integer = { version = "0.1.45", default-features = false }
     20 num-rational = { version = "0.4.1", default-features = false }
     21 num-traits = { version = "0.2.16", default-features = false }
     22 serde = { version = "1.0.188", default-features = false, optional = true }
     23 
     24 [build-dependencies]
     25 rustc_version = "0.4.0"
     26 
     27 [dev-dependencies]
     28 serde_json = { version = "1.0.106", default-features = false, features = ["alloc"] }
     29 
     30 [features]
     31 rational = ["dep:serde"]
     32 
     33 [package.metadata.docs.rs]
     34 all-features = true
     35 rustdoc-args = ["--cfg", "docsrs"]
     36 
     37 [badges]
     38 maintenance = { status = "passively-maintained" }