This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
forked from ParadiseSS13/rust-g-old
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
49 lines (45 loc) · 1.75 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
[package]
name = "rust-g"
edition = "2018"
version = "0.4.5-P2"
authors = ["Bjorn Neergaard <[email protected]>"]
repository = "https://github.com/ParadiseSS13/rust-g"
license-file = "LICENSE"
description = "Offloaded task library for the Paradise SS13 codebase. Adapted from /tg/station13"
[lib]
crate-type = ["cdylib"]
[profile.release]
opt-level = 3
codegen-units = 1
lto = true
[dependencies]
failure = "0.1"
chrono = { version = "0.4", optional = true }
crypto-hash = { version = "0.3", optional = true }
hex = { version = "0.4", optional = true }
percent-encoding = { version = "2.1", optional = true }
url-dep = { version = "2.1", package = "url", optional = true }
png = { version = "0.16", optional = true }
noise = { version = "0.6", optional = true}
reqwest = { version = "0.11.3", optional = true, default-features = false, features = ["blocking", "rustls-tls"] }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
once_cell = { version = "1.4", optional = true }
mysql = { version = "19.0", optional = true }
dashmap = { version = "3.11", optional = true }
simple-logging = { version = "2.0.2", optional = true}
log = { version = "0.4.14", optional = true }
log-panics = { version = "2", features = ["with-backtrace"], optional = true }
ctor = "0.1.20"
workerpool = "1.2.0"
[features]
default = ["dmi", "logf", "http", "sql", "noise", "feature-log-panics"]
dmi = ["png"]
file = []
hash = ["crypto-hash", "hex"]
logf = ["chrono"]
url = ["url-dep", "percent-encoding"]
http = ["reqwest", "serde", "serde_json", "serde_derive", "once_cell"]
sql = ["mysql", "serde", "serde_derive", "serde_json", "once_cell", "dashmap"]
feature-log-panics = ["log", "simple-logging", "log-panics"]