# 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 = "comet-eventbus" version = "0.1.0-pre-alpha.4" authors = ["Akase Cho "] include = [ "build.rs", "src/**/*.rs", "proto/**/*.proto", "Cargo.toml", ] description = "An implementation of strong-typed sync and asynchronous eventbus." readme = "README.md" keywords = [ "async", "library", "concurrency", "channel", "eventbus", ] categories = [ "asynchronous", "concurrency", ] license = "MIT OR Apache-2.0" repository = "https://github.com/lightsing/comet-eventbus.git" resolver = "2" [package.metadata.docs.rs] features = [ "async", "bridge", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = ["x86_64-unknown-linux-gnu"] [dependencies.anymap] version = "0.12" [dependencies.async-trait] version = "0.1" [dependencies.bincode] version = "1.3.3" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.hex] version = "0.4" [dependencies.log] version = "0.4.17" [dependencies.parking_lot] version = "0.12" optional = true [dependencies.prost] version = "0.10" optional = true [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1.5" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.tokio] version = "1.20" features = [ "rt", "sync", ] optional = true default-features = false [dependencies.tonic] version = "0.7" optional = true [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.tokio] version = "1.20" features = [ "macros", "rt-multi-thread", ] [build-dependencies.tonic-build] version = "0.7" optional = true [features] async = [ "futures", "tokio", ] bridge = [ "async", "bincode", "prost", "serde", "tonic", "tonic-build", ] default = ["async"] sync = ["parking_lot"] sync_parallel = [ "sync", "rayon", ]