11[package ]
22name = " synchronized"
3- version = " 1.0.4 "
3+ version = " 1.1.0 "
44authors = [" Denis Kotlyarov (Денис Котляров) <denis2005991@gmail.com>" ]
55repository = " https://github.com/clucompany/synchronized.git"
6- edition = " 2021"
7- build = " build.rs"
6+ edition = " 2024"
87
98license = " Apache-2.0"
109readme = " README.md"
@@ -21,24 +20,25 @@ all-features = true
2120rustdoc-args = [" --cfg" , " docsrs" ]
2221
2322[features ]
24- default = [" std" , " point" , " get_point_name" ]
25- # Ability to get the name of the synchronization point.
26- get_point_name = []
27- # Adds or removes support for the `synchronized_point` macro.
23+ default = [" std" , " point" ]
24+ # Adds or removes support for the `sync_point` macro.
2825point = []
26+
27+ # Alternative to `std` flag but only uses synchronization primitives from `parking_lot`
28+ pl = [" parking_lot" ]
29+
2930# Use synchronization primitives from `std`. Note that is_lock is not supported in it.
3031#
3132# Note that you can just use `parking_lot` instead of `std`.
3233std = []
3334
3435# The synchronization primitive is implemented using the `tokio`+`parking_lot`
3536# library for an asynchronous environment.
36- async = [" tokio" , " async-trait " ]
37+ async = [" tokio" ]
3738
3839[dependencies ]
3940# The synchronization primitive is implemented using the `parking_lot` library.
40- parking_lot = { version = " 0.12.1 " , optional = true }
41+ parking_lot = { version = " 0.12.3 " , optional = true }
4142
4243# The synchronization primitive is implemented using the `tokio`+`parking_lot` library.
43- tokio = { version = " 1.21.2" , optional = true , default-features = false , features = [" parking_lot" , " sync" ]}
44- async-trait = { version = " 0.1.58" , optional = true }
44+ tokio = { version = " 1.44.2" , optional = true , default-features = false , features = [" parking_lot" , " sync" ]}
0 commit comments