[package] # name = "keyvaluedb-web" version = "0.1.2" # authors = ["Veilid Team "] description = "A key-value database for use in browsers" license = "MIT OR Apache-2.0" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] [dependencies] keyvaluedb = { version = "0.1.2", path = "../keyvaluedb" } keyvaluedb-memorydb = { version = "0.1.2", path = "../keyvaluedb-memorydb" } wasm-bindgen = "0.2.87" js-sys = "0.3.64" futures = "0.3.28" log = "0.4.20" send_wrapper = { version = "0.6.0", features = ["futures"] } parking_lot = "0.12.1" flume = { version = "0.11.0", features = ["async"] } async-lock = "2.8.0" [dependencies.web-sys] version = "^0" features = [ 'console', 'Window', 'IdbFactory', 'IdbDatabase', 'IdbTransaction', 'IdbTransactionMode', 'IdbOpenDbRequest', 'IdbRequest', 'IdbObjectStore', 'Event', 'EventTarget', 'IdbCursor', 'IdbCursorWithValue', 'IdbKeyRange', 'DomStringList', ] [dev-dependencies] keyvaluedb-shared-tests = { version = "0.1.2", path = "../keyvaluedb-shared-tests" } console_log = "1.0.0" wasm-bindgen-test = "0.3.37" wasm-bindgen-futures = "0.4.37"