aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock196
-rw-r--r--Cargo.toml3
2 files changed, 166 insertions, 33 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 0be3562..5cb8e86 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -26,7 +26,7 @@ dependencies = [
"atk-sys",
"bitflags",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
]
@@ -37,10 +37,10 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f530e4af131d94cc4fa15c5c9d0348f0ef28bac64ba660b6b2a1cf2605dedfce"
dependencies = [
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
@@ -75,7 +75,7 @@ dependencies = [
"bitflags",
"cairo-sys-rs",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"thiserror",
@@ -87,9 +87,9 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ed2639b9ad5f1d6efa76de95558e11339e7318426d84ac4890b86c03e828ca7"
dependencies = [
- "glib-sys",
+ "glib-sys 0.10.1",
"libc",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
@@ -102,14 +102,25 @@ dependencies = [
]
[[package]]
+name = "cfg-expr"
+version = "0.17.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d4ba6e40bd1184518716a6e1a781bf9160e286d219ccdb8ab2612e74cfe4789"
+dependencies = [
+ "smallvec",
+ "target-lexicon",
+]
+
+[[package]]
name = "dropout"
version = "0.1.0"
dependencies = [
"env_logger",
+ "glib-sys 0.20.7",
"gtk",
"log",
"serde",
- "toml",
+ "toml 0.5.11",
]
[[package]]
@@ -132,6 +143,12 @@ dependencies = [
]
[[package]]
+name = "equivalent"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
+
+[[package]]
name = "futures"
version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -234,7 +251,7 @@ dependencies = [
"gio",
"gio-sys",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"pango",
@@ -250,7 +267,7 @@ dependencies = [
"gio",
"gio-sys",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
]
@@ -262,10 +279,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bfe468a7f43e97b8d193a762b6c5cf67a7d36cacbc0b9291dbcae24bfea1e8f"
dependencies = [
"gio-sys",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
@@ -277,12 +294,12 @@ dependencies = [
"cairo-sys-rs",
"gdk-pixbuf-sys",
"gio-sys",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"pango-sys",
"pkg-config",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
@@ -299,7 +316,7 @@ dependencies = [
"futures-util",
"gio-sys",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"once_cell",
@@ -312,10 +329,10 @@ version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e24fb752f8f5d2cf6bbc2c606fd2bc989c81c5e2fe321ab974d54f8b6344eac"
dependencies = [
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
- "system-deps",
+ "system-deps 1.3.2",
"winapi",
]
@@ -332,7 +349,7 @@ dependencies = [
"futures-task",
"futures-util",
"glib-macros",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"once_cell",
@@ -345,7 +362,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41486a26d1366a8032b160b59065a59fb528530a46a49f627e7048fb8c064039"
dependencies = [
"anyhow",
- "heck",
+ "heck 0.3.3",
"itertools",
"proc-macro-crate",
"proc-macro-error",
@@ -361,7 +378,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7e9b997a66e9a23d073f2b1abb4dbfc3925e0b8952f67efd8d9b6e168e4cdc1"
dependencies = [
"libc",
- "system-deps",
+ "system-deps 1.3.2",
+]
+
+[[package]]
+name = "glib-sys"
+version = "0.20.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b360ff0f90d71de99095f79c526a5888c9c92fc9ee1b19da06c6f5e75f0c2a53"
+dependencies = [
+ "libc",
+ "system-deps 7.0.3",
]
[[package]]
@@ -370,9 +397,9 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "952133b60c318a62bf82ee75b93acc7e84028a093e06b9e27981c2b6fe68218c"
dependencies = [
- "glib-sys",
+ "glib-sys 0.10.1",
"libc",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
@@ -393,7 +420,7 @@ dependencies = [
"gio",
"gio-sys",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"gtk-sys",
"libc",
@@ -414,14 +441,20 @@ dependencies = [
"gdk-pixbuf-sys",
"gdk-sys",
"gio-sys",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"pango-sys",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
+name = "hashbrown"
+version = "0.15.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
+
+[[package]]
name = "heck"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -431,6 +464,12 @@ dependencies = [
]
[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
+[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -446,6 +485,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
+name = "indexmap"
+version = "2.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
+dependencies = [
+ "equivalent",
+ "hashbrown",
+]
+
+[[package]]
name = "itertools"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -486,7 +535,7 @@ checksum = "9937068580bebd8ced19975938573803273ccbcbd598c58d4906efd4ac87c438"
dependencies = [
"bitflags",
"glib",
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
"once_cell",
@@ -499,10 +548,10 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24d2650c8b62d116c020abd0cea26a4ed96526afda89b1c4ea567131fdefc890"
dependencies = [
- "glib-sys",
+ "glib-sys 0.10.1",
"gobject-sys",
"libc",
- "system-deps",
+ "system-deps 1.3.2",
]
[[package]]
@@ -529,7 +578,7 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
dependencies = [
- "toml",
+ "toml 0.5.11",
]
[[package]]
@@ -624,6 +673,15 @@ dependencies = [
]
[[package]]
+name = "serde_spanned"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
+dependencies = [
+ "serde",
+]
+
+[[package]]
name = "shlex"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -639,6 +697,12 @@ dependencies = [
]
[[package]]
+name = "smallvec"
+version = "1.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
+
+[[package]]
name = "strum"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -650,7 +714,7 @@ version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c"
dependencies = [
- "heck",
+ "heck 0.3.3",
"proc-macro2",
"quote",
"syn 1.0.109",
@@ -684,16 +748,35 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f3ecc17269a19353b3558b313bba738b25d82993e30d62a18406a24aba4649b"
dependencies = [
- "heck",
+ "heck 0.3.3",
"pkg-config",
"strum",
"strum_macros",
"thiserror",
- "toml",
- "version-compare",
+ "toml 0.5.11",
+ "version-compare 0.0.10",
]
[[package]]
+name = "system-deps"
+version = "7.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "66d23aaf9f331227789a99e8de4c91bf46703add012bdfd45fdecdfb2975a005"
+dependencies = [
+ "cfg-expr",
+ "heck 0.5.0",
+ "pkg-config",
+ "toml 0.8.19",
+ "version-compare 0.2.0",
+]
+
+[[package]]
+name = "target-lexicon"
+version = "0.12.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
+
+[[package]]
name = "termcolor"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -732,6 +815,40 @@ dependencies = [
]
[[package]]
+name = "toml"
+version = "0.8.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
+dependencies = [
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "toml_edit",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.22.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
+dependencies = [
+ "indexmap",
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "winnow",
+]
+
+[[package]]
name = "unicode-ident"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -750,6 +867,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d63556a25bae6ea31b52e640d7c41d1ab27faba4ccb600013837a3d0b3994ca1"
[[package]]
+name = "version-compare"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b"
+
+[[package]]
name = "version_check"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -858,3 +981,12 @@ name = "windows_x86_64_msvc"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "winnow"
+version = "0.6.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8d71a593cc5c42ad7876e2c1fda56f314f3754c084128833e64f1345ff8a03a"
+dependencies = [
+ "memchr",
+]
diff --git a/Cargo.toml b/Cargo.toml
index 29c9f54..82ec8c2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,9 +9,10 @@ serde = { version = "1.0", features = ["derive"] } # 用于序列化和反序
toml = "0.5" # 用于配置文件解析
log = "0.4" # 用于日志记录
env_logger = "0.9" # 用于环境日志记录
+glib-sys = "0.20.7"
[profile.dev]
opt-level = 0
[profile.release]
-opt-level = 3 \ No newline at end of file
+opt-level = 3