-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare toml files for crates.io publish
The rust version was determined by the dependency to regex, the main deadlocker crate could probably work with a lower rust version. However, since the main point of this project is the derive macro I have set the rust version in the main crate to match that of the derive crate.
- Loading branch information
Showing
3 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,22 @@ | |
name = "deadlocker" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
authors = ["Stefan Mack <[email protected]>"] | ||
categories = ["synchronization", "lock", "mutex"] | ||
description = "Bringing builder pattern to defeat deadlocks" | ||
documentation = "https://docs.rs/deadlocker" | ||
homepage = "https://github.com/Areskiko/deadlocker" | ||
keywords = ["mutex", "lock", "deadlock", "deadlocker"] | ||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/Areskiko/deadlocker" | ||
rust-version = "1.65" | ||
|
||
[dependencies] | ||
deadlocker_derive = { optional = true, path = "../deadlocker_derive" } | ||
deadlocker_derive = { version = "0", optional = true, path = "../deadlocker_derive" } | ||
|
||
[dev-dependencies] | ||
deadlocker_derive = { path = "../deadlocker_derive" } | ||
deadlocker_derive = { version = "0", path = "../deadlocker_derive" } | ||
|
||
[features] | ||
default = ["derive"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,17 @@ | |
name = "deadlocker_derive" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Stefan Mack <[email protected]>"] | ||
categories = ["synchronization", "lock", "mutex"] | ||
description = "Macro implementation for #[derive(Locker)]" | ||
documentation = "https://docs.rs/deadlocker_derive" | ||
homepage = "https://github.com/Areskiko/deadlocker" | ||
keywords = ["mutex", "lock", "deadlock", "deadlocker", "derive"] | ||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/Areskiko/deadlocker" | ||
rust-version = "1.65" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[lib] | ||
proc-macro = true | ||
|
||
|
@@ -12,7 +21,7 @@ proc-macro2 = "1.0" | |
syn = { version = "2.0", features = ["extra-traits"] } | ||
quote = "1.0" | ||
itertools = "0.12" | ||
regex = "1.10.4" | ||
regex = "1.10" | ||
|
||
[dev-dependencies] | ||
deadlocker = { path = "../deadlocker" } | ||
deadlocker = { version = "0", path = "../deadlocker" } |