# 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 = "once-fn" version = "0.2.0" authors = ["Absolutex "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "cache the result of a function, make it runs only once" homepage = "https://github.com/lxl66566/once-fn" readme = "README.md" keywords = [ "once", "proc-macro", "cache", ] categories = ["rust-patterns"] license = "MIT" repository = "https://github.com/lxl66566/once-fn" [lib] name = "once_fn" path = "src/lib.rs" proc-macro = true [[test]] name = "complex" path = "tests/complex.rs" [[test]] name = "once_impl" path = "tests/once_impl.rs" [[test]] name = "ref_in_return_type" path = "tests/ref_in_return_type.rs" [[test]] name = "validation" path = "tests/validation.rs" [dependencies.heck] version = "0.5.0" [dependencies.proc-macro2] version = "1.0" [dependencies.quote] version = "1.0" [dependencies.syn] version = "2.0" features = ["full"] [dev-dependencies.tokio] version = "1.0" features = ["full"]