diff --git a/crates/roc_std/Cargo.lock b/crates/roc_std/Cargo.lock index 910f82f4f0..b220750a33 100644 --- a/crates/roc_std/Cargo.lock +++ b/crates/roc_std/Cargo.lock @@ -205,9 +205,16 @@ dependencies = [ "pretty_assertions", "quickcheck", "quickcheck_macros", + "serde", "static_assertions", ] +[[package]] +name = "serde" +version = "1.0.143" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" + [[package]] name = "static_assertions" version = "1.1.0" diff --git a/crates/roc_std/Cargo.toml b/crates/roc_std/Cargo.toml index b8d8ec4538..ae63756bcb 100644 --- a/crates/roc_std/Cargo.toml +++ b/crates/roc_std/Cargo.toml @@ -11,6 +11,7 @@ version = "0.0.1" [dependencies] static_assertions = "1.1.0" arrayvec = "0.7.2" +serde = { version = "1", optional = true } [dev-dependencies] indoc = "1.0.3" @@ -21,3 +22,4 @@ libc = "0.2.106" [features] std = [] +serde = ["dep:serde"]