# 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 = "consumable" version = "0.1.0" authors = ["Mewily"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Consume the value by replacing it with the default value and returning the previous value" readme = "README.md" keywords = [ "take", "consume", "consumable", "default", ] categories = ["rust-patterns"] license = "MIT OR Apache-2.0" repository = "https://github.com/Thomas-Mewily/consumable" [lib] name = "consumable" path = "src/lib.rs" [dependencies]