Skip to content

Commit

Permalink
move batchnoise and worlynoise to default features so jungleland work…
Browse files Browse the repository at this point in the history
…s locally
  • Loading branch information
Chubbygummibear committed Jul 3, 2024
1 parent 97ccebd commit c148a2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rust-g"
edition = "2021"
version = "1.2.0-yogs2"
version = "1.2.0-yogs2.1"
authors = [
"Bjorn Neergaard <[email protected]>",
"Tad Hardesty <[email protected]>",
Expand Down Expand Up @@ -61,6 +61,7 @@ concat-string = { version = "1.0.1", optional = true }
[features]
default = [
"acreplace",
"batchnoise",
"binary_space_partition",
"cellularnoise",
"dmi",
Expand All @@ -75,10 +76,12 @@ default = [
"time",
"toml",
"url",
"worleynoise",
]

# default features
acreplace = ["aho-corasick"]
batchnoise = ["dbpnoise"]
binary_space_partition = ["rand", "rayon", "serde", "serde_json", "sha2"]
cellularnoise = ["rand", "rayon"]
dmi = ["png", "image"]
Expand All @@ -92,9 +95,9 @@ sql = ["mysql", "serde", "serde_json", "once_cell", "dashmap", "jobs"]
time = []
toml = ["serde", "serde_json", "toml-dep"]
url = ["url-dep", "percent-encoding"]
worleynoise = ["rand", "rayon"]

# additional features
batchnoise = ["dbpnoise"]
hash = [
"base64",
"const-random",
Expand All @@ -110,7 +113,6 @@ influxdb2 = ["concat-string", "serde", "serde_json", "http"]
pathfinder = ["num", "pathfinding", "serde", "serde_json"]
redis_pubsub = ["flume", "redis", "serde", "serde_json"]
unzip = ["zip", "jobs"]
worleynoise = ["rand", "rayon"]

# internal feature-like things
jobs = ["flume"]
Expand Down

0 comments on commit c148a2c

Please sign in to comment.