From 9a1ddec55368d82a96d60fdb2b1a5b21ed3eea7b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 1 Dec 2020 15:05:20 +1000 Subject: [PATCH] make pyo/ring data arguments more specific --- Cargo.toml | 6 +++--- cargo/remote/BUILD.pyo3-0.12.4.bazel | 2 +- cargo/remote/BUILD.ring-0.16.18.bazel | 2 +- cargo/remote/BUILD.webpki-0.21.3.bazel | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 29bd334a8..43fbd0de1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,10 +28,10 @@ genmode = "Remote" default_gen_buildrs = true [package.metadata.raze.crates.pyo3.'*'] -data_attr = "glob([\"**\"])" +data_attr = "glob([\"**/*.md\"])" [package.metadata.raze.crates.ring.'*'] -data_attr = "glob([\"src/**\"])" +data_attr = "glob([\"src/**/*.der\"])" [package.metadata.raze.crates.webpki.'*'] -data_attr = "glob([\"src/**\"])" +data_attr = "glob([\"src/**/*.der\"])" diff --git a/cargo/remote/BUILD.pyo3-0.12.4.bazel b/cargo/remote/BUILD.pyo3-0.12.4.bazel index b2bf98463..275b1e5d9 100644 --- a/cargo/remote/BUILD.pyo3-0.12.4.bazel +++ b/cargo/remote/BUILD.pyo3-0.12.4.bazel @@ -97,7 +97,7 @@ rust_library( ], crate_root = "src/lib.rs", crate_type = "lib", - data = glob(["**"]), + data = glob(["**/*.md"]), edition = "2018", proc_macro_deps = [ "@raze__ctor__0_1_16//:ctor", diff --git a/cargo/remote/BUILD.ring-0.16.18.bazel b/cargo/remote/BUILD.ring-0.16.18.bazel index 0f02c54bc..9a9a7eabc 100644 --- a/cargo/remote/BUILD.ring-0.16.18.bazel +++ b/cargo/remote/BUILD.ring-0.16.18.bazel @@ -119,7 +119,7 @@ rust_library( ], crate_root = "src/lib.rs", crate_type = "lib", - data = glob(["src/**"]), + data = glob(["src/**/*.der"]), edition = "2018", rustc_flags = [ "--cap-lints=allow", diff --git a/cargo/remote/BUILD.webpki-0.21.3.bazel b/cargo/remote/BUILD.webpki-0.21.3.bazel index ba051819c..a337d82e3 100644 --- a/cargo/remote/BUILD.webpki-0.21.3.bazel +++ b/cargo/remote/BUILD.webpki-0.21.3.bazel @@ -40,7 +40,7 @@ rust_library( ], crate_root = "src/webpki.rs", crate_type = "lib", - data = glob(["src/**"]), + data = glob(["src/**/*.der"]), edition = "2018", rustc_flags = [ "--cap-lints=allow",