# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "const-frac" version = "0.0.4" exclude = ["doc/*", ".*"] description = "Types for supporting floating point constants." homepage = "https://gitlab.com/fton/const-frac" keywords = ["util-lib", "hobby"] categories = ["no-std"] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/fton/const-frac" [package.metadata.docs.rs] features = ["ratio", "tokenize", "std"] [dependencies.combine] version = "4" default-features = false [dependencies.gcd] version = "2" [dependencies.num-bigint] version = "0.4" optional = true default-features = false [dependencies.num-integer] version = "0.1" optional = true default-features = false [dependencies.num-rational] version = "0.4" features = ["num-bigint"] optional = true default-features = false [dependencies.num-traits] version = "0.2" features = ["libm"] optional = true default-features = false [dependencies.proc-macro2] version = "1" optional = true [dependencies.quote] version = "1" optional = true [dependencies.syn] version = "1" features = ["full", "extra-traits"] optional = true [dev-dependencies.num] version = "0.4" [features] ratio = ["num-rational", "num-traits", "num-integer", "num-bigint"] std = [] tokenize = ["std", "syn", "quote", "proc-macro2"]