diff --git a/crates/vite_str/Cargo.toml b/crates/vite_str/Cargo.toml index 7159106c..ffa3b5db 100644 --- a/crates/vite_str/Cargo.toml +++ b/crates/vite_str/Cargo.toml @@ -11,7 +11,7 @@ bincode = { workspace = true } compact_str = { workspace = true, features = ["serde"] } diff-struct = { workspace = true } serde = { workspace = true, features = ["derive"] } -ts-rs = { workspace = true, optional = true } +ts-rs = { workspace = true, optional = true, features = ["no-serde-warnings"] } [features] ts-rs = ["dep:ts-rs"] diff --git a/crates/vite_task_graph/Cargo.toml b/crates/vite_task_graph/Cargo.toml index 90c4c05c..9d0332cb 100644 --- a/crates/vite_task_graph/Cargo.toml +++ b/crates/vite_task_graph/Cargo.toml @@ -24,7 +24,7 @@ vite_workspace = { workspace = true } [dev-dependencies] pretty_assertions = { workspace = true } -ts-rs = { workspace = true } +ts-rs = { workspace = true, features = ["no-serde-warnings"] } vite_path = { workspace = true, features = ["ts-rs"] } vite_str = { workspace = true, features = ["ts-rs"] } which = { workspace = true }