# 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 = "2021" name = "meslin" version = "0.0.4" description = "Ergonomic messaging for Rust" homepage = "https://github.com/jvdwrf/Meslin" readme = "README.md" keywords = [ "actor", "messaging", "channel", ] categories = [ "asynchronous", "concurrency", ] license = "MIT OR Apache-2.0" repository = "https://github.com/jvdwrf/Meslin" [package.metadata.docs.rs] features = ["watch"] [dependencies.async-broadcast] version = "0.6" optional = true [dependencies.async-priority-channel] version = "0.2" optional = true [dependencies.derive_more] version = "1.0.0-beta.6" optional = true default-features = false [dependencies.flume] version = "0.11" optional = true [dependencies.futures] version = "0.3" features = ["executor"] [dependencies.meslin-derive] version = "0.0.3" optional = true [dependencies.oneshot] version = "0.1" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["sync"] optional = true default-features = false [dependencies.type-sets] version = "0.0.2" [dev-dependencies.tokio] version = "1" features = ["full"] [features] broadcast = ["dep:async-broadcast"] default = [ "derive", "request", "mpmc", "broadcast", "priority", ] derive = [ "dep:meslin-derive", "derive_more/from", "derive_more/try_into", ] mpmc = ["dep:flume"] priority = ["dep:async-priority-channel"] request = ["dep:oneshot"] watch = ["dep:tokio"]