toml-rs/Cargo.toml

39 lines
1.2 KiB
TOML

[package]
name = "toml"
version = "0.5.9"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["encoding"]
repository = "https://github.com/alexcrichton/toml-rs"
homepage = "https://github.com/alexcrichton/toml-rs"
documentation = "https://docs.rs/toml"
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.
"""
categories = ["config", "encoding", "parser-implementations"]
edition = "2018"
[workspace]
members = ['test-suite']
[dependencies]
serde = { version = "1.0.97", default-features = false, features = ["alloc"] }
indexmap = { version = "1.0", optional = true }
hashbrown = { version = "0.12.3" }
[dev-dependencies]
serde_derive = "1.0"
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
[features]
default = ["std"]
std = ["serde/std"]
# 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"]