Skip to content

Commit 679fc4a

Browse files
dfaust0xpr03
authored andcommitted
Use path to link to local dependencies
1 parent 1d88f6d commit 679fc4a

File tree

7 files changed

+12
-17
lines changed

7 files changed

+12
-17
lines changed

Cargo.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,3 @@ members = [
1111
]
1212

1313
exclude = ["examples/hot_reload_tide"]
14-
15-
[patch.crates-io]
16-
notify = { path = "notify/" }
17-
notify-debouncer-mini = { path = "notify-debouncer-mini/" }
18-
notify-debouncer-refined = { path = "notify-debouncer-refined/" }
19-
file-id = { path = "file-id/" }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Originally created by [Félix Saparelli] and awesome [contributors].
7676
[contributors]: https://github.com/notify-rs/notify/graphs/contributors
7777
[crate]: https://crates.io/crates/notify
7878
[docket]: https://iwillspeak.github.io/docket/
79-
[docs]: https://docs.rs/notify/5.1.0/notify/
79+
[docs]: https://docs.rs/notify/6.0.0/notify/
8080
[fsnotify]: https://github.com/go-fsnotify/fsnotify
8181
[handlebars-iron]: https://github.com/sunng87/handlebars-iron
8282
[hotwatch]: https://github.com/francesca64/hotwatch

examples/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ publish = false
55
edition = "2021"
66

77
[dev-dependencies]
8-
notify = { version = "5.1.0" }
9-
notify-debouncer-mini = { version = "0.2.0" }
10-
notify-debouncer-refined = { version = "0.1.0" }
8+
notify = { version = "6.0.0", path = "../notify" }
9+
notify-debouncer-mini = { version = "0.2.0", path = "../notify-debouncer-mini" }
10+
notify-debouncer-refined = { version = "0.1.0", path = "../notify-debouncer-refined" }
1111
futures = "0.3"
1212
tempfile = "3.5.0"
1313

examples/hot_reload_tide/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tide = "0.16.0"
1111
async-std = { version = "1.6.0", features = ["attributes"] }
1212
serde_json = "1.0"
1313
serde = "1.0.115"
14-
notify = { version = "5.1.0", features = ["serde"], path = "../../notify" }
14+
notify = { version = "6.0.0", features = ["serde"], path = "../../notify" }
1515

1616
# required to prevent mixing with workspace
1717
# hack to prevent cargo audit from catching this

notify-debouncer-mini/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ default = ["crossbeam"]
2424
crossbeam = ["crossbeam-channel","notify/crossbeam-channel"]
2525

2626
[dependencies]
27-
notify = "5.1.0"
27+
notify = { version = "6.0.0", path = "../notify" }
2828
crossbeam-channel = { version = "0.5", optional = true }
2929
serde = { version = "1.0.89", features = ["derive"], optional = true }

notify-debouncer-refined/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ default = ["crossbeam"]
2424
crossbeam = ["crossbeam-channel","notify/crossbeam-channel"]
2525

2626
[dependencies]
27-
notify = "5.1.0"
27+
notify = { version = "6.0.0", path = "../notify" }
2828
crossbeam-channel = { version = "0.5", optional = true }
2929
serde = { version = "1.0.89", features = ["derive"], optional = true }
30-
file-id = "0.1.0"
30+
file-id = { version = "0.1.0", path = "../file-id" }
3131
walkdir = "2.2.2"
3232
parking_lot = "0.12.1"
3333

notify/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
//!
55
//! ```toml
66
//! [dependencies]
7-
//! notify = "5.1.0"
7+
//! notify = "6.0.0"
88
//! ```
99
//!
1010
//! If you want debounced events, see [notify-debouncer-mini](https://github.com/notify-rs/notify/tree/main/notify-debouncer-mini)
11+
//! or [notify-debouncer-refined](https://github.com/notify-rs/notify/tree/main/notify-debouncer-refined).
1112
//!
1213
//! ## Features
1314
//!
@@ -23,7 +24,7 @@
2324
//! Events are serialisable via [serde](https://serde.rs) if the `serde` feature is enabled:
2425
//!
2526
//! ```toml
26-
//! notify = { version = "5.1.0", features = ["serde"] }
27+
//! notify = { version = "6.0.0", features = ["serde"] }
2728
//! ```
2829
//!
2930
//! ### Crossbeam-Channel & Tokio
@@ -34,7 +35,7 @@
3435
//! You can disable crossbeam-channel, letting notify fallback to std channels via
3536
//!
3637
//! ```toml
37-
//! notify = { version = "5.1.0", default-features = false, features = ["macos_kqueue"] }
38+
//! notify = { version = "6.0.0", default-features = false, features = ["macos_kqueue"] }
3839
//! // Alternatively macos_fsevent instead of macos_kqueue
3940
//! ```
4041
//! Note the `macos_kqueue` requirement here, otherwise no backend is available on macos.

0 commit comments

Comments
 (0)