[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"