Skip to content

Commit b58b31e

Browse files
committed
chore: Cleanup
Signed-off-by: Aditya <[email protected]>
1 parent 802205e commit b58b31e

14 files changed

Lines changed: 414 additions & 141 deletions

File tree

Cargo.lock

Lines changed: 230 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,15 @@ hex = "0.4.3"
246246
#criterion = { version = "0.5.1", features = ["async_tokio"] }
247247
libsqlite3-sys = { version = "0.30.1" }
248248

249+
# Dev dependencies that should only be enabled when NOT targeting wasm32.
250+
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
251+
# Enable tempfile for non-wasm tests
252+
tempfile = "3.10.1"
253+
# async-std is required for some async tests (only for non-wasm targets)
254+
async-std = { workspace = true, features = ["attributes"] }
255+
# criterion benchmarks (only for non-wasm targets)
256+
criterion = { version = "0.5.1", features = ["async_tokio"] }
257+
249258
# If this is an unconditional dev-dependency then Cargo will *always* try to build `libsqlite3-sys`,
250259
# even when SQLite isn't the intended test target, and fail if the build environment is not set up for compiling C code.
251260
[target.'cfg(sqlite_test_sqlcipher)'.dev-dependencies]

0 commit comments

Comments
 (0)