[package] name = "aktrs" version = "0.1.0-alpha.5" authors = ["Richard Berry "] license = "Apache-2.0" description = "An actor model framework for Rust" documentation = "https://docs.rs/aktrs" homepage = "https://github.com/rjsberry/aktrs" repository = "https://github.com/rjsberry/aktrs" readme = "README.md" categories = ["asynchronous", "network-programming"] keywords = ["actor", "actors", "async", "futures", "tokio"] exclude = ["macros"] edition = "2018" [workspace] members = ["macros"] [features] default = [] # includes the 'fs' module in compilation fs = ["crossbeam", "notify"] # includes the 'actor::testkit' module/'aktrs::test' macro in compilation testkit = ["aktrs-macros"] [dependencies] [dependencies.aktrs-macros] version = "0.1.0-alpha.2" path = "macros" optional = true [dependencies.anyhow] version = "1" [dependencies.crossbeam] version = "=0.7.2" optional = true [dependencies.futures] version = "0.3" default-features = false features = ["std"] [dependencies.notify] version = "=5.0.0-pre.1" optional = true [dependencies.pin-project-lite] version = "0.1" [dependencies.rand] version = "0.7" [dependencies.tokio] version = "0.2" features = ["macros", "rt-core", "rt-threaded", "stream", "sync", "time"] [dev-dependencies] [dev-dependencies.criterion] version = "0.3" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "0.2" features = ["macros", "rt-core", "rt-threaded", "stream", "sync", "test-util", "time"] [[test]] name = "test_actor" required-features = ["testkit"] [[test]] name = "test_actor_testkit" required-features = ["testkit"] [[test]] name = "test_event_bus" required-features = ["testkit"] [[test]] name = "test_fs" required-features = ["fs", "testkit"] [[test]] name = "test_pid" required-features = ["testkit"] [[test]] name = "test_time_scheduler" required-features = ["testkit"] [[bench]] name = "actor_creation" harness = false [[bench]] name = "ring" harness = false [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]