-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (43 loc) · 1.2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "nom-date-parsers"
authors = ["Сырцев Вадим Игоревич <syrtcevvi@gmail.com>"]
version = "1.1.0"
edition = "2021"
description = "The bunch of combinators written with help of nom to parse the numeric and language-specific dates"
keywords = [
"parsers",
"numeric-dates",
"language-specific",
"nom-extension",
"chrono-dates"
]
rust-version = "1.79"
license = "MIT"
homepage = "https://github.com/syrtcevvi/nom-date-parsers"
repository = "https://github.com/syrtcevvi/nom-date-parsers"
[features]
default = ["numeric", "quick", "en"]
# Currently used for building docs for `docsrs` to add `This is supported on feature="..." only.`
nightly = []
numeric = []
quick = []
# Language-specific features
ru = []
en = []
[dependencies]
chrono = "0.4.38"
nom = "7.1.3"
[dev-dependencies]
anyhow = "1.0.86"
criterion = { version = "0.5.1", features = ["html_reports"] }
pretty_assertions = "1.4.0"
rstest = "0.21.0"
[[bench]]
name = "ru_bundle"
required-features = ["ru"]
harness = false
[package.metadata.docs.rs]
# document all features
all-features = true
rustdoc-args = ["--cfg", "docsrs", "-Znormalize-docs"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]