# 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 = "basu" version = "0.1.5" authors = ["Leonz Chang"] include = [ "src/**/*.rs", "Cargo.toml", ] description = "Eventbus crate with sync and async features" documentation = "https://docs.rs/basu" readme = "README.md" keywords = [ "eventbus", "event", "async", ] categories = ["asynchronous"] license = "MIT" repository = "https://github.com/leonzchang/basu.git" resolver = "1" [lib] doctest = false [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.rayon] version = "1.7" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "rt", "sync", "macros", ] optional = true default-features = false [dependencies.uuid] version = "1" features = [ "serde", "v4", "fast-rng", "macro-diagnostics", ] [features] async = [ "futures", "tokio", "async-trait", ] default = ["async"] sync = ["rayon"]