From 3746a3e0268f68b1d048cf6ac9585bc53bc477d9 Mon Sep 17 00:00:00 2001 From: Philipp Reiter Date: Sat, 17 Aug 2024 19:59:48 +0200 Subject: [PATCH] Link to local dependencies --- Cargo.lock | 98 +++++++++++++++++++++++++-------------- wireman-config/Cargo.toml | 8 ++-- wireman-theme/Cargo.toml | 4 +- wireman/Cargo.toml | 20 ++++---- 4 files changed, 78 insertions(+), 52 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e849a45..0796273 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,12 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "adler2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" + [[package]] name = "ahash" version = "0.8.11" @@ -226,7 +232,7 @@ dependencies = [ "cc", "cfg-if", "libc", - "miniz_oxide", + "miniz_oxide 0.7.4", "object", "rustc-demangle", ] @@ -317,9 +323,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.13" +version = "1.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48" +checksum = "50d2eb3cd3d1bf4529e31c215ee6f93ec5a3d536d9f578f93d9d33ee19562932" dependencies = [ "shlex", ] @@ -607,9 +613,9 @@ checksum = "a0474425d51df81997e2f90a21591180b38eccf27292d755f3e30750225c175b" [[package]] name = "fastrand" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "fdeflate" @@ -628,12 +634,12 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.31" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" +checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" dependencies = [ "crc32fast", - "miniz_oxide", + "miniz_oxide 0.8.0", ] [[package]] @@ -1038,9 +1044,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.156" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a" +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "libredox" @@ -1167,6 +1173,15 @@ dependencies = [ "simd-adler32", ] +[[package]] +name = "miniz_oxide" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" +dependencies = [ + "adler2", +] + [[package]] name = "mio" version = "1.0.2" @@ -1459,7 +1474,7 @@ dependencies = [ "crc32fast", "fdeflate", "flate2", - "miniz_oxide", + "miniz_oxide 0.7.4", ] [[package]] @@ -1473,9 +1488,9 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +checksum = "a909e6e8053fa1a5ad670f5816c7d93029ee1fa8898718490544a6b0d5d38b3e" dependencies = [ "proc-macro2", "syn", @@ -1588,9 +1603,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -1627,9 +1642,9 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ba6a365afbe5615999275bea2446b970b10a41102500e27ce7678d50d978303" +checksum = "fdef7f9be5c0122f890d58bdf4d964349ba6a6161f705907526d891efabba57d" dependencies = [ "bitflags 2.6.0", "cassowary", @@ -1657,9 +1672,9 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", @@ -1745,9 +1760,9 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba" +checksum = "04182dffc9091a404e0fc069ea5cd60e5b866c3adf881eff99a32d048242dffa" dependencies = [ "openssl-probe", "rustls-pemfile", @@ -1835,9 +1850,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.208" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" +checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" dependencies = [ "serde_derive", ] @@ -1854,9 +1869,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.208" +version = "1.0.209" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" +checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" dependencies = [ "proc-macro2", "quote", @@ -1865,9 +1880,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.125" +version = "1.0.127" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8e735a073ccf5be70aa8066aa984eaf2fa000db6c8d0100ae605b366d31ed" +checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" dependencies = [ "itoa", "memchr", @@ -2014,9 +2029,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "2.0.74" +version = "2.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7" +checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525" dependencies = [ "proc-macro2", "quote", @@ -2075,9 +2090,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.39.2" +version = "1.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daa4fb1bc778bd6f04cbfc4bb2d06a7396a8f299dc33ea1900cedaa316f467b1" +checksum = "9babc99b9923bfa4804bd74722ff02c0381021eafa4db9949217e3be8e84fff5" dependencies = [ "backtrace", "bytes", @@ -2277,9 +2292,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tui-widget-list" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "884b5d63dd439c721ec28ae1a19cbc9cb9dc151bd2d00940e94ba4dc728a236e" +checksum = "f953e329dc348bdda7bb2e1533ab5c9d9a0a896814f09a7bb491fd31c7bcc822" dependencies = [ "ratatui", ] @@ -2623,7 +2638,7 @@ dependencies = [ "wireman-config", "wireman-core", "wireman-event-handler", - "wireman-logger", + "wireman-logger 0.1.0", "wireman-theme", ] @@ -2636,7 +2651,7 @@ dependencies = [ "shellexpand", "thiserror", "toml", - "wireman-logger", + "wireman-logger 0.1.0", "wireman-theme", ] @@ -2679,6 +2694,17 @@ dependencies = [ "serde", ] +[[package]] +name = "wireman-logger" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b6026faf8a1e47190fd1a746f37d9ca38159a99e0b9528a08779670732aabd3" +dependencies = [ + "chrono", + "once_cell", + "serde", +] + [[package]] name = "wireman-theme" version = "0.1.0" @@ -2689,7 +2715,7 @@ dependencies = [ "serde", "shellexpand", "toml", - "wireman-logger", + "wireman-logger 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/wireman-config/Cargo.toml b/wireman-config/Cargo.toml index da7694d..1dcb0c6 100644 --- a/wireman-config/Cargo.toml +++ b/wireman-config/Cargo.toml @@ -10,10 +10,10 @@ license = "MIT" [dependencies] clap = { version = "4.5", features = ["derive"] } -# logger = { package = "wireman-logger", path = "../wireman-logger", version = "0.1.0" } -# theme = { package = "wireman-theme", path = "../wireman-theme", version = "0.1.0" } -logger = { package = "wireman-logger", version = "0.1.0" } -theme = { package = "wireman-theme", version = "0.1.0" } +logger = { package = "wireman-logger", path = "../wireman-logger", version = "0.1.0" } +theme = { package = "wireman-theme", path = "../wireman-theme", version = "0.1.0" } +# logger = { package = "wireman-logger", version = "0.1.0" } +# theme = { package = "wireman-theme", version = "0.1.0" } serde = { version = "1.0", features = ["derive"] } shellexpand = "3.1.0" thiserror = "1.0" diff --git a/wireman-theme/Cargo.toml b/wireman-theme/Cargo.toml index 479c2a5..eca8968 100644 --- a/wireman-theme/Cargo.toml +++ b/wireman-theme/Cargo.toml @@ -10,8 +10,8 @@ license = "MIT" [dependencies] cssparser = "0.33.0" -# logger = { package = "wireman-logger", path = "../wireman-logger", version = "0.1.0" } -logger = { package = "wireman-logger", version = "0.1.0" } +logger = { package = "wireman-logger", path = "../wireman-logger", version = "0.1.0" } +# logger = { package = "wireman-logger", version = "0.1.0" } once_cell = "1.19" ratatui = "0.28.0" serde = { version = "1.0", features = ["derive"] } diff --git a/wireman/Cargo.toml b/wireman/Cargo.toml index 6ce68c8..0ebdb5e 100644 --- a/wireman/Cargo.toml +++ b/wireman/Cargo.toml @@ -11,17 +11,17 @@ license = "MIT" rust-version = "1.70.0" [dependencies] -# core = { package = "wireman-core", path = "../wireman-core", version = "0.1.0" } -# config = { package = "wireman-config", path = "../wireman-config", version = "0.1.0" } -# logger = { package = "wireman-logger", path = "../wireman-logger", version = "0.1.0" } -# theme = { package = "wireman-theme", path = "../wireman-theme", version = "0.1.0" } -# event-handler = { package = "wireman-event-handler", path = "../wireman-event-handler", version = "0.1.0" } +core = { package = "wireman-core", path = "../wireman-core", version = "0.1.0" } +config = { package = "wireman-config", path = "../wireman-config", version = "0.1.0" } +logger = { package = "wireman-logger", path = "../wireman-logger", version = "0.1.0" } +theme = { package = "wireman-theme", path = "../wireman-theme", version = "0.1.0" } +event-handler = { package = "wireman-event-handler", path = "../wireman-event-handler", version = "0.1.0" } -core = { package = "wireman-core", version = "0.1.0" } -config = { package = "wireman-config", version = "0.1.0" } -logger = { package = "wireman-logger", version = "0.1.0" } -theme = { package = "wireman-theme", version = "0.1.0" } -event-handler = { package = "wireman-event-handler", version = "0.1.0" } +# core = { package = "wireman-core", version = "0.1.0" } +# config = { package = "wireman-config", version = "0.1.0" } +# logger = { package = "wireman-logger", version = "0.1.0" } +# theme = { package = "wireman-theme", version = "0.1.0" } +# event-handler = { package = "wireman-event-handler", version = "0.1.0" } tui-widget-list = { version = "0.12.0" } edtui = "0.7"