-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
39 lines (35 loc) · 1.36 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
[package]
name = "cargo-snippet"
version = "0.6.5"
authors = ["hatoo <hato2000@gmail.com>"]
repository = "https://github.com/hatoo/cargo-snippet.git"
keywords = ["subcommand", "cargo-subcommand", "cargo", "snippet", "competitive"]
license = "MIT"
readme = "README.md"
description = "A snippet extractor for competitive programmers"
categories = ["template-engine"]
edition = "2018"
[lib]
proc-macro = true
path = "src/lib.rs"
[[bin]]
name = "cargo-snippet"
path = "src/main.rs"
required-features = ["binaries"]
[dependencies]
syn = { version = "1", features = ["full", "parsing", "extra-traits", "printing"], optional = true }
quote = { version = "1", optional = true }
proc-macro2 = { version = "1", optional = true }
rustfmt-nightly = { version = "1", optional = true }
glob = { version = "0.3", optional = true }
clap = { version = "2.29", optional = true }
serde = { version = "1.0", optional = true}
serde_derive = { version = "1.0", optional = true}
serde_json = { version = "1.0", optional = true}
log = { version= "0.4", optional = true }
env_logger = { version= "0.7", optional = true }
regex = { version = "1.3.5", optional = true }
lazy_static = { version = "1.4.0", optional = true }
[features]
binaries = ["syn", "quote", "proc-macro2", "glob", "clap", "serde", "serde_derive", "serde_json", "log", "env_logger", "regex", "lazy_static"]
inner_rustfmt = ["rustfmt-nightly"]