]> git.lizzy.rs Git - generate-random.git/blobdiff - lib/Cargo.toml
Add support for cgmath and collision
[generate-random.git] / lib / Cargo.toml
index ddd300b93311ed93f181bafe8914562993cf7708..1513795251917fd9b8f132fff293628601ee6efd 100644 (file)
@@ -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"