aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2024-06-16 17:07:21 +0200
committerjakobst1n <jakob.stendahl@outlook.com>2024-06-16 17:07:21 +0200
commitd82a5f6e1bc878b0e6a695f88eb69404ca6d571d (patch)
tree321d55c3ff700187cba1938da119825260780193 /Cargo.toml
parent93883014f75ee9005a69d57ccb2d653015b6c216 (diff)
downloadtextgraph-d82a5f6e1bc878b0e6a695f88eb69404ca6d571d.tar.gz
textgraph-d82a5f6e1bc878b0e6a695f88eb69404ca6d571d.zip
Make platform dependent code possible to disable by disabling libc and ansi features
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 }