https://github.com/paritytech/diener
Diener - dependency diener is a tool for easily changing https://github.com/paritytech/substrate or https://github.com/paritytech/polkadot dependency versions
https://github.com/paritytech/diener
Last synced: 8 months ago
JSON representation
Diener - dependency diener is a tool for easily changing https://github.com/paritytech/substrate or https://github.com/paritytech/polkadot dependency versions
- Host: GitHub
- URL: https://github.com/paritytech/diener
- Owner: paritytech
- Created: 2020-09-10T15:54:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T10:09:43.000Z (over 1 year ago)
- Last Synced: 2025-04-30T10:35:02.116Z (8 months ago)
- Language: Rust
- Homepage:
- Size: 114 KB
- Stars: 63
- Watchers: 2
- Forks: 19
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# diener - dependency diener is a tool for easily changing [Polkadot SDK](https://github.com/paritytech/polkadot-sdk) dependency versions
[](https://docs.rs/diener/) [](https://crates.io/crates/diener) [](https://crates.io/crates/diener)
* [Usage](#usage)
* [License](#license)
### Usage
You can find the full documentation on [docs.rs](https://docs.rs/crate/diener).
#### Update
The `update` subcommand changes all `Cargo.toml` files in a given folder to use
a specific branch/path/commit/tag.
Change all Polkadot SDK dependencies in a folder to a different branch:
```rust
diener update --branch diener-branch
```
Diener also supports `tag` and `rev` as arguments.
#### Patch
The `patch` subcommand adds a patch section for each crate in a given cargo workspace
to the workspace `Cargo.toml` file in some other cargo workspace.
Patch all git dependencies to be build from a given path:
```rust
diener patch --crates-to-patch ../path/to/polkadot-sdk/checkout
```
This subcommand can be compared to `.cargo/config` without using a deprecated
feature of Cargo ;)
### License
Licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)
at your option.
License: Apache-2.0/MIT