# 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" rust-version = "1.70.0" name = "decorum" version = "0.4.0" authors = ["Sean Olson "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Total ordering, equivalence, hashing, and constraints for floating-point types." readme = "README.md" keywords = [ "finite", "float", "hash", "nan", "ordering", ] categories = [ "mathematics", "no-std", "rust-patterns", ] license = "MIT" repository = "https://github.com/olson-sean-k/decorum" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--html-in-header", "doc/katex-header.html", ] [lib] name = "decorum" path = "src/lib.rs" [dependencies.approx] version = "^0.5.0" features = [] optional = true default-features = false [dependencies.num-traits] version = "^0.2.0" features = [] default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serde_derive] version = "1.0" optional = true default-features = false [dependencies.thiserror] version = "^2.0.0" default-features = false [dev-dependencies.num] version = "^0.4.0" [dev-dependencies.serde_json] version = "1.0" [build-dependencies.rustversion] version = "^1.0.3" [features] default = [ "approx", "serde", "std", ] serde = [ "dep:serde", "dep:serde_derive", ] std = [ "approx/std", "num-traits/std", "serde/std", "thiserror/std", ] unstable = []