Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ping/rust: adapt to rust-sdk patch, remove unused dependencies #42

Merged
merged 11 commits into from
Oct 4, 2022
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ When a new version of libp2p is released, we want to make it permanent in the `p
- update the `go-libp2p` version, go version, and update the code if needed.
- then `go get -tags v$B && go mod tidy`
3. Run the test on your machine
- Do once, from the test-plans root: import the test-plans with `testground plan import ./ --name libp2p`
- Do once, from the test-plans root: import the test-plans with `testground plan import --from ./ --name libp2p`
- Run the test with `testground run composition -f ping/_compositions/go-cross-versions.toml --wait`

## How to add a new version to ping/rust
Expand All @@ -35,7 +35,7 @@ When a new version of libp2p is released, we want to make it permanent in the `p
- `src/main.rs`: Update the `mod libp2p` definition with the new master
- Run `cargo update` if needed. Try to build with `cargo build --features libp2pvxxx`
3. Run the test on your machine
- Do once, from the test-plans root: import the test-plans with `testground plan import ./ --name libp2p`
- Do once, from the test-plans root: import the test-plans with `testground plan import --from ./ --name libp2p`
- Run the test with `testground run composition -f ping/_compositions/rust-cross-versions.toml --wait`

## License
Expand Down
10 changes: 7 additions & 3 deletions ping/_compositions/rust.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
[master]
Version = '0.48.0'
CargoFeatures = 'libp2pv0480'
Version = '0.49.0'
CargoFeatures = 'libp2pv0490'

[custom]
Version = '0.48.0'
Version = '0.49.0'
CargoFeatures = 'libp2pv0490'

[[groups]]
Id = '0.48.0'
CargoFeatures = 'libp2pv0480'

[[groups]]
Expand Down
Loading