-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (49 loc) · 1.77 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (49 loc) · 1.77 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
[package]
name = "jsonlt"
version = "0.0.0"
edition = "2021"
rust-version = "1.82"
description = "A library for using a JSON Lines (JSONL) file as a lightweight database."
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["json", "jsonl", "jsonlines", "database", "storage"]
categories = ["data-structures", "database-implementations", "encoding"]
repository = "https://github.com/jsonlt/jsonlt-rust"
homepage = "https://jsonlt.org"
documentation = "https://docs.rs/jsonlt"
[features]
default = ["serde"]
full = ["serde", "async", "derive", "wasm"]
serde = ["dep:serde", "dep:serde_json"]
async = ["dep:tokio"]
derive = ["dep:thiserror"]
wasm = ["dep:wasm-bindgen", "dep:js-sys"]
[dependencies]
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
thiserror = { version = "2.0", optional = true }
tokio = { version = "1.0", features = ["fs", "io-util"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3"
# These dev-dependencies don't support WASM
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1.5"
tokio = { version = "1.0", features = ["full", "test-util"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }
[[bench]]
name = "bench_main"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }