Rename dependencies to their crate names

Keep the old names but deprecate them so we can remove them in 0.4.
This commit is contained in:
2025-03-10 22:12:18 +01:00
parent 9a79b53147
commit ccc4c98791
3 changed files with 30 additions and 11 deletions

View File

@@ -38,9 +38,12 @@ required-features = ["parkinglot"]
default = ["backtraces"]
backtraces = []
experimental = []
# Feature names do not match crate names pending namespaced features.
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"]
parkinglot = ["parking_lot"]
[build-dependencies]
autocfg = "1.4.0"