# 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 = "bomboni_common" version = "0.1.61" authors = ["Tin Rabzelj "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Common things for Bomboni library." homepage = "https://github.com/tinrab/bomboni" readme = "README.md" license-file = "LICENSE" repository = "https://github.com/tinrab/bomboni" [lib] name = "bomboni_common" path = "src/lib.rs" [dependencies.bomboni_wasm] version = "0.1.61" features = ["derive"] optional = true [dependencies.bytes] version = "1.7.2" optional = true [dependencies.chrono] version = "0.4.38" optional = true [dependencies.parking_lot] version = "0.12.3" optional = true [dependencies.postgres-types] version = "0.2.8" features = ["with-time-0_3"] optional = true [dependencies.regex] version = "1.11.0" [dependencies.serde] version = "1.0.210" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.64" [dependencies.time] version = "0.3.36" features = [ "formatting", "parsing", ] [dependencies.tokio] version = "1.40.0" features = [ "time", "sync", ] optional = true [dependencies.ulid] version = "1.1.3" [dev-dependencies.serde_json] version = "1.0.128" [dev-dependencies.tokio] version = "1.40.0" features = [ "rt-multi-thread", "macros", ] [features] chrono = ["dep:chrono"] js = [] postgres = [ "dep:postgres-types", "dep:bytes", ] serde = ["dep:serde"] tokio = [ "dep:tokio", "dep:parking_lot", ] wasm = [ "dep:bomboni_wasm", "dep:js-sys", "dep:wasm-bindgen", "time/wasm-bindgen", ] [target.'cfg(all(target_family = "wasm", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.js-sys] version = "0.3.70" optional = true [target.'cfg(all(target_family = "wasm", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies.wasm-bindgen] version = "0.2.93" optional = true