-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7648776
commit 135d0c6
Showing
2 changed files
with
47 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
[package] | ||
name = "rust-g" | ||
edition = "2021" | ||
version = "1.1.0" | ||
authors = ["Bjorn Neergaard <[email protected]>", "Tad Hardesty <[email protected]>", "rust-g maintainer team"] | ||
version = "1.2.0" | ||
authors = [ | ||
"Bjorn Neergaard <[email protected]>", | ||
"Tad Hardesty <[email protected]>", | ||
"rust-g maintainer team", | ||
] | ||
repository = "https://github.com/tgstation/rust-g" | ||
license = "MIT" | ||
description = "Offloaded task library for the /tg/ Space Station 13 codebase" | ||
|
@@ -20,7 +24,7 @@ debug = true | |
thiserror = "1.0" | ||
flume = { version = "0.10", optional = true } | ||
chrono = { version = "0.4", optional = true } | ||
base64 = { version = "0.13", optional = true} | ||
base64 = { version = "0.13", optional = true } | ||
md-5 = { version = "0.10", optional = true } | ||
twox-hash = { version = "1.6", optional = true } | ||
const-random = { version = "0.1.13", optional = true } | ||
|
@@ -32,30 +36,47 @@ url-dep = { version = "2.1", package = "url", optional = true } | |
png = { version = "0.17", optional = true } | ||
image = { version = "0.24", optional = true } | ||
git2 = { version = "0.14", optional = true, default-features = false } | ||
noise = { version = "0.7", optional = true} | ||
noise = { version = "0.7", optional = true } | ||
redis = { version = "0.21", optional = true } | ||
reqwest = { version = "0.11", optional = true, default-features = false, features = ["blocking", "rustls-tls"] } | ||
reqwest = { version = "0.11", optional = true, default-features = false, features = [ | ||
"blocking", | ||
"rustls-tls", | ||
] } | ||
serde = { version = "1.0", optional = true, features = ["derive"] } | ||
serde_json = { version = "1.0", optional = true } | ||
lazy_static = { version = "1.4", optional = true } | ||
once_cell = { version = "1.4", optional = true } | ||
mysql = { version = "22.2", optional = true } | ||
dashmap = { version = "5.3", optional = true } | ||
zip = { version = "0.6", optional = true } | ||
rand = {version = "0.8", optional = true} | ||
toml-dep = { version = "0.5.8", package="toml", optional = true } | ||
aho-corasick = { version = "0.7.18", optional = true} | ||
rayon = { version = "1.5", optional = true} | ||
dbpnoise = { version = "0.1.2", optional = true} | ||
rand = { version = "0.8", optional = true } | ||
toml-dep = { version = "0.5.8", package = "toml", optional = true } | ||
aho-corasick = { version = "0.7.18", optional = true } | ||
rayon = { version = "1.5", optional = true } | ||
dbpnoise = { version = "0.1.2", optional = true } | ||
pathfinding = { version = "3.0.13", optional = true } | ||
num = { version = "0.4.0", optional = true } | ||
|
||
[features] | ||
default = ["acreplace", "cellularnoise", "dmi", "file", "git", "http", "json", "log", "noise", "sql", "time", "toml", "url"] | ||
default = [ | ||
"acreplace", | ||
"cellularnoise", | ||
"dmi", | ||
"file", | ||
"git", | ||
"http", | ||
"json", | ||
"log", | ||
"noise", | ||
"sql", | ||
"time", | ||
"toml", | ||
"url", | ||
] | ||
|
||
# default features | ||
acreplace = ["aho-corasick"] | ||
cellularnoise = ["rand","rayon"] | ||
cellularnoise = ["rand", "rayon"] | ||
dmi = ["png", "image"] | ||
file = [] | ||
git = ["git2", "chrono"] | ||
|
@@ -69,11 +90,21 @@ url = ["url-dep", "percent-encoding"] | |
|
||
# additional features | ||
batchnoise = ["dbpnoise"] | ||
hash = ["base64", "const-random", "md-5", "hex", "sha-1", "sha2", "twox-hash", "serde", "serde_json"] | ||
pathfinder = [ "num", "pathfinding", "serde", "serde_json"] | ||
hash = [ | ||
"base64", | ||
"const-random", | ||
"md-5", | ||
"hex", | ||
"sha-1", | ||
"sha2", | ||
"twox-hash", | ||
"serde", | ||
"serde_json", | ||
] | ||
pathfinder = ["num", "pathfinding", "serde", "serde_json"] | ||
redis_pubsub = ["flume", "redis", "serde", "serde_json"] | ||
unzip = ["zip", "jobs"] | ||
worleynoise = ["rand","rayon"] | ||
worleynoise = ["rand", "rayon"] | ||
|
||
# internal feature-like things | ||
jobs = ["flume"] | ||
|