Make serde optional

This commit is contained in:
Max Känner 2023-04-16 16:08:56 +02:00
parent 89a91ae59c
commit 67daf8d73f

View File

@ -16,7 +16,9 @@ typenum = "1.16"
num-traits = { version = "0.2", default-features = false } num-traits = { version = "0.2", default-features = false }
defmt = { version = "0.3", optional = true } defmt = { version = "0.3", optional = true }
fixed = { version = "1.23.0", optional = true } fixed = { version = "1.23.0", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] } serde = { version = "1.0", default-features = false, features = [
"derive",
], optional = true }
[features] [features]
default = ["std"] default = ["std"]