diff --git a/Cargo.lock b/Cargo.lock index 986ed51c..bdeb138a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -970,6 +970,12 @@ dependencies = [ "either", ] +[[package]] +name = "itoa" +version = "1.0.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "540654e97a3f4470a492cd30ff187bc95d89557a903a2bbf112e2fae98104ef2" + [[package]] name = "jobserver" version = "0.1.27" @@ -1291,6 +1297,8 @@ dependencies = [ "pna", "rand", "rayon", + "serde", + "serde_json", "tabled", "walkdir", "windows", @@ -1475,6 +1483,12 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + [[package]] name = "same-file" version = "1.0.6" @@ -1516,6 +1530,17 @@ dependencies = [ "syn", ] +[[package]] +name = "serde_json" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb0652c533506ad7a2e353cce269330d6afd8bdfb6d75e0ace5b35aacbd7b9e9" +dependencies = [ + "itoa", + "ryu", + "serde", +] + [[package]] name = "serde_spanned" version = "0.6.6" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fc18ba0a..efa9cd86 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -26,6 +26,8 @@ nom = "7.1.3" normalize-path = "0.2.1" pna = { version = "0.20.0", path = "../pna" } rayon = "1.10.0" +serde = { version = "1.0.193", features = ["derive"] } +serde_json = "1.0.109" tabled = { version = "0.16.0", default-features = false, features = ["std", "ansi"] } rand = "0.8.5" indexmap = "2.6.0"