diff --git a/Cargo.toml b/Cargo.toml index 63c8a8c..7bdbe3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,11 @@ version = "0.2.1" edition = "2021" [dependencies] -csv = "1.2.2" +csv = { version = "1.2.2", optional = true } + +[features] +bin = ["dep:csv"] + +[[bin]] +name = "diameter" +required-features = ["bin"]