# 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 = "2018" name = "messages" version = "0.3.1" authors = ["Igor Aleksanov "] description = "Runtime-agnostic actor library." documentation = "https://docs.rs/messages" readme = "README.md" keywords = ["async", "actor", "utils", "actors"] categories = ["rust-patterns"] license = "MIT" repository = "https://github.com/popzxc/messages-rs" [package.metadata.docs.rs] features = ["runtime-tokio"] rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "01_ping" required-features = ["runtime-tokio"] [[example]] name = "02_notify" required-features = ["runtime-tokio"] [[example]] name = "03_fibonacci" required-features = ["runtime-tokio"] [[example]] name = "04_ring" required-features = ["runtime-tokio"] [[example]] name = "05_timed_stream" required-features = ["runtime-tokio"] [[example]] name = "06_async_std" required-features = ["runtime-async-std"] [[example]] name = "08_websocket" required-features = ["runtime-tokio"] [[test]] name = "tokio" path = "tests/tokio/mod.rs" required-features = ["runtime-tokio"] [[bench]] name = "bench" harness = false required-features = ["runtime-tokio"] [dependencies.async-channel] version = "1.6" [dependencies.async-oneshot] version = "0.5" [dependencies.async-std] version = "1.9" optional = true [dependencies.async-trait] version = "0.1" [dependencies.futures] version = "0.3.5" [dependencies.once_cell] version = "1.7" optional = true [dependencies.tokio] version = "1.6" features = ["rt"] optional = true [dev-dependencies.async-std] version = "1.9" features = ["attributes"] [dev-dependencies.criterion] version = "0.3" features = ["async_tokio", "html_reports"] [dev-dependencies.num_cpus] version = "1.13" [dev-dependencies.smol] version = "1.2" [dev-dependencies.tokio] version = "1.6" features = ["full"] [dev-dependencies.tokio-stream] version = "0.1" features = ["time"] [dev-dependencies.tokio-tungstenite] version = "0.14" [features] default = ["runtime-tokio"] runtime-async-std = ["async-std", "once_cell"] runtime-tokio = ["tokio", "once_cell"]