-
Notifications
You must be signed in to change notification settings - Fork 424
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
283 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,12 @@ version = "0.9.0" | |
authors = [ | ||
"Andre Brisco - [email protected]", | ||
] | ||
categories = ["development-tools"] | ||
description = "A collection of tools which use Cargo to generate build targets for Bazel" | ||
edition = "2021" | ||
keywords = ["bazel"] | ||
license = "Apache-2.0" | ||
repository = "https://github.com/bazelbuild/rules_rust" | ||
|
||
[features] | ||
cargo = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
crate_universe/test_data/metadata/has_package_metadata/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
crate_universe/test_data/metadata/has_package_metadata/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "has_package_metadata" | ||
version = "0.0.0" | ||
edition = "2021" | ||
|
||
# Required to satisfy cargo but no `lib.rs` is expected to | ||
# exist within test data. | ||
[lib] | ||
path = "lib.rs" | ||
|
||
[package.metadata.bazel] | ||
additive_build_file_content = """ | ||
genrule(**kwargs) | ||
""" | ||
rustc_env = { "FOO" = "foo is set" } |
73 changes: 73 additions & 0 deletions
73
crate_universe/test_data/metadata/has_package_metadata/metadata.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.