Files
proton-sdk-rs/crates/proton-drive-rs/Cargo.toml
nvrl 5302285d08 feat(drive): report a public link's requests from the handshake on
A sink attached to an open public-link client missed the two handshake
requests, and every handshake replayed to replace an expired session,
because those go through the session-less helpers. Stream's playback
benchmark needs them to count what opening a share costs.

`open_with_telemetry` and `info_with_telemetry` take the sink before the
first request. It reaches the handshake, the anonymous session's API
calls and block downloads, and each renewal. The handshake routes are
reported under fixed labels, because their paths carry the link token.

`get_unauthenticated_observed` and `post_unauthenticated_observed` time
one logical call under a caller-given route. The existing helpers
delegate to them with no sink.
2026-11-28 14:04:31 +01:00

41 lines
1.0 KiB
TOML

[package]
name = "proton-drive-rs"
description = "High-level Proton Drive client for Rust"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
readme = "../../README.md"
documentation = "https://docs.rs/proton-drive-rs"
[dependencies]
proton-sdk = { path = "../proton-sdk", version = "0.12.8" }
tokio.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_repr.workspace = true
thiserror.workspace = true
async-trait.workspace = true
futures.workspace = true
lru.workspace = true
bytes.workspace = true
chrono.workspace = true
base64.workspace = true
getrandom.workspace = true
hex.workspace = true
hmac.workspace = true
sha1.workspace = true
sha2.workspace = true
pgp.workspace = true
tracing.workspace = true
[dev-dependencies]
# A loopback HTTP server backs the public-link telemetry test.
tokio = { workspace = true, features = ["net"] }