-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify
idb-sys
and idb
into one crate which are enabled with featu…
…res (#19) * Unify idb-sys and idb into one crate which are enabled with features * Remove lock file copy
- Loading branch information
1 parent
b4c6e00
commit 8d20e87
Showing
87 changed files
with
2,111 additions
and
2,079 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,61 @@ | ||
[workspace] | ||
members = ["idb", "idb-sys"] | ||
resolver = "2" | ||
[package] | ||
name = "idb" | ||
version = "0.6.0" | ||
authors = ["Devashish Dixit <devashishdxt@gmail.com>"] | ||
license = "MIT/Apache-2.0" | ||
description = "A futures based crate for interacting with IndexedDB on browsers using webassembly" | ||
homepage = "https://github.com/devashishdxt/idb" | ||
repository = "https://github.com/devashishdxt/idb" | ||
categories = ["asynchronous", "database", "wasm", "web-programming"] | ||
keywords = ["wasm", "indexeddb", "future", "webassembly", "idb"] | ||
readme = "README.md" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
default = ["futures"] | ||
doc = [] | ||
futures = ["tokio"] | ||
|
||
[dependencies] | ||
js-sys = "0.3.67" | ||
num-traits = "0.2.17" | ||
thiserror = "1.0.56" | ||
tokio = { version = "1.35.1", features = ["sync"], optional = true } | ||
wasm-bindgen = "0.2.90" | ||
web-sys = { version = "0.3.67", 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.0", default-features = false, features = [ | ||
"timers", | ||
"futures", | ||
] } | ||
serde = "1.0.195" | ||
serde-wasm-bindgen = "0.6.3" | ||
serde_json = "1.0.111" | ||
wasm-bindgen-test = "0.3.40" | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.