From 999f93f5e2c518be8c5d8d70c9a23d89d43d0a5d Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Tue, 9 May 2023 18:26:12 +0200 Subject: Add support for cgmath and collision --- lib/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Cargo.toml') 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" -- cgit v1.2.3