53 lines
1.7 KiB
TOML
53 lines
1.7 KiB
TOML
[package]
|
|
name = "toml"
|
|
version = "0.5.11"
|
|
readme = "README.md"
|
|
license = "MIT/Apache-2.0"
|
|
keywords = ["encoding", "toml"]
|
|
categories = ["encoding", "parser-implementations", "parsing", "config"]
|
|
description = """
|
|
A native Rust encoder and decoder of TOML-formatted files and streams. Provides
|
|
implementations of the standard Serialize/Deserialize traits for TOML data to
|
|
facilitate deserializing and serializing Rust structures.
|
|
"""
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
repository = "https://github.com/toml-rs/toml"
|
|
homepage = "https://github.com/toml-rs/toml"
|
|
documentation = "https://docs.rs/toml"
|
|
edition = "2018"
|
|
rust-version = "1.48.0"
|
|
include = [
|
|
"src/**/*",
|
|
"Cargo.toml",
|
|
"LICENSE*",
|
|
"README.md",
|
|
"examples/**/*",
|
|
"benches/**/*",
|
|
"tests/**/*"
|
|
]
|
|
|
|
[package.metadata.release]
|
|
pre-release-replacements = [
|
|
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
|
|
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
|
|
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
|
|
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
|
|
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/toml-rs/toml_edit/compare/{{tag_name}}...HEAD", exactly=1},
|
|
]
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Use indexmap rather than BTreeMap as the map type of toml::Value.
|
|
# This allows data to be read into a Value and written back to a TOML string
|
|
# while preserving the order of map keys in the input.
|
|
preserve_order = ["indexmap"]
|
|
|
|
[dependencies]
|
|
serde = "1.0.97"
|
|
indexmap = { version = "1.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|