Skip to content

Upgrading serial_test 2 to 3

Breaking2.0.0 → 3.5.0Breaking1New7Changed7Fixed4Other9

BreakingUpgrade verdict

1 breaking change.

  • You can now list several keys in one attribute, but if you use file-based locking you must write the file path in a new separate form.
1 item needs code or config changes

Requires Rust 1.68 from 3.4.0 (none stated before).

Adds env_logger >=0.6.1, futures-executor ^0.3, futures-util ^0.3, once_cell ^1.19.

Drops dashmap, futures, lazy_static, tokio.

Installs 33 packages in all (was 42).

Breaking1
Adds multi-key support to all attributes, so #[serial(one, two)] works, but file_serial paths must now be given separately.
#[serial(one, two)]#[file_serial(key, path => "/tmp/foo")]file_serial