Changed the anyrun-plugin dependency of the Websearch plugin to use a relative path

This fixes Nix builds, and makes the plugin follow the way the rest of the plugins already
define dependencies.
This commit is contained in:
Kirottu
2023-08-07 23:06:25 +03:00
parent 361267a555
commit e6129f6f84
2 changed files with 15 additions and 42 deletions

55
Cargo.lock generated
View File

@@ -128,8 +128,8 @@ name = "anyrun"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-interface 0.1.0", "anyrun-interface",
"anyrun-macros 0.1.0", "anyrun-macros",
"clap", "clap",
"gtk", "gtk",
"gtk-layer-shell", "gtk-layer-shell",
@@ -146,14 +146,6 @@ dependencies = [
"abi_stable", "abi_stable",
] ]
[[package]]
name = "anyrun-interface"
version = "0.1.0"
source = "git+https://github.com/Kirottu/anyrun#da97c9287f01f7d85ecf5e4ab8819bde3ae0e79a"
dependencies = [
"abi_stable",
]
[[package]] [[package]]
name = "anyrun-macros" name = "anyrun-macros"
version = "0.1.0" version = "0.1.0"
@@ -162,32 +154,13 @@ dependencies = [
"syn 2.0.15", "syn 2.0.15",
] ]
[[package]]
name = "anyrun-macros"
version = "0.1.0"
source = "git+https://github.com/Kirottu/anyrun#da97c9287f01f7d85ecf5e4ab8819bde3ae0e79a"
dependencies = [
"quote",
"syn 2.0.15",
]
[[package]] [[package]]
name = "anyrun-plugin" name = "anyrun-plugin"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-interface 0.1.0", "anyrun-interface",
"anyrun-macros 0.1.0", "anyrun-macros",
]
[[package]]
name = "anyrun-plugin"
version = "0.1.0"
source = "git+https://github.com/Kirottu/anyrun#da97c9287f01f7d85ecf5e4ab8819bde3ae0e79a"
dependencies = [
"abi_stable",
"anyrun-interface 0.1.0 (git+https://github.com/Kirottu/anyrun)",
"anyrun-macros 0.1.0 (git+https://github.com/Kirottu/anyrun)",
] ]
[[package]] [[package]]
@@ -195,7 +168,7 @@ name = "applications"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"fuzzy-matcher", "fuzzy-matcher",
"ron", "ron",
"serde", "serde",
@@ -560,7 +533,7 @@ name = "dictionary"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"reqwest", "reqwest",
"ron", "ron",
"serde", "serde",
@@ -1246,7 +1219,7 @@ name = "kidex"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"fuzzy-matcher", "fuzzy-matcher",
"kidex-common", "kidex-common",
"open", "open",
@@ -1680,7 +1653,7 @@ name = "randr"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"fuzzy-matcher", "fuzzy-matcher",
"hyprland", "hyprland",
"ron", "ron",
@@ -1790,7 +1763,7 @@ name = "rink"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"reqwest", "reqwest",
"rink-core", "rink-core",
] ]
@@ -1991,7 +1964,7 @@ name = "shell"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"ron", "ron",
"serde", "serde",
] ]
@@ -2047,7 +2020,7 @@ name = "stdin"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"fuzzy-matcher", "fuzzy-matcher",
"ron", "ron",
"serde", "serde",
@@ -2111,7 +2084,7 @@ name = "symbols"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"fuzzy-matcher", "fuzzy-matcher",
"ron", "ron",
"serde", "serde",
@@ -2326,7 +2299,7 @@ name = "translate"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0", "anyrun-plugin",
"futures", "futures",
"fuzzy-matcher", "fuzzy-matcher",
"reqwest", "reqwest",
@@ -2632,7 +2605,7 @@ name = "websearch"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"abi_stable", "abi_stable",
"anyrun-plugin 0.1.0 (git+https://github.com/Kirottu/anyrun)", "anyrun-plugin",
"ron", "ron",
"serde", "serde",
"strum 0.25.0", "strum 0.25.0",

View File

@@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
anyrun-plugin = { git = "https://github.com/Kirottu/anyrun" } anyrun-plugin = { path = "../../anyrun-plugin" }
abi_stable = "0.11.1" abi_stable = "0.11.1"
urlencoding = "2.1.3" urlencoding = "2.1.3"
ron = "0.8.0" ron = "0.8.0"