Skip to content

Commit

Permalink
shorten workspace deps declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpr03 committed Jul 14, 2024
1 parent ae69a5c commit 6a23862
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 51 deletions.
10 changes: 5 additions & 5 deletions file-id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ license = "MIT OR Apache-2.0"
keywords = ["filesystem", "inode", "file", "index"]
categories = ["filesystem"]
authors = ["Daniel Faust <hessijames@gmail.com>"]
rust-version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[[bin]]
name = "file-id"
Expand All @@ -24,4 +24,4 @@ serde = { workspace = true, optional = true }
windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }

[dev-dependencies]
tempfile = { workspace = true }
tempfile.workspace = true
28 changes: 14 additions & 14 deletions notify-debouncer-full/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ authors = ["Daniel Faust <hessijames@gmail.com>"]
keywords = ["events", "filesystem", "notify", "watch"]
license = "MIT OR Apache-2.0"
readme = "README.md"
rust-version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[features]
default = ["macos_fsevent"]
Expand All @@ -22,18 +22,18 @@ macos_kqueue = ["notify/macos_kqueue"]
serialization-compat-6 = ["notify/serialization-compat-6"]

[dependencies]
notify = { workspace = true }
notify-types = { workspace = true }
notify.workspace = true
notify-types.workspace = true
crossbeam-channel = { workspace = true, optional = true }
file-id = { workspace = true }
walkdir = { workspace = true }
log = { workspace = true }
file-id.workspace = true
walkdir.workspace = true
log.workspace = true
mock_instant = { workspace = true, optional = true }

[dev-dependencies]
notify-debouncer-full = { workspace = true, features = ["mock_instant"] }
pretty_assertions = { workspace = true }
rstest = { workspace = true }
serde = { workspace = true }
deser-hjson = { workspace = true }
rand = { workspace = true }
pretty_assertions.workspace = true
rstest.workspace = true
serde.workspace = true
deser-hjson.workspace = true
rand.workspace = true
14 changes: 7 additions & 7 deletions notify-debouncer-mini/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ authors = ["Aron Heinecke <Ox0p54r36@t-online.de>"]
keywords = ["events", "filesystem", "notify", "watch"]
license = "MIT OR Apache-2.0"
readme = "README.md"
rust-version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[features]
default = ["macos_fsevent"]
Expand All @@ -21,7 +21,7 @@ macos_kqueue = ["notify/macos_kqueue"]
serialization-compat-6 = ["notify/serialization-compat-6"]

[dependencies]
notify = { workspace = true }
notify-types = { workspace = true }
notify.workspace = true
notify-types.workspace = true
crossbeam-channel = { workspace = true, optional = true }
log = { workspace = true }
log.workspace = true
14 changes: 7 additions & 7 deletions notify-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ license = "MIT OR Apache-2.0"
keywords = ["events", "filesystem", "notify", "watch"]
categories = ["filesystem"]
authors = ["Daniel Faust <hessijames@gmail.com>"]
rust-version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[features]
serialization-compat-6 = []
Expand All @@ -22,6 +22,6 @@ mock_instant = { workspace = true, optional = true }
instant.workspace = true

[dev-dependencies]
serde_json = { workspace = true }
insta = { workspace = true }
rstest = { workspace = true }
serde_json.workspace = true
insta.workspace = true
rstest.workspace = true
36 changes: 18 additions & 18 deletions notify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ authors = [
"Daniel Faust <hessijames@gmail.com>",
"Aron Heinecke <Ox0p54r36@t-online.de>"
]
rust-version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
rust-version.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[features]
default = ["macos_fsevent"]
Expand All @@ -25,19 +25,19 @@ macos_fsevent = ["fsevent-sys"]
serialization-compat-6 = ["notify-types/serialization-compat-6"]

[dependencies]
notify-types = { workspace = true }
notify-types.workspace = true
crossbeam-channel = { workspace = true, optional = true }
filetime = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
walkdir = { workspace = true }
filetime.workspace = true
libc.workspace = true
log.workspace = true
walkdir.workspace = true

[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
inotify = { workspace = true, default-features = false }
mio = { workspace = true }
mio.workspace = true

[target.'cfg(target_os="macos")'.dependencies]
bitflags = { workspace = true }
bitflags.workspace = true
fsevent-sys = { workspace = true, optional = true }
kqueue = { workspace = true, optional = true }
mio = { workspace = true, optional = true }
Expand All @@ -46,12 +46,12 @@ mio = { workspace = true, optional = true }
windows-sys = { workspace = true, features = ["Win32_System_Threading", "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_WindowsProgramming", "Win32_System_IO"] }

[target.'cfg(any(target_os="freebsd", target_os="openbsd", target_os = "netbsd", target_os = "dragonflybsd", target_os = "ios"))'.dependencies]
kqueue = { workspace = true }
mio = { workspace = true }
kqueue.workspace = true
mio.workspace = true

[dev-dependencies]
serde_json = { workspace = true }
tempfile = { workspace = true }
nix = { workspace = true }
insta = { workspace = true }
rstest = { workspace = true }
serde_json.workspace = true
tempfile.workspace = true
nix.workspace = true
insta.workspace = true
rstest.workspace = true

0 comments on commit 6a23862

Please sign in to comment.