toml-rs/Cargo.toml

39 lines
1.2 KiB
TOML
Raw Permalink Normal View History

2014-08-04 04:30:30 +00:00
[package]
2014-06-21 00:12:03 +00:00
name = "toml"
2022-04-14 23:54:23 +00:00
version = "0.5.9"
2014-08-04 04:30:30 +00:00
authors = ["Alex Crichton <alex@alexcrichton.com>"]
2014-11-22 03:36:11 +00:00
license = "MIT/Apache-2.0"
2014-10-28 06:02:43 +00:00
readme = "README.md"
keywords = ["encoding"]
repository = "https://github.com/alexcrichton/toml-rs"
homepage = "https://github.com/alexcrichton/toml-rs"
2017-02-09 05:27:28 +00:00
documentation = "https://docs.rs/toml"
2014-10-28 06:02:43 +00:00
description = """
A native Rust encoder and decoder of TOML-formatted files and streams. Provides
2017-02-09 05:27:28 +00:00
implementations of the standard Serialize/Deserialize traits for TOML data to
2014-10-28 06:02:43 +00:00
facilitate deserializing and serializing Rust structures.
"""
2017-02-09 05:27:28 +00:00
categories = ["config", "encoding", "parser-implementations"]
2019-05-08 19:12:14 +00:00
edition = "2018"
2017-02-09 05:27:28 +00:00
[workspace]
members = ['test-suite']
2014-12-23 16:01:35 +00:00
[dependencies]
2020-05-09 17:42:54 +00:00
serde = { version = "1.0.97", default-features = false, features = ["alloc"] }
indexmap = { version = "1.0", optional = true }
2022-08-02 09:40:48 +00:00
hashbrown = { version = "0.12.3" }
[dev-dependencies]
2017-04-20 17:16:00 +00:00
serde_derive = "1.0"
2020-05-09 17:42:54 +00:00
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
2018-05-14 14:59:24 +00:00
[features]
2020-05-09 17:42:54 +00:00
default = ["std"]
std = ["serde/std"]
2018-05-14 14:59:24 +00:00
2019-10-29 14:01:41 +00:00
# Use indexmap rather than BTreeMap as the map type of toml::Value.
2018-05-14 14:59:24 +00:00
# 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"]