-
- Downloads
derive_builder: Use git dep everywhere, rather than cargo patch
The `[patch]` approach causes the tree not to build when used as a dependency, unless the `[patch]` is replicated into the depending project. Instead, replace our `derive_builer =` dependencies with a reference to a specific git commit: perl -i~ -pe 'next unless m/^derive_builder/; s#"(0\.11\.2)"#{ version = "$1", git = "https://github.com/ijackson/rust-derive-builder", rev = "ba0c1a5311bd9f93ddf5f5b8ec2a5f6f03b22fbe" }#' crates/*/Cargo.toml Note that the commitid has changed. This is because derive_builder is in fact a workspace of 4 crates. 3 of them are of interest to arti itself (the 4th exists only for testing). So the same "add git revision" treatment had to be done to the `derive_builder` and `derive_builder_macro` crates. Each dependency edge involves a new commit in the derive_builder workspace, since we can't create a git commit containing its own commitid. (We want to use commits, rather than a branch, so that what we are depending on is actually properly defined, and not subject to the whims of my personal github namespace.) There are no actual code changes in derive_builder.
parent
5484bcc2
No related branches found
No related tags found
Showing
- Cargo.lock 2 additions, 2 deletionsCargo.lock
- Cargo.toml 0 additions, 8 deletionsCargo.toml
- crates/arti-client/Cargo.toml 1 addition, 1 deletioncrates/arti-client/Cargo.toml
- crates/arti-config/Cargo.toml 1 addition, 1 deletioncrates/arti-config/Cargo.toml
- crates/arti/Cargo.toml 1 addition, 1 deletioncrates/arti/Cargo.toml
- crates/tor-circmgr/Cargo.toml 1 addition, 1 deletioncrates/tor-circmgr/Cargo.toml
- crates/tor-config/Cargo.toml 1 addition, 1 deletioncrates/tor-config/Cargo.toml
- crates/tor-dirmgr/Cargo.toml 1 addition, 1 deletioncrates/tor-dirmgr/Cargo.toml
- crates/tor-guardmgr/Cargo.toml 1 addition, 1 deletioncrates/tor-guardmgr/Cargo.toml
- crates/tor-netdir/Cargo.toml 1 addition, 1 deletioncrates/tor-netdir/Cargo.toml
Loading
Please register or sign in to comment