Skip to content

Commit 1d88f6d

Browse files
dfaust0xpr03
authored andcommitted
Revert "Use workspace dependencies"
This reverts commit 7e8ea08.
1 parent b225bfe commit 1d88f6d

File tree

6 files changed

+53
-81
lines changed

6 files changed

+53
-81
lines changed

Cargo.toml

Lines changed: 12 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,19 @@
11
[workspace]
22

33
members = [
4-
"notify",
5-
"notify-debouncer-mini",
6-
"notify-debouncer-refined",
7-
"file-id",
8-
"examples",
9-
#"examples/hot_reload_tide" until https://github.com/rustsec/rustsec/issues/501 is resolved
4+
"notify",
5+
"notify-debouncer-mini",
6+
"notify-debouncer-refined",
7+
"file-id",
8+
# internal
9+
"examples"
10+
#"examples/hot_reload_tide" until https://github.com/rustsec/rustsec/issues/501 is resolved
1011
]
1112

1213
exclude = ["examples/hot_reload_tide"]
1314

14-
[workspace.dependencies]
15-
bitflags = "1.0.4"
16-
crossbeam-channel = "0.5.0"
17-
deser-hjson = "1.1.1"
18-
file-id = { path = "file-id" }
19-
filetime = "0.2.6"
20-
fsevent-sys = "4.0.0"
21-
futures = "0.3.0"
22-
inotify = { version = "0.9.0", default-features = false }
23-
kqueue = "1.0.4"
24-
libc = "0.2.4"
25-
mio = { version = "0.8.0", features = ["os-ext"] }
26-
mock_instant = "0.3.0"
27-
nix = "0.23.1"
28-
notify = { path = "notify" }
29-
notify-debouncer-mini = { path = "notify-debouncer-mini" }
30-
notify-debouncer-refined = { path = "notify-debouncer-refined" }
31-
parking_lot = "0.12.1"
32-
pretty_assertions = "1.3.0"
33-
rand = "0.8.5"
34-
rstest = "0.17.0"
35-
serde = { version = "1.0.89", features = ["derive"] }
36-
serde_json = "1.0.39"
37-
tempfile = "3.5.0"
38-
walkdir = "2.2.2"
39-
winapi-util = "0.1.5"
40-
windows-sys = { version = "0.45.0", features = [
41-
"Win32_System_Threading",
42-
"Win32_Foundation",
43-
"Win32_Storage_FileSystem",
44-
"Win32_Security",
45-
"Win32_System_WindowsProgramming",
46-
"Win32_System_IO",
47-
] }
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/" }

examples/Cargo.toml

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

77
[dev-dependencies]
8-
notify = { workspace = true }
9-
notify-debouncer-mini = { workspace = true }
10-
notify-debouncer-refined = { workspace = true }
11-
futures = { workspace = true }
12-
tempfile = { workspace = true }
8+
notify = { version = "5.1.0" }
9+
notify-debouncer-mini = { version = "0.2.0" }
10+
notify-debouncer-refined = { version = "0.1.0" }
11+
futures = "0.3"
12+
tempfile = "3.5.0"
1313

1414
[[example]]
1515
name = "async_monitor"

file-id/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ authors = ["Daniel Faust <hessijames@gmail.com>"]
1515
edition = "2021"
1616

1717
[dependencies]
18-
serde = { workspace = true, optional = true }
18+
serde = { version = "1.0.89", features = ["derive"], optional = true }
1919

20-
[target.'cfg(windows)'.dependencies]
21-
winapi-util = { workspace = true }
20+
[target.'cfg(windows)'.dependencies.winapi-util]
21+
version = "0.1.5"
2222

2323
[dev-dependencies]
24-
tempfile = { workspace = true }
24+
tempfile = "3.2.0"

notify-debouncer-mini/Cargo.toml

Lines changed: 3 additions & 3 deletions
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 = { workspace = true }
28-
crossbeam-channel = { workspace = true, optional = true }
29-
serde = { workspace = true }
27+
notify = "5.1.0"
28+
crossbeam-channel = { version = "0.5", optional = true }
29+
serde = { version = "1.0.89", features = ["derive"], optional = true }

notify-debouncer-refined/Cargo.toml

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

2626
[dependencies]
27-
notify = { workspace = true }
28-
crossbeam-channel = { workspace = true, optional = true }
29-
serde = { workspace = true, optional = true }
30-
file-id = { workspace = true }
31-
walkdir = { workspace = true }
32-
parking_lot = { workspace = true }
27+
notify = "5.1.0"
28+
crossbeam-channel = { version = "0.5", optional = true }
29+
serde = { version = "1.0.89", features = ["derive"], optional = true }
30+
file-id = "0.1.0"
31+
walkdir = "2.2.2"
32+
parking_lot = "0.12.1"
3333

3434
[dev-dependencies]
35-
pretty_assertions = { workspace = true }
36-
mock_instant = { workspace = true }
37-
rstest = { workspace = true }
38-
serde = { workspace = true }
39-
deser-hjson = { workspace = true }
40-
rand = { workspace = true }
35+
pretty_assertions = "1.3.0"
36+
mock_instant = "0.3.0"
37+
rstest = "0.17.0"
38+
serde = { version = "1.0.89", features = ["derive"] }
39+
deser-hjson = "1.1.1"
40+
rand = "0.8.5"

notify/Cargo.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,33 @@ authors = [
1818
edition = "2021"
1919

2020
[dependencies]
21-
bitflags = { workspace = true }
22-
crossbeam-channel = { workspace = true, optional = true }
23-
filetime = { workspace = true }
24-
libc = { workspace = true }
25-
serde = { workspace = true, optional = true }
26-
walkdir = { workspace = true }
21+
bitflags = "1.0.4"
22+
crossbeam-channel = { version = "0.5.0", optional = true }
23+
filetime = "0.2.6"
24+
libc = "0.2.4"
25+
serde = { version = "1.0.89", features = ["derive"], optional = true }
26+
walkdir = "2.2.2"
2727

2828
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
29-
inotify = { workspace = true }
30-
mio = { workspace = true }
29+
inotify = { version = "0.9", default-features = false }
30+
mio = { version = "0.8", features = ["os-ext"] }
3131

3232
[target.'cfg(target_os="macos")'.dependencies]
33-
fsevent-sys = { workspace = true, optional = true }
34-
kqueue = { workspace = true, optional = true }
35-
mio = { workspace = true, optional = true }
33+
fsevent-sys = { version = "4", optional = true }
34+
kqueue = { version = "1.0", optional = true }
35+
mio = { version = "0.8", features = ["os-ext"], optional = true }
3636

3737
[target.'cfg(windows)'.dependencies]
38-
windows-sys = { workspace = true }
38+
windows-sys = { version = "0.45.0", features = ["Win32_System_Threading", "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_WindowsProgramming", "Win32_System_IO"] }
3939

4040
[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd"))'.dependencies]
41-
kqueue = { workspace = true }
42-
mio = { workspace = true }
41+
kqueue = "^1.0.4" # fix for #344
42+
mio = { version = "0.8", features = ["os-ext"] }
4343

4444
[dev-dependencies]
45-
serde_json = { workspace = true }
46-
tempfile = { workspace = true }
47-
nix = { workspace = true }
45+
serde_json = "1.0.39"
46+
tempfile = "3.2.0"
47+
nix = "0.23.1"
4848

4949
[features]
5050
default = ["macos_fsevent","crossbeam-channel"]

0 commit comments

Comments
 (0)