-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (64 loc) · 1.71 KB
/
Cargo.toml
File metadata and controls
72 lines (64 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "sqlite-wasm-rs"
links = "wsqlite3"
version = "0.5.3"
authors = ["Spxg <unsafe@outlook.es>"]
repository = "https://github.com/Spxg/sqlite-wasm-rs"
description = "`wasm32-unknown-unknown` bindings to the libsqlite3 library."
categories = ["development-tools::ffi", "wasm", "database"]
keywords = ["sqlite", "sqlite-wasm", "wasm", "webassembly", "javascript"]
readme.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
include.workspace = true
[dependencies]
rsqlite-vfs = "0.1.0"
wasm-bindgen = { version = "0.2.104", default-features = false }
js-sys = { version = "0.3.81", default-features = false }
[features]
# SQLite3MultipleCiphers
# <https://github.com/utelle/SQLite3MultipleCiphers>
# <https://utelle.github.io/SQLite3MultipleCiphers>
sqlite3mc = []
[build-dependencies]
cc = "1.2.27"
bindgen = { version = "0.72", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3.54"
[package.metadata.docs.rs]
targets = ["wasm32-unknown-unknown"]
[workspace]
resolver = "2"
members = [
"tests",
"crates/rsqlite-vfs",
"crates/sqlite-wasm-libc",
"crates/sqlite-wasm-vfs",
"extensions/sqlite-vec",
"examples/implement-a-vfs",
"examples/nodejs",
"examples/use-prebuild-lib",
]
[workspace.package]
readme = "README.md"
edition = "2021"
license = "MIT"
rust-version = "1.82.0"
include = [
'src/**/*.rs',
'build.rs',
'sqlite3/**/*.c',
'sqlite3/**/*.h',
'sqlite3mc/**/*.c',
'sqlite3mc/**/*.h',
'shim/**/*.h',
'shim/**/*.c',
'Cargo.toml',
'/README.md',
'LICENSE',
]
[patch.crates-io]
rsqlite-vfs = { path = "./crates/rsqlite-vfs" }
sqlite-wasm-rs = { path = "./" }
sqlite-wasm-vfs = { path = "./crates/sqlite-wasm-vfs" }