aboutsummaryrefslogtreecommitdiff
path: root/pkgs/cynic-cli/fix-cargo-toml.patch
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-26 01:34:55 -0700
committerFuwn <[email protected]>2024-09-26 01:40:13 -0700
commit4c399912cb917b47467c20a3b8a0ec19d4eb8ef4 (patch)
tree3e5df6739e79fdf1f43caac955f6ec864b117bd1 /pkgs/cynic-cli/fix-cargo-toml.patch
parentfeat(pkgs): bump zen-browser-bin (diff)
downloadtsutsumi-4c399912cb917b47467c20a3b8a0ec19d4eb8ef4.tar.xz
tsutsumi-4c399912cb917b47467c20a3b8a0ec19d4eb8ef4.zip
feat(pkgs): add cynic-cli
Diffstat (limited to 'pkgs/cynic-cli/fix-cargo-toml.patch')
-rw-r--r--pkgs/cynic-cli/fix-cargo-toml.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/cynic-cli/fix-cargo-toml.patch b/pkgs/cynic-cli/fix-cargo-toml.patch
new file mode 100644
index 0000000..ebb311c
--- /dev/null
+++ b/pkgs/cynic-cli/fix-cargo-toml.patch
@@ -0,0 +1,37 @@
+diff --git i/Cargo.toml w/Cargo.toml
+index 300b80a..6f0c0f8 100644
+--- i/Cargo.toml
++++ w/Cargo.toml
+@@ -4,13 +4,13 @@ description = "A CLI for cynic, a code first GraphQL client for Rust"
+ keywords = ["graphql", "client", "introspection", "cli"]
+ readme = "README.md"
+
+-version = { workspace = true }
+-authors = { workspace = true }
+-edition = { workspace = true }
+-homepage = { workspace = true }
+-license = { workspace = true }
+-repository = { workspace = true }
+-rust-version = { workspace = true }
++version = "3.8.0"
++authors = ["Graeme Coupar <[email protected]>"]
++edition = "2021"
++homepage = "https://cynic-rs.dev"
++license = "MPL-2.0"
++repository = "https://github.com/obmarg/cynic"
++rust-version = "1.72"
+
+ # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+@@ -21,9 +21,9 @@ path = "src/main.rs"
+ [dependencies]
+ clap = { version = "4", features = ["derive"] }
+ colored = "2"
+-cynic = { path = "../cynic", version = "3.8.0", features = ["http-reqwest-blocking"] }
+-cynic-introspection = { path = "../cynic-introspection", version = "3.8.0" }
+-cynic-querygen = { path = "../cynic-querygen", version = "3.8.0" }
++cynic = { version = "3.8.0", features = ["http-reqwest-blocking"] }
++cynic-introspection = { version = "3.8.0" }
++cynic-querygen = { version = "3.8.0" }
+ reqwest = { version = "0.12", features = ["blocking"] }
+ thiserror = "1"