Skip to content

Commit dc0611d

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

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,3 +1,5 @@
1+
use alloc::string::String;
2+
use alloc::vec::Vec;
13
use serde::Deserialize;
24

35
use crate::util;

0 commit comments

Comments
 (0)