-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
43 lines (37 loc) · 1.31 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
[package]
name = "deserr"
version = "0.6.3"
authors = ["Lo <[email protected]>", "Tamo <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Deserialization library with focus on error handling"
repository = "https://github.com/meilisearch/deserr"
readme = "README.md"
exclude = ["benches"]
keywords = ["deserialization", "error"]
edition = "2021"
[dependencies]
serde_json = { version = "1.0", optional = true }
serde-cs = { version = "0.2.4", optional = true }
actix-web = { version = "4.9.0", default-features = false, optional = true }
futures = { version = "0.3.31", optional = true }
deserr-internal = { version = "=0.6.3", path = "derive" }
strsim = "0.11.1"
actix-http = { version = "3.9.0", optional = true }
actix-utils = { version = "3.0.1", optional = true }
serde_urlencoded = "0.7.1"
[features]
default = ["serde-json", "serde-cs"]
serde-json = ["serde_json"]
serde-cs = ["dep:serde-cs"]
actix-web = ["dep:actix-web", "futures", "actix-http", "actix-utils"]
[dev-dependencies]
automod = "1.0"
insta = { version = "1.42.0", features = ["json"] }
rustversion = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
trybuild = { version = "1.0.101", features = ["diff"] }
[workspace]
members = ["derive", "examples/*"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]