forked from tgstation/rust-g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (34 loc) · 1.2 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
[package]
name = "rust-g"
version = "0.4.4"
authors = ["Bjorn Neergaard <[email protected]>"]
repository = "https://github.com/tgstation/rust-g"
license-file = "LICENSE"
description = "Offloaded task library for the /tg/ Space Station 13 codebase"
[lib]
crate-type = ["lib", "cdylib"]
[profile.release]
opt-level = 3
lto = true
[dependencies]
failure = "0.1"
chrono = { version = "0.4", optional = true }
crypto-hash = { version = "0.3", optional = true }
hex = { version = "0.3", optional = true }
percent-encoding = { version = "1.0", optional = true }
png = { version = "0.11.0", optional = true }
git2 = { version = "0.7.1", optional = true, default-features = false }
reqwest = { version = "0.9", optional = true, default-features = false, features = ["rustls-tls"] }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
lazy_static = { version = "1.3", optional = true }
[features]
default = ["dmi", "log", "git", "http"]
dmi = ["png"]
file = []
hash = ["crypto-hash", "hex"]
log = ["chrono"]
url = ["percent-encoding"]
git = ["git2", "chrono"]
http = ["reqwest", "serde", "serde_json", "serde_derive", "lazy_static"]