# 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 = "float_to_int" version = "0.1.0" description = "Conversions of integer-value floats into integers" readme = "README.md" keywords = [ "float", "int", "integer", "conversion", "convert", ] categories = [ "algorithms", "encoding", "no-std", "rust-patterns", ] license = "MIT" repository = "https://github.com/Aandreba/float_to_int" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.cfg-if] version = "1.0.0" [dependencies.half] version = "2.1.0" features = ["num-traits"] optional = true default-features = false [dependencies.num-traits] version = "0.2.15" optional = true default-features = false [dev-dependencies.num-traits] version = "0.2.15" [dev-dependencies.rand] version = "0.8.5" [features] default = ["std"] half = [ "dep:half", "dep:num-traits", ] nightly = ["half?/use-intrinsics"] std = [ "half?/std", "num-traits?/std", ]