rust_event 0.1.2

基于tokio制作的一个轻量化异步事件库
Documentation
# 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 = "2024"
name = "rust_event"
version = "0.1.2"
authors = ["Inotart"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "基于tokio制作的一个轻量化异步事件库"
homepage = "https://github.com/Inotart/rust_event.git"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Inotart/rust_event.git"

[lib]
name = "rust_event"
path = "src/lib.rs"

[[example]]
name = "hello"
path = "examples/hello.rs"

[[example]]
name = "hello_bus"
path = "examples/hello_bus.rs"

[[example]]
name = "hello_easy_bus"
path = "examples/hello_easy_bus.rs"

[[example]]
name = "hello_mybus"
path = "examples/hello_mybus.rs"

[[test]]
name = "global"
path = "tests/global.rs"

[[test]]
name = "global_but_no_use_event"
path = "tests/global_but_no_use_event.rs"

[[test]]
name = "non_global"
path = "tests/non_global.rs"

[dependencies.ctor]
version = "0.4.3"

[dependencies.futures]
version = "0.3.31"

[dependencies.inventory]
version = "0.3"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.paste]
version = "1.0.15"

[dependencies.tokio]
version = "1.47.1"
features = [
    "full",
    "rt-multi-thread",
]

[dev-dependencies.anyhow]
version = "1.0.98"