| 1 |
[package] |
| 2 |
name = "toml_datetime" |
| 3 |
version = "0.7.5+spec-1.1.0" |
| 4 |
description = "A TOML-compatible datetime type" |
| 5 |
categories = ["encoding", "parser-implementations", "parsing", "config"] |
| 6 |
keywords = ["encoding", "toml", "no_std"] |
| 7 |
repository.workspace = true |
| 8 |
license.workspace = true |
| 9 |
edition.workspace = true |
| 10 |
rust-version.workspace = true |
| 11 |
include.workspace = true |
| 12 |
|
| 13 |
[package.metadata.docs.rs] |
| 14 |
all-features = true |
| 15 |
rustdoc-args = ["--generate-link-to-definition"] |
| 16 |
|
| 17 |
[package.metadata.release] |
| 18 |
pre-release-replacements = [ |
| 19 |
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1}, |
| 20 |
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1}, |
| 21 |
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1}, |
| 22 |
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1}, |
| 23 |
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD", exactly=1}, |
| 24 |
] |
| 25 |
|
| 26 |
[features] |
| 27 |
default = ["std"] |
| 28 |
alloc = ["serde_core?/alloc"] |
| 29 |
std = ["alloc", "serde_core?/std"] |
| 30 |
serde = ["dep:serde_core"] |
| 31 |
|
| 32 |
[dependencies] |
| 33 |
serde_core = { version = "1.0.225", default-features = false, optional = true } |
| 34 |
|
| 35 |
[lints] |
| 36 |
workspace = true |
| 37 |
|
| 38 |
[dev-dependencies] |
| 39 |
snapbox = "0.6.21" |