[package] name = "rs-event-emitter" version = "3.0.3" edition = "2021" license = "MIT" description = "simulate promise implementation for rust" repository = "https://github.com/Shcarp/rs-event-emitter.git" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] threadpool = "1.8.1" num_cpus = "1.16.0" emitter_all_tuples = { path = "./emitter_all_tuples", version = "0.1.0" } uuid = { version = "1.3", features = ["v4"] } emitter_runtime = { path = "./emitter_runtime", version = "0.1.0", optional = true } futures = { version = "0.3.30", optional = true } thiserror = "1.0.63" getrandom = { version = "0.2", features = ["js"] } [dev-dependencies] # tokio = { version = "1.39.3", features = ["full"] } wasm-bindgen-test = "0.3.43" wasm-bindgen = "0.2.93" web-sys = { version = "0.3.70", features = ["console"] } [features] default = [] wasm = [] sync = [] async = ["dep:emitter_runtime", "dep:futures"] tokio_runtime = ["async", "emitter_runtime?/tokio_runtime"] [workspace] members = [ "emitter_all_tuples", "emitter_runtime", ]