-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (42 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
[package]
name = "ron-reboot"
description = "Highly experimental RON parser"
version = "0.1.0-preview7"
edition = "2018"
license = "Unlicense"
documentation = "https://docs.rs/ron-reboot"
homepage = "https://github.com/ron-rs/ron-reboot"
repository = "https://github.com/ron-rs/ron-reboot"
exclude = [
"tests",
"scripts",
"ron_files",
"ron-utils",
]
[workspace]
members = ["ron-utils"]
[dependencies]
serde = { version = "1.0.130", optional = true }
[features]
default = ["utf8_parser", "utf8_parser_serde1"]
# === Parsers & Deserializers ===
utf8_parser = []
utf8_parser_serde1 = ["serde", "utf8_parser"]
value = []
value_serde1 = ["serde", "value"]
# === Other features ===
serde1_ast_derives = ["serde/derive"] # Serialize derives for abstract syntax tree
# used internally for unit tests to circumvent Rust / Cargo restrictions
test = ["serde1_ast_derives", "utf8_parser_serde1"]
[dev-dependencies]
ron = "0.6.5"
serde = { version = "1", features = ["derive"] }
[[example]]
name = "roundtrip"
required-features = ["serde1_ast_derives"]
[[example]]
name = "simple"
required-features = ["serde/derive", "utf8_parser_serde1"]
[[example]]
name = "value_no_serde"
required-features = ["value"]