aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a5f66ca..5b85730 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,11 @@ name = "textgraph"
version = "0.1.0"
edition = "2021"
+[features]
+default = ["libc", "ansi"]
+ansi = []
+libc = ["dep:libc"]
+
[dependencies]
-libc = "0.2.155"
+libc = { version = "0.2.155", optional = true }