From c62d8ae5862a840b7f90b41b324f068a9ec7cf6b Mon Sep 17 00:00:00 2001 From: Nefomemes Date: Fri, 22 Oct 2021 10:13:32 +0700 Subject: [PATCH] deps: add sourceview5 to deps --- Cargo.lock | 35 +++++++++++++++++++++++++++++++++++ Cargo.toml | 3 ++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index fe5ac16..22d9c21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,6 +73,7 @@ dependencies = [ "relative-path", "serde", "serde_json", + "sourceview5", ] [[package]] @@ -630,6 +631,40 @@ version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" +[[package]] +name = "sourceview5" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2f8375300de56f43ef03876a8c6ede4be89ea994b76e0f07e080aeb43c6dc3" +dependencies = [ + "bitflags", + "gdk-pixbuf", + "gdk4", + "gio", + "glib", + "gtk4", + "libc", + "pango", + "sourceview5-sys", +] + +[[package]] +name = "sourceview5-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1be3031333cb0f2300aa9e57a25b82f9c9c915dce25b81ac703fbe9a4e6e8986" +dependencies = [ + "gdk-pixbuf-sys", + "gdk4-sys", + "gio-sys", + "glib-sys", + "gobject-sys", + "gtk4-sys", + "libc", + "pango-sys", + "system-deps 4.0.0", +] + [[package]] name = "strum" version = "0.21.0" diff --git a/Cargo.toml b/Cargo.toml index 46e8d7d..0516f82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,5 @@ glib = "0.14.5" serde_json = "1.0.68" serde = { version = "1.0.130", features = ["derive"] } relative-path = "1.5.0" -gdk = { version = "0.3.0", package = "gdk4"} \ No newline at end of file +gdk = { version = "0.3.0", package = "gdk4"} +sourceview = { package = "sourceview5", version = "0.3.0"} \ No newline at end of file