toml-rs/Cargo.toml
Aaron Hill c6571b048e Bump Serde dependency to 1.0.97
toml-rs depends on some Serde types not present in Serde 1.0.0 (e.g
BorrowedStrDeserializer). By explicitly depending on a newever version,
we ensure compatibility with any crates using '-Z minimal-versions'

Note that we could probably depend on an older version of Serde, but I
didn't see much point in finding the exact minimum patch release that's
compatible with toml-rs
2019-07-27 20:43:58 -04:00

40 lines
1.1 KiB
TOML

[package]
name = "toml"
version = "0.5.1"
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']
[badges]
travis-ci = { repository = "alexcrichton/toml-rs" }
[dependencies]
serde = "1.0.97"
linked-hash-map = { version = "0.5", optional = true }
[dev-dependencies]
serde_derive = "1.0"
serde_json = "1.0"
[features]
default = []
# Use LinkedHashMap 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 = ["linked-hash-map"]