Skip to content

Commit 0022a18

Browse files
committed
config: Build serde without std (just alloc)
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 4749540 commit 0022a18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

framework_lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ built = { version = "0.5", features = ["chrono", "git2"] }
4646

4747
[dependencies]
4848
toml = "0.8.20"
49-
serde = "1.0.217"
49+
serde = { version = "1.0.217", default-features = false, features = [ "alloc" ] }
5050
lazy_static = "1.4.0"
5151
sha2 = { version = "0.10.8", default-features = false, features = [ "force-soft" ] }
5252
regex = { version = "1.11.1", default-features = false }

framework_lib/src/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
use serde::Deserialize;
2+
use alloc::string::String;
3+
use alloc::vec::Vec;
24

35
use crate::util;
46

0 commit comments

Comments
 (0)