Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shorten workspace deps declaration #614

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>"]
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 <[email protected]>"]
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 <[email protected]>"]
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 <[email protected]>"]
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 <[email protected]>",
"Aron Heinecke <[email protected]>"
]
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