Files
matrix-rust-sdk/examples/persist_session/Cargo.toml
Benjamin Bouvier 8de33f68f3 integration tests: randomize user names better
In the previous situation, running the tests with `cargo test` would sometimes fail because despite appending the number of milliseconds since
the start of epoch to the user names, some user names would clash across different tests, leading to unexpected results. This fixes it by using
an actual RNG in there, so the names don't ever clash.
2023-11-01 07:57:46 +01:00

22 lines
585 B
TOML

[package]
name = "example-persist-session"
version = "0.1.0"
edition = "2021"
publish = false
[[bin]]
name = "example-persist-session"
test = false
[dependencies]
anyhow = "1"
dirs = "5.0.1"
rand = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.15"
# when copy-pasting this, please use a git dependency or make sure that you
# have copied the example as it was at the time of the release you use.
matrix-sdk = { path = "../../crates/matrix-sdk" }