# 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.85.0" name = "deranged" version = "0.5.8" authors = ["Jacob Pratt "] build = false include = [ "src/**/*", "LICENSE-*", "README.md", ] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Ranged integers" readme = "README.md" keywords = [ "integer", "int", "range", ] license = "MIT OR Apache-2.0" repository = "https://github.com/jhpratt/deranged" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = [ "--generate-link-to-definition", "--generate-macro-expansion", ] [features] alloc = [] default = [] macros = ["dep:deranged-macros"] num = ["dep:num-traits"] powerfmt = ["dep:powerfmt"] quickcheck = [ "dep:quickcheck", "alloc", ] rand = [ "rand08", "rand09", "rand010", ] rand010 = ["dep:rand010"] rand08 = ["dep:rand08"] rand09 = ["dep:rand09"] serde = ["dep:serde_core"] [lib] name = "deranged" path = "src/lib.rs" [dependencies.deranged-macros] version = "=0.3.0" optional = true [dependencies.num-traits] version = "0.2.15" optional = true default-features = false [dependencies.powerfmt] version = "0.2.0" optional = true default-features = false [dependencies.quickcheck] version = "1.0.3" optional = true default-features = false [dependencies.rand010] version = "0.10.0" optional = true default-features = false package = "rand" [dependencies.rand08] version = "0.8.4" optional = true default-features = false package = "rand" [dependencies.rand09] version = "0.9.0" optional = true default-features = false package = "rand" [dependencies.serde_core] version = "1.0.220" optional = true default-features = false [dev-dependencies.rand010] version = "0.10.0" package = "rand" [dev-dependencies.rand08] version = "0.8.4" package = "rand" [dev-dependencies.rand09] version = "0.9.0" package = "rand" [dev-dependencies.serde_json] version = "1.0.86" [lints.clippy] alloc-instead-of-core = "deny" dbg-macro = "warn" decimal-literal-representation = "warn" explicit-auto-deref = "warn" get-unwrap = "warn" manual-let-else = "warn" missing-docs-in-private-items = "warn" missing-enforced-import-renames = "warn" obfuscated-if-else = "warn" option-if-let-else = "allow" print-stdout = "warn" redundant-pub-crate = "allow" semicolon-outside-block = "warn" std-instead-of-core = "deny" todo = "warn" undocumented-unsafe-blocks = "deny" unimplemented = "warn" uninlined-format-args = "warn" unnested-or-patterns = "warn" unwrap-in-result = "warn" unwrap-used = "warn" use-debug = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.rust] ambiguous-glob-reexports = "deny" clashing-extern-declarations = "deny" const-item-mutation = "deny" dangling-pointers-from-temporaries = "deny" deref-nullptr = "deny" drop-bounds = "deny" future-incompatible = "deny" hidden-glob-reexports = "deny" improper-ctypes = "deny" improper-ctypes-definitions = "deny" invalid-from-utf8 = "deny" invalid-macro-export-arguments = "deny" invalid-nan-comparisons = "deny" invalid-reference-casting = "deny" invalid-value = "deny" keyword-idents = "warn" let-underscore = "warn" macro-use-extern-crate = "warn" meta-variable-misuse = "warn" missing-abi = "warn" missing-copy-implementations = "warn" missing-debug-implementations = "warn" missing-docs = "warn" named-arguments-used-positionally = "deny" non-ascii-idents = "deny" noop-method-call = "warn" opaque-hidden-inferred-bound = "deny" overlapping-range-endpoints = "deny" single-use-lifetimes = "warn" suspicious-double-ref-op = "deny" trivial-casts = "warn" trivial-numeric-casts = "warn" unconditional-recursion = "deny" unnameable-test-items = "deny" unreachable-pub = "warn" unsafe-op-in-unsafe-fn = "deny" unstable-syntax-pre-expansion = "deny" unused-import-braces = "warn" unused-lifetimes = "warn" unused-qualifications = "warn" variant-size-differences = "warn" [lints.rust.path-statements] level = "allow" priority = 1 [lints.rust.unstable-name-collisions] level = "warn" priority = 1 [lints.rust.unused] level = "warn" priority = -1 [lints.rustdoc] private-doc-tests = "warn" unescaped-backticks = "warn"