add no-std

This commit is contained in:
2025-12-06 22:30:42 +01:00
parent f3b79bb9aa
commit c2b9eaa8d3
5 changed files with 47 additions and 12 deletions

View File

@@ -12,6 +12,10 @@ categories = ["encoding", "decoding"]
# [features]
# json = ["serde_json"]
[features]
default = ["std"]
std = []
[dependencies]
serde = { version = "1.0"}
# serde_json = { version = "1.0", optional = true }
@@ -19,7 +23,7 @@ thiserror = "2.0.17"
chrono = { version = "0.4", features = ["serde"] }
enum_stringify = "0.6.4"
num_enum = "0.7.5"
log = "0.4.28"
log = { version = "0.4" }
[lints.clippy]