aboutsummaryrefslogtreecommitdiff
path: root/lib/Cargo.toml
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-05-09 18:26:12 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-05-09 18:26:12 +0200
commit999f93f5e2c518be8c5d8d70c9a23d89d43d0a5d (patch)
tree67db71e720a41e3687aa8e51d9d51ef1f58ef509 /lib/Cargo.toml
parente66e6251a5e3cfab09f20ebd8701de9600e6e3a2 (diff)
downloadgenerate-random-999f93f5e2c518be8c5d8d70c9a23d89d43d0a5d.tar.xz
Add support for cgmath and collisionHEADmain
Diffstat (limited to 'lib/Cargo.toml')
-rw-r--r--lib/Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Cargo.toml b/lib/Cargo.toml
index ddd300b..1513795 100644
--- a/lib/Cargo.toml
+++ b/lib/Cargo.toml
@@ -11,10 +11,16 @@ description = "Generate random data"
readme = "README.md"
keywords = ["random"]
+[features]
+cgmath = ["dep:cgmath"]
+collision = ["cgmath", "dep:collision"]
+
[dependencies]
rand = "0.8.5"
generate-random-macro = { version = "0.1.0", path = "../derive-macro" }
enumset = { git = "https://github.com/Lymia/enumset", optional = true }
+cgmath = { version = "0.17.0", optional = true }
+collision = { version = "0.20.1", optional = true }
[dev-dependencies]
rand_chacha = "0.3.1"