-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
56 lines (44 loc) · 1.47 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
56
[package]
name = "format_serde_error"
version = "0.3.0"
authors = ["Alexander Thaller <[email protected]>"]
description = "Serde error messages for humans."
documentation = "https://docs.rs/format_serde_error/"
homepage = "https://github.com/AlexanderThaller/format_serde_error"
keywords = ["serde", "error", "formatting"]
categories = ["command-line-interface", "value-formatting"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/AlexanderThaller/format_serde_error"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
[features]
default = ["serde_yaml", "serde_json", "colored", "graphemes_support", "toml"]
graphemes_support = ["unicode-segmentation"]
[dependencies]
colored = { version = "2", optional = true }
serde_json = { version = "1", optional = true }
serde = { version = "1", features = ["derive"] }
serde_yaml = { version = "0.8", optional = true }
unicode-segmentation = { version = "1", optional = true }
toml = { version = "0.5", optional = true }
[dev-dependencies]
anyhow = "1"
pretty_assertions = "0.7"
[[example]]
name = "serde_yaml"
required-features = ["serde_yaml"]
[[example]]
name = "serde_yaml_long"
required-features = ["serde_yaml"]
[[example]]
name = "serde_json"
required-features = ["serde_json"]
[[example]]
name = "serde_json_long"
required-features = ["serde_json"]
[[example]]
name = "toml"
required-features = ["toml"]