-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
51 lines (44 loc) · 1.24 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
[package]
name = "todo2"
version = "0.1.3"
edition = "2021"
license = "MIT OR Unlicense"
authors = ["Anas Elgarhy <[email protected]>"]
description = "An enhanced todo macro inspired by todo_or_die"
repository = "https://github.com/0x61nas/todo2"
documentation = "https://docs.rs/todo2"
keywords = ["todo", "todo-or-die"]
categories = ["development-tools", "macros"]
rust-version = "1.67.1"
[dependencies.chrono]
version = "0.4.38"
optional = true
[dependencies.time]
version = "0.3.37"
optional = true
[dependencies.quote]
version = "1.0.37"
features = ["proc-macro"]
[dependencies.proc-macro2]
version = "1.0.92"
[features]
default = ["original-compatibility", "strict-syntax", "and-time", "time-backend"]
log = []
compile-error = []
with-chrono = ["chrono", "and-time"]
with-time = ["time", "and-time"]
chrono-backend = ["chrono", "and-time"]
time-backend = ["time", "and-time"]
original-compatibility = []
strict = ["original-compatibility", "compile-error"]
strict-syntax = []
am-cool = []
# In the `by` syntax, make it able to specify a time
and-time = []
[lib]
proc-macro = true
path = "src/lib.rs"
doc-scrape-examples = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]