# 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 = "hooks" version = "3.0.0-alpha.15" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Compile-time, async hooks" documentation = "https://docs.rs/hooks" readme = "README.md" license = "MIT" repository = "https://github.com/frender-rs/hooks" [package.metadata.docs.rs] all-features = true [lib] name = "hooks" path = "src/lib.rs" [[test]] name = "many_tokens" path = "tests/many_tokens.rs" [[test]] name = "use_0_hooks" path = "tests/use_0_hooks.rs" [[test]] name = "use_1_hook" path = "tests/use_1_hook.rs" [[test]] name = "use_2_hooks" path = "tests/use_2_hooks.rs" [dependencies.hooks-core] version = "3.0.0-alpha.6" default-features = false [dependencies.hooks-gen] version = "0.2.0" optional = true [dependencies.hooks-macro] version = "0.2.0" optional = true [dependencies.pin-project-lite] version = "0.2.9" [dev-dependencies.async-io] version = "2.3.3" [dev-dependencies.futures-lite] version = "2.3.0" [features] ShareValue = [] Signal = ["ShareValue"] UpdateState = ["use_state_with_updater"] all = [ "ShareValue", "Signal", "use_debug", "use_default_pinned", "use_effect", "use_lazy_pinned", "use_lazy_pinned_hook", "use_memo", "use_mut", "use_poll_next_update", "use_state_with_updater", "use_uninitialized_hook", "use_shared+", "use_gen+", ] default = [ "futures-core", "all", ] futures-core = ["hooks-core/futures-core"] proc-macro = ["hooks-macro"] use_debug = [] use_default_pinned = [] use_effect = [] "use_gen+" = [ "use_gen_ref", "use_gen_signal", "use_gen_update_state+", ] use_gen_call = ["use_gen_update_state"] use_gen_reducer = ["use_gen_update_state"] use_gen_ref = ["dep:hooks-gen"] use_gen_set = ["use_gen_update_state"] use_gen_signal = ["dep:hooks-gen"] use_gen_toggle = ["use_gen_update_state"] use_gen_update_state = [ "UpdateState", "dep:hooks-gen", ] "use_gen_update_state+" = [ "use_gen_call", "use_gen_reducer", "use_gen_set", "use_gen_toggle", ] use_lazy_pinned = ["use_default_pinned"] use_lazy_pinned_hook = [] use_memo = [] use_mut = [] use_poll_next_update = [] "use_shared+" = [ "use_shared_ref", "use_shared_signal", "use_shared_update_state+", ] use_shared_call = ["use_shared_update_state"] use_shared_reducer = ["use_shared_update_state"] use_shared_ref = [] use_shared_set = ["use_shared_update_state"] use_shared_signal = [] use_shared_toggle = ["use_shared_update_state"] use_shared_update_state = ["UpdateState"] "use_shared_update_state+" = [ "use_shared_call", "use_shared_reducer", "use_shared_set", "use_shared_toggle", ] use_state_with_updater = [] use_uninitialized_hook = []