-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
55 lines (43 loc) · 1.19 KB
/
Cargo.toml
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
[workspace]
members = [
"fuzz/fuzz_scan_trusted"
]
[package]
name = "squirrel-json"
version = "0.0.0"
authors = ["Datalust"]
edition = "2021"
build = "build.rs"
license = "MIT OR Apache-2.0"
[lib]
crate-type = ["cdylib", "rlib"]
# Enabling `serde_json` allows converting `Document`s to `serde_json::Value`s
[dependencies.serde_json]
version = "1"
optional = true
# On WASM we'll use the fallback parser
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.js-sys]
version = "0.3"
[dev-dependencies.rand]
version = "0.8"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom]
version = "0.2"
features = ["js"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.json]
version = "0.12"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.simd-json]
version = "0.5"
features = [
# Doesn't disable the SIMD implementation, it just doesn't fail to compile
# if we don't pass `target-cpu=native`
"allow-non-simd"
]
[build-dependencies.version_check]
version = "0.9"