# 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 = "idb" version = "0.6.4" authors = ["Devashish Dixit "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A futures based crate for interacting with IndexedDB on browsers using webassembly" homepage = "https://github.com/devashishdxt/idb" readme = "README.md" keywords = [ "wasm", "indexeddb", "future", "webassembly", "idb", ] categories = [ "asynchronous", "database", "wasm", "web-programming", ] license = "MIT/Apache-2.0" repository = "https://github.com/devashishdxt/idb" [package.metadata.docs.rs] all-features = true [lib] name = "idb" path = "src/lib.rs" [[test]] name = "builder" path = "tests/builder.rs" [[test]] name = "cursor" path = "tests/cursor.rs" [[test]] name = "database" path = "tests/database.rs" [[test]] name = "factory" path = "tests/factory.rs" [[test]] name = "index" path = "tests/index.rs" [[test]] name = "object_store" path = "tests/object_store.rs" [[test]] name = "open_request" path = "tests/open_request.rs" [[test]] name = "transaction" path = "tests/transaction.rs" [[test]] name = "web" path = "tests/web.rs" [dependencies.js-sys] version = "0.3" [dependencies.num-traits] version = "0.2" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["sync"] optional = true [dependencies.wasm-bindgen] version = "0.2" [dependencies.web-sys] version = "0.3" features = [ "DomException", "DomStringList", "Event", "IdbCursor", "IdbCursorDirection", "IdbCursorWithValue", "IdbDatabase", "IdbFactory", "IdbIndex", "IdbIndexParameters", "IdbKeyRange", "IdbObjectStore", "IdbObjectStoreParameters", "IdbOpenDbOptions", "IdbOpenDbRequest", "IdbRequestReadyState", "IdbTransaction", "IdbTransactionMode", "IdbVersionChangeEvent", "StorageType", ] [dev-dependencies.gloo] version = "0.11" features = [ "timers", "futures", ] default-features = false [dev-dependencies.serde] version = "1" [dev-dependencies.serde-wasm-bindgen] version = "0.6" [dev-dependencies.serde_json] version = "1" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] builder = ["futures"] default = ["builder"] doc = [] futures = ["tokio"]