feat(nix-compat): Add serde feature flag

This makes serde features optional behind a flag that is not enabled
by default. So Deserialize and Serialize implementations and anything
that deals with JSON.

Change-Id: I04830aa3883da13ea99a4a51b28981e8a5ecd426
Reviewed-on: https://cl.snix.dev/c/snix/+/30660
Autosubmit: Brian Olsen <brian@maven-group.org>
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
This commit is contained in:
Brian Olsen 2025-08-05 21:18:01 +02:00 committed by clbot
parent 2a29b90c7f
commit 6187029077
22 changed files with 176 additions and 121 deletions

View file

@ -1427,8 +1427,6 @@ dependencies = [
"num-traits",
"num_enum",
"pin-project-lite",
"serde",
"serde_json",
"sha2 0.10.8",
"thiserror 2.0.11",
"tokio",