Files
xet-core/progress_tracking/Cargo.toml
Di Xiao fa030edcd5 upgrade rust edition to 2024; upgrade rustc to 1.89 (#494)
- Upgrade Rust edition and rustc version to bring in some nice features,
e.g. let chains instead of nested if block.
- Fix clippy and format due to the upgrade.
- Fix a bug identified by the new rustc:
6cb0a7fb4e/xet_runtime/src/runtime.rs (L195)
```
#[cfg(not(target_family = "wasm"))]
{
    // A new multithreaded runtime with a capped number of threads
    TokioRuntimeBuilder::new_multi_thread().worker_threads(get_num_tokio_worker_threads())
}
```
here the end curly bracket drops the temporary builder while a `&mut
Self` to the dropped value is returned. (this may be due to a difference
between compilers regarding how they treat the scope of "{...}" of
`#[cfg(...))] {...}`?)
2025-09-17 10:28:50 -07:00

16 lines
368 B
TOML

[package]
name = "progress_tracking"
version = "0.1.0"
edition = "2024"
[dependencies]
merklehash = { path = "../merklehash" }
utils = { path = "../utils" }
async-trait = { workspace = true }
more-asserts = { workspace = true }
tokio = { workspace = true, features = ["test-util", "time"] }
[dev-dependencies]
tokio = { workspace = true, features = ["test-util"] }