Reorganise features

Now the features do not directly enable each other, which should silence
extraneous deprecation warnings while running tests. This can be cleaned
up in the next BC break when the old features are removed.
This commit is contained in:
2025-04-10 19:12:33 +02:00
parent ccc4c98791
commit 8ec32bdf16
3 changed files with 13 additions and 18 deletions

View File

@@ -42,8 +42,8 @@ lock_api = ["dep:lock_api"]
parking_lot = ["dep:parking_lot", "lock_api"]
# Deprecated feature names from when cargo couldn't distinguish between dep and feature
lockapi = ["lock_api"]
parkinglot = ["parking_lot"]
lockapi = ["dep:lock_api"]
parkinglot = ["dep:parking_lot", "lock_api"]
[build-dependencies]
autocfg = "1.4.0"