# 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 = "desaturate" version = "0.0.4" authors = ["Marcus Ofenhed"] description = "This package aims to makes it easier to maintain a single code base for both regular and async functions." keywords = ["experimental"] categories = [ "asynchronous", "no-std::no-alloc", "rust-patterns", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Ofenhed/desaturate" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "simple" required-features = [ "async", "blocking", "macros", "std", ] [dependencies.desaturate-macros] version = "0.0.3" optional = true default-features = false [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", "rt-multi-thread", ] [features] async = ["desaturate-macros?/generate-async"] blocking = ["desaturate-macros?/generate-blocking"] default = [ "macros", "async", "std", ] generate-async = ["async"] generate-blocking = ["blocking"] macros = ["dep:desaturate-macros"] std = [] [lints.rust] unsafe_code = "forbid"