From d7d49b94743aaee61d9fdc2bed3027fc2894431b Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Fri, 19 Jan 2024 19:56:23 +0100 Subject: [PATCH] chore: support windows as target --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 66f45efd..12f04b1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ ci = ["github"] # The installers to generate for each app installers = [] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin"] +targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"] # Publish jobs to run in CI pr-run-mode = "plan" @@ -53,6 +53,9 @@ protobuf-compiler = '*' protobuf = '*' sqlite = '*' +[workspace.metadata.dist.dependencies.chocolatey] +protoc = '*' + [patch.crates-io] secp256k1-zkp = { git = "https://github.com/dpc/rust-secp256k1-zkp/", branch = "sanket-pr" } ring = { git = "https://github.com/dpc/ring", rev = "5493e7e76d0d8fb1d3cbb0be9c4944700741b802" }