diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2024-06-16 17:07:21 +0200 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2024-06-16 17:07:21 +0200 |
commit | d82a5f6e1bc878b0e6a695f88eb69404ca6d571d (patch) | |
tree | 321d55c3ff700187cba1938da119825260780193 /Cargo.toml | |
parent | 93883014f75ee9005a69d57ccb2d653015b6c216 (diff) | |
download | textgraph-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.toml | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 } |