-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
61 lines (54 loc) · 1.69 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
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "todo-or-die"
version = "0.1.2"
authors = ["David Pedersen <david.pdrsn@gmail.com>"]
categories = ["development-tools"]
description = "TODOs checked at compile time"
edition = "2018"
homepage = "https://github.com/davidpdrsn/todo-or-die"
keywords = ["todo"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/davidpdrsn/todo-or-die"
[features]
default = []
github = ["__internal_http"]
time = ["chrono"]
crate = ["__internal_http", "semver"]
rust = ["version_check", "semver"]
# an internal feature to more easily enable http crates
# don't use this yourself
__internal_http = [
"hyper",
"hyper-rustls",
"once_cell",
"rustls",
"serde",
"serde_json",
"tokio",
"webpki-roots",
"chrono/serde",
]
[dependencies]
anyhow = "1.0"
quote = "1.0"
syn = "1.0"
# optional dependencies
chrono = { optional = true, version = "0.4", default_features = false, features = ["clock"] }
hyper = { optional = true, version = "0.14", features = ["client", "http1", "http2"] }
hyper-rustls = { optional = true, version = "0.22", features = ["webpki-roots"] }
once_cell = { optional = true, version = "1.0" }
rustls = { optional = true, version = "0.19" }
semver = { optional = true, version = "1.0" }
serde = { optional = true, version = "1.0", features = ["derive"] }
serde_json = { optional = true, version = "1.0" }
tokio = { optional = true, version = "1.0", features = ["rt", "time"] }
version_check = { optional = true, version = "0.9" }
webpki-roots = { optional = true, version = "0.21" }
[lib]
proc-macro = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
features = ["github", "time", "crate"]