Skip to content

Commit 76c3f9f

Browse files
committed
feat: Make sure serde and oxilangtag are no_std+alloc
1 parent d4919ab commit 76c3f9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ keywords = ["wot", "WebofThings"]
99

1010
[features]
1111
default = ["std"]
12-
std = ["serde/std", "serde_json/std", "serde_with/std", "time/std"]
13-
alloc = ["serde/alloc", "serde_json/alloc", "serde_with/alloc", "time/alloc"]
12+
std = ["serde/std", "serde_json/std", "serde_with/std", "time/std", "oxilangtag/std"]
13+
alloc = ["serde/alloc", "serde_json/alloc", "serde_with/alloc", "time/alloc", "oxilangtag/alloc"]
1414

1515
[dependencies]
16-
oxilangtag = { version = "0.1.5", features = ["serde"] }
17-
serde = { version = "1.0.137", features = ["derive"] }
16+
oxilangtag = { version = "0.1.5", features = ["serialize"], default-features = false }
17+
serde = { version = "1.0.137", features = ["derive"], default-features = false }
1818
serde_json = { version = "1.0.81", default-features = false }
1919
serde_repr = "0.1.9"
2020
serde_with = { version = "3.7.0", default-features = false, features = ["macros"] }

0 commit comments

Comments
 (0)