-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
50 lines (40 loc) · 1.38 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 = "duration-string"
description = "String to duration and vice-versa lib. Format is [0-9]+(ns|us|ms|[smhdwy]) such as 100ms, 1s, 2h, 1y"
documentation = "https://docs.rs/duration-string"
readme = "README.md"
repository = "https://github.com/Ronniskansing/duration-string"
license-file = "LICENSE"
keywords = ["duration"]
categories = ["date-and-time"]
exclude = ["coverage/**/*"]
version = "0.5.2"
authors = [
"Ronni Skansing <[email protected]>",
"Martin Davy <[email protected]>",
"Philip Sequeira <[email protected]>",
"Kiran Ostrolenk <[email protected]>",
"Carlo Corradini <[email protected]>",
]
edition = "2018"
[features]
# default = ["serde"]
[dependencies]
serde = { version = "1.0.105", optional = true, features = ["derive"] }
[dev-dependencies]
serde_json = { version = "1.0.49" }
[profile.test]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
# testing and doc'ing
# cargo install cargo-tarpaulin
# cargo install cargo-watch
# cargo watch -x "tarpaulin --run-types Tests --out Lcov --output-dir coverage"
# cargo watch -x "tarpaulin --run-types Tests --out Lcov --output-dir coverage; cargo test --doc; cargo doc" # VSCODE - Coverage Gutters
# update readme
# cargo install cargo-readme
# cargo readme > readme.md