File: Cargo.toml.orig

package info (click to toggle)
rust-fundu 1.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 996 kB
  • sloc: makefile: 2
file content (142 lines) | stat: -rw-r--r-- 3,000 bytes parent folder | download
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[package]
name = "fundu"
version = "1.0.0"
edition = "2021"
authors = ["Joining7943 <joining@posteo.de>"]
description = "Configurable, precise and fast rust string parser to a Duration"
readme = "README.md"
license = "MIT"
keywords = ["fundu", "parse", "string", "duration", "time"]
categories = ["command-line-interface", "parsing", "date-and-time"]
homepage = "https://github.com/Joining7943/fundu"
repository = "https://github.com/Joining7943/fundu"
rust-version = "1.61.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lib]
bench = false

[features]
default = ["standard"]
standard = []
custom = []
time = ["dep:time"]
chrono = ["dep:chrono"]
serde = ["dep:serde"]
with-iai = []
with-flamegraph = []

[dependencies]
time = { version = "<= 0.3.16", optional = true, default-features = false }
chrono = { version = "0.4.24", optional = true, default-features = false }
serde = { version = "1.0.162", optional = true, features=["derive"]}

[dev-dependencies]
rstest = "0.17.0"
rstest_reuse = "0.5.0"
criterion = "0.4.0"
chrono = { version = "0.4.23", default-features = false }
clap = { version = "<=3.2.23", features = ["cargo", "derive"] }
serde_test  = "1.0.162"

[target.'cfg(unix)'.dev-dependencies]
pprof = { version = "0.11.0", features = ["flamegraph", "criterion"] }
inferno = { version = "=0.11.14" }
iai-callgrind = "0.3.1"

[profile.flamegraph]
inherits = "bench"
opt-level = 1
debug = true

[[bench]]
name = "benchmarks_custom"
harness = false
required-features = ["custom"]

[[bench]]
name = "benchmarks_standard"
harness = false
required-features = ["standard"]

[[bench]]
name = "iai_bench_parsing_time_units"
harness = false
required-features = ["standard", "with-iai"]

[[bench]]
name = "iai_bench_parsing"
harness = false
required-features = ["standard", "with-iai"]

[[bench]]
name = "iai_bench_parsing_negative"
harness = false
required-features = ["standard", "with-iai"]

[[bench]]
name = "iai_bench_parsing_infinity"
harness = false
required-features = ["standard", "with-iai"]

[[bench]]
name = "iai_bench_reference"
harness = false
required-features = ["with-iai"]

[[bench]]
name = "iai_bench_standard"
harness = false
required-features = ["standard", "with-iai"]

[[bench]]
name = "iai_bench_custom"
harness = false
required-features = ["custom", "with-iai"]

[[bench]]
name = "flamegraph_standard"
harness = false
bench = false
required-features = ["standard", "with-flamegraph"]

[[bench]]
name = "flamegraph_custom"
harness = false
bench = false
required-features = ["custom", "with-flamegraph"]

[[example]]
name = "simple"
test = true

[[example]]
name = "clap_derive"
test = true

[[example]]
name = "clap_builder"
test = true

[[example]]
name = "convert"
test = false
required-features = ["chrono", "time"]

[[example]]
name = "custom"
test = false
required-features = ["custom"]

[[example]]
name = "systemd"
test = false
required-features = ["custom"]

[[example]]
name = "gnu"
test = false
required-features = ["custom"]