aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-23 16:54:20 +0100
committerCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-24 17:20:06 +0100
commit4b7532ca0d6ff21d5531febb749b43112d0451e8 (patch)
tree32e0edf6ea7e8af90c475262da8007c1b4e15ca8 /Cargo.toml
parent0a922773a37f6a6a0d73ee0c1fa884e90e5f0f1d (diff)
downloaddcel-4b7532ca0d6ff21d5531febb749b43112d0451e8.tar.xz
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml12
1 files changed, 11 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b3c5a86..eb10c49 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,9 +2,19 @@
name = "dcel"
version = "0.1.0"
edition = "2021"
+license = "MIT"
+
+[features]
+test = ["obj_import", "img", "cairo-rs/svg", "cairo-rs/png"]
+img = ["dep:cairo-rs", "dep:enumset"]
+obj_import = ["dep:obj-rs", "dep:either"]
[dependencies]
+enumset = { version = "1", optional = true }
ghost-cell = "0.2"
paste = "1"
-thiserror = "1"
typed-arena = "2"
+cairo-rs = { version = "0.19.2", optional = true }
+thiserror = "1"
+obj-rs = { version = "0.7", default-features = false, optional = true }
+either = { version = "1", optional = true }