From 5514f60c282b79a5df8c3e0da7187c9480823b80 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 26 May 2024 13:25:36 +0200 Subject: [PATCH] exclude packages from tests so `cargo test --all` works --- Cargo.lock | 1 + crates/servicepoint_binding_cs/Cargo.toml | 2 ++ examples/lang_c/Cargo.toml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 2dc4c0b..5f45fac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -629,6 +629,7 @@ name = "servicepoint_binding_cs" version = "0.4.2" dependencies = [ "csbindgen", + "servicepoint", "servicepoint_binding_c", ] diff --git a/crates/servicepoint_binding_cs/Cargo.toml b/crates/servicepoint_binding_cs/Cargo.toml index cfc909c..8e46578 100644 --- a/crates/servicepoint_binding_cs/Cargo.toml +++ b/crates/servicepoint_binding_cs/Cargo.toml @@ -7,9 +7,11 @@ readme = "../../README.md" [lib] crate-type = ["cdylib"] +test = false [build-dependencies] csbindgen = "1.8.0" [dependencies] servicepoint_binding_c = { path = "../servicepoint_binding_c" } +servicepoint = { path = "../servicepoint" } diff --git a/examples/lang_c/Cargo.toml b/examples/lang_c/Cargo.toml index 8baf474..9792416 100644 --- a/examples/lang_c/Cargo.toml +++ b/examples/lang_c/Cargo.toml @@ -4,6 +4,9 @@ version = "0.1.0" edition = "2021" publish = false +[lib] +test = false + [build-dependencies] cc = "1.0"