[package] name = "flutils" version = "0.5.0" edition = "2021" authors = ["Linus Gasser "] description = "Things for fledger that didn't fit anywhere else" repository = "https://github.com/ineiti/fledger" license = "MIT OR Apache-2.0" homepage = "https://fledg.re" readme = "README.md" keywords = ["test", "utils", "fledger"] [features] wasm = ["dep:wasm-bindgen-futures"] node = ["wasm"] [dependencies] thiserror = "1" rand = "0.8" serde = { version = "1", features = ["derive"] } sha2 = "0.10" futures = "0.3" chrono = "0.4" log = "0.4" timer = "0.2" env_logger = "0.9" tokio = {version = "1", features = ["rt", "macros", "time"]} async-trait = "0.1" wasm-bindgen-futures = {version = "0.4", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3" wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } wasm-timer = "0.2" web-sys = {version = "0.3",features = ['Window', 'Storage',]} [dev-dependencies] tokio = {version = "1", features = ["rt", "macros"]} flexi_logger = "0.22"