From 9f73455cc21f5991dcb2844c369bb4ca7df64747 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 28 Sep 2020 13:57:37 +0200 Subject: optionally implement serde::{Des,S}erialize --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 66349f9..040137b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,9 @@ include = [ "/LICENSE", ] +[features] +default = [] + [dependencies] num-traits = "0.2" num-derive = "0.3" @@ -21,3 +24,4 @@ thiserror = "1.0" byteorder = "1" getset = "0.1" zip = "0.5" +serde = { version = "1.0", optional = true, features = ["derive"] } -- cgit v1.2.3