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