[package] name = "hannibal" version = "0.10.0" authors = ["Hendrik Sollich ", "sunli "] description = "a small actor library" edition = "2021" publish = true license = "MIT" documentation = "https://docs.rs/hannibal/" homepage = "https://github.com/hoodie/hannibal" repository = "https://github.com/hoodie/hannibal" keywords = ["actor", "async", "hannibal", "xactor", "async-std"] categories = ["network-programming", "asynchronous"] readme = "README.md" rust-version = "1.56.0" [dependencies] futures = { version = "0.3", default-features = false, features = ["std", "async-await"]} async-trait = "0.1" once_cell = "1.17" fnv = "1.0" slab = "0.4" dyn-clone = "1" [dependencies.async-std] version = "1.12" features = ["attributes"] optional = true [dependencies.tokio] version = "1.29" features = ["rt-multi-thread", "macros", "time"] optional = true [dependencies.hannibal-derive] path = "hannibal-derive" version = "0.10" [dependencies.anyhow] version = "1.0" optional = true [dependencies.eyre] version = "0.6" optional = true [dev-dependencies] color-backtrace = "0.6.0" ctor = "0.2.6" [workspace] members = ["hannibal-derive"] [features] runtime-tokio = ["tokio/rt-multi-thread", "tokio/macros", "tokio/time"] runtime-async-std = ["async-std"] tracing = ["tokio/tracing"] default = ["runtime-async-std", "anyhow"]