clash/client/Cargo.toml
renovate[bot] 9a83c58636
Update Rust crate pyroscope to v2 (#429)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pyroscope](https://pyroscope.io/docs/rust)
([source](https://redirect.github.com/pyroscope-io/pyroscope-rs)) |
dependencies | major | `0.5.8` → `2.0.0` |

---

### Release Notes

<details>
<summary>pyroscope-io/pyroscope-rs (pyroscope)</summary>

###
[`v2.0.0`](https://redirect.github.com/pyroscope-io/pyroscope-rs/blob/HEAD/CHANGELOG.md#v200)

#### Breaking Changes

- `Backend::report()` now returns `ReportBatch` instead of `Vec<Report>`
([#&#8203;437](https://redirect.github.com/grafana/pyroscope-rs/pull/437),
[#&#8203;447](https://redirect.github.com/grafana/pyroscope-rs/pull/447))
- New `ReportData` enum replaces the plain `Vec<Report>` in
`ReportBatch`, supporting both structured reports
(`ReportData::Reports`) and pre-encoded pprof bytes
(`ReportData::RawPprof`)
([#&#8203;447](https://redirect.github.com/grafana/pyroscope-rs/pull/447))
- Minimum supported Rust version bumped from 1.64 to 1.66

#### New Features

- **Jemalloc memory profiling backend** — new `backend-jemalloc` feature
flag enables heap profiling via `jemalloc_pprof`. Use
`pyroscope::backend::jemalloc::jemalloc_backend()` to get started
([#&#8203;378](https://redirect.github.com/grafana/pyroscope-rs/pull/378))
- **`ReportBatch` type** — backends now return a `ReportBatch` with a
`profile_type` field (e.g. `"process_cpu"`, `"memory"`), enabling
multi-profile support
([#&#8203;437](https://redirect.github.com/grafana/pyroscope-rs/pull/437))

#### Dependencies

- Updated `pprof` (pprof-pyroscope-fork) to v0.1500.3
([#&#8203;407](https://redirect.github.com/grafana/pyroscope-rs/pull/407))
- Updated `object` crate to 0.38
([#&#8203;430](https://redirect.github.com/grafana/pyroscope-rs/pull/430))
- Disabled py-spy default features to exclude CLI dependencies
([#&#8203;418](https://redirect.github.com/grafana/pyroscope-rs/pull/418))
- Added `jemalloc_pprof` 0.8 and `tokio` 1 as workspace dependencies

###
[`v1.0.0`](https://redirect.github.com/pyroscope-io/pyroscope-rs/blob/HEAD/CHANGELOG.md#v100)

#### Breaking Changes

- Removed `auth_token` from Python and Ruby FFI bindings and related
code
- Removed `detect_subprocesses` from Python and Ruby configs
- Config constructor now requires app/spy identity and sample rate
inputs
- Removed support for collapsed format
- Removed global tags from ruleset

#### New Features

- Integrated pprof-rs backend into main crate behind optional
`backend-pprof-rs` feature
- Switched to push API (from `/ingest` to `/push`)
- Generated push API protos
- Added `ThreadId` type
- Added `rustls-no-provider` TLS feature

#### Bug Fixes / Improvements

- Unified signal logic
- Report cleanup functions
- Optimized ruleset
- Removed obscure thread id hash check
- Ruby: inline thread\_id crate; remove detect\_subprocess
- Dependency updates (reqwest 0.13, prost 0.14, thiserror 2.0,
serde\_json 1.0.115, uuid 1.20, libflate 2.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/boardgamers/clash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-15 06:06:06 +00:00

34 lines
899 B
TOML

[package]
name = "client"
version = "0.1.0"
edition = "2024"
default-run = "local_client"
license = "MIT"
repository = "git@github.com:boardgamers/clash.git"
homepage = "https://www.boardgamers.space/"
description = "A client for Clash of Cultures"
[dependencies]
macroquad = "0.4.14"
hex2d = "1.1.0"
itertools = "0.14.0"
serde_json = "1.0.140"
server = { path = "../server" }
wasm-bindgen = "0.2.100"
wasm-bindgen-futures = "0.4.50"
console_error_panic_hook = "0.1.7"
web-sys = { version = "0.3.77", features = ["Window"] }
pyroscope = { version = "2.0.0", optional = true }
pyroscope_pprofrs = { version = "0.2.10", optional = true }
serde = { version = "1.0.219", features = ["derive"] }
[features]
profiling = ["dep:pyroscope", "dep:pyroscope_pprofrs"]
[[bin]]
name = "local_client"
path = "src/local_client/bin/main.rs"
[[bin]]
name = "remote_client"
path = "src/remote_client/bin/main.rs"