1[package]
2name = "toml"
3version = "0.5.11"
4readme = "README.md"
5license = "MIT/Apache-2.0"
6keywords = ["encoding", "toml"]
7categories = ["encoding", "parser-implementations", "parsing", "config"]
8description = """
9A native Rust encoder and decoder of TOML-formatted files and streams. Provides
10implementations of the standard Serialize/Deserialize traits for TOML data to
11facilitate deserializing and serializing Rust structures.
12"""
13authors = ["Alex Crichton <alex@alexcrichton.com>"]
14repository = "https://github.com/toml-rs/toml"
15homepage = "https://github.com/toml-rs/toml"
16documentation = "https://docs.rs/toml"
17edition = "2018"
18rust-version = "1.48.0"
19include = [
20 "src/**/*",
21 "Cargo.toml",
22 "LICENSE*",
23 "README.md",
24 "examples/**/*",
25 "benches/**/*",
26 "tests/**/*"
27]
28
29[package.metadata.release]
30pre-release-replacements = [
31 {file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
32 {file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
33 {file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
34 {file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
35 {file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/toml-rs/toml_edit/compare/{{tag_name}}...HEAD", exactly=1},
36]
37
38[features]
39default = []
40
41# Use indexmap rather than BTreeMap as the map type of toml::Value.
42# This allows data to be read into a Value and written back to a TOML string
43# while preserving the order of map keys in the input.
44preserve_order = ["indexmap"]
45
46[dependencies]
47serde = "1.0.97"
48indexmap = { version = "1.0", optional = true }
49
50[dev-dependencies]
51serde_derive = "1.0"
52serde_json = "1.0"
53