valence/crates/valence_stresser/Cargo.toml

16 lines
498 B
TOML
Raw Normal View History

Minimal stresser implementation (#240) <!-- Please make sure that your PR is aligned with the guidelines in CONTRIBUTING.md to the best of your ability. --> <!-- Good PRs have tests! Make sure you have sufficient test coverage. --> ## Description <!-- Describe the changes you've made. You may include any justification you want here. --> An implementation of a Minecraft server stresser for testing purposes. The potential of this pull request is to implement a minimal stresser binary package that would be bound to the local `valence_protocol` package, so it would be always up to date with the latest Valence Minecraft protocol implementation. The MVP version is going to be able concurrently connect headless clients to a target Minecraft server. ## Test Plan <!-- Explain how you tested your changes, and include any code that you used to test this. --> <!-- If there is an example that is sufficient to use in place of a playground, replace the playground section with a note that indicates this. --> <!-- <details> <summary>Playground</summary> ```rust PASTE YOUR PLAYGROUND CODE HERE ``` </details> --> <!-- You need to include steps regardless of whether or not you are using a playground. --> Steps: 1. Ensure that the connection mode is offline 2. Run `cargo run --example bench_players` or any other example 3. Run `cargo run --package valence_stresser -- --target 127.0.0.1:25565 --count 1000` 4. Monitor the `bench_players` output #### Related closes #211 --------- Co-authored-by: Carson McManus <dyc3@users.noreply.github.com>
2023-02-22 00:54:16 +11:00
[package]
name = "valence_stresser"
description = "A stresser for Valence Minecraft server framework development purposes."
authors = ["qualterz <qualterz@tutamail.com>"]
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.69"
clap = { version = "4.1.4", features = ["derive"] }
tokio = { version = "1.25.0", features = ["full"] }
uuid = { version = "1.3.0", features = ["v4"] }
valence_protocol = { version = "0.1.0", path = "../valence_protocol", features = [
"compression",
] }