Skip to content

Commit

Permalink
Update complex_sys example cargo-raze outputs
Browse files Browse the repository at this point in the history
Added a lockfile and updated the Cargo.toml with cargo-raze 0.8 stanzas.

Then, re-generated build files with raze `0.8.0`, using `cargo raze` in
the example directory.
  • Loading branch information
sitaktif committed Jan 8, 2021
1 parent 78ac316 commit eb5ad47
Show file tree
Hide file tree
Showing 31 changed files with 810 additions and 655 deletions.
22 changes: 22 additions & 0 deletions examples/complex_sys/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"""
@generated
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""

package(default_visibility = ["//visibility:public"])

licenses([
"notice", # See individual crates for specific licenses
])

# Aliased targets
alias(
name = "git2",
actual = "@rules_rust_examples_complex_sys__git2__0_13_12//:git2",
tags = [
"cargo-raze",
"manual",
],
)
223 changes: 223 additions & 0 deletions examples/complex_sys/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions examples/complex_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ path = "src/main.rs"
[dependencies]
git2 = "=0.13.12"

# WARNING: Subsequent runs of cargo-raze on this manifest will break examples
[raze]
[package.metadata.raze]
workspace_path = "//complex_sys/raze"
genmode = "Remote"
gen_workspace_prefix = "rules_rust_examples_complex_sys"
rust_rules_workspace_name = "io_bazel_rules_rust"
package_aliases_dir = "raze"
default_gen_buildrs = true

[raze.crates.openssl-sys.'0.9.58']
Expand Down
2 changes: 1 addition & 1 deletion examples/complex_sys/raze/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
@generated
cargo-raze workspace build file.
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
Expand Down
Loading

0 comments on commit eb5ad47

Please sign in to comment.