From 952239e0710249de2e4c61792836ec01c7494e51 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Thu, 13 Jun 2024 21:11:52 +0800 Subject: [PATCH] Revert format on tomls Signed-off-by: Xuanwo --- Cargo.lock | 211 -------------------------------------- Cargo.toml | 12 +-- rustfmt.toml | 58 +++++------ yazi-adapter/Cargo.toml | 43 ++++---- yazi-config/Cargo.toml | 16 +-- yazi-dds/Cargo.toml | 36 +++---- yazi-fm/Cargo.toml | 67 ++++++------ yazi-plugin/Cargo.toml | 76 ++++++-------- yazi-proxy/Cargo.toml | 22 ++-- yazi-scheduler/Cargo.toml | 33 +++--- yazi-shared/Cargo.toml | 2 +- 11 files changed, 170 insertions(+), 406 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f74fdcc3..493ecafd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -310,9 +310,7 @@ checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", - "js-sys", "num-traits", - "wasm-bindgen", "windows-targets 0.52.5", ] @@ -440,56 +438,12 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "const-oid" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" - -[[package]] -name = "const-random" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" -dependencies = [ - "const-random-macro", -] - -[[package]] -name = "const-random-macro" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" -dependencies = [ - "getrandom", - "once_cell", - "tiny-keccak", -] - [[package]] name = "core-foundation-sys" version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" -[[package]] -name = "cpufeatures" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32c" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a47af21622d091a8f0fb295b88bc886ac74efcc613efc19f5d0b21de5c89e47" -dependencies = [ - "rustc_version", -] - [[package]] name = "crc32fast" version = "1.4.0" @@ -626,9 +580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", - "const-oid", "crypto-common", - "subtle", ] [[package]] @@ -652,15 +604,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "dlv-list" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" -dependencies = [ - "const-random", -] - [[package]] name = "either" version = "1.11.0" @@ -996,21 +939,6 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest", -] - [[package]] name = "home" version = "0.5.9" @@ -1602,7 +1530,6 @@ dependencies = [ "base64 0.22.1", "bytes", "chrono", - "crc32c", "flagset", "futures", "getrandom", @@ -1612,7 +1539,6 @@ dependencies = [ "once_cell", "percent-encoding", "quick-xml", - "reqsign", "reqwest", "serde", "serde_json", @@ -1635,16 +1561,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "ordered-multimap" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79" -dependencies = [ - "dlv-list", - "hashbrown", -] - [[package]] name = "overload" version = "0.1.1" @@ -1763,12 +1679,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - [[package]] name = "proc-macro-error" version = "1.0.4" @@ -1830,36 +1740,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - [[package]] name = "ratatui" version = "0.26.3" @@ -1958,34 +1838,6 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" -[[package]] -name = "reqsign" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70fe66d4cd0b5ed9b1abbfe639bf6baeaaf509f7da2d51b31111ba945be59286" -dependencies = [ - "anyhow", - "async-trait", - "base64 0.22.1", - "chrono", - "form_urlencoded", - "getrandom", - "hex", - "hmac", - "home", - "http", - "log", - "percent-encoding", - "quick-xml", - "rand", - "reqwest", - "rust-ini", - "serde", - "serde_json", - "sha1", - "sha2", -] - [[package]] name = "reqwest" version = "0.12.4" @@ -2044,17 +1896,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "rust-ini" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d625ed57d8f49af6cfa514c42e1a71fadcff60eb0b1c517ff82fe41aa025b41" -dependencies = [ - "cfg-if", - "ordered-multimap", - "trim-in-place", -] - [[package]] name = "rustc-demangle" version = "0.1.23" @@ -2067,15 +1908,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - [[package]] name = "rustix" version = "0.38.34" @@ -2157,12 +1989,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "semver" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" - [[package]] name = "serde" version = "1.0.203" @@ -2225,28 +2051,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - [[package]] name = "sharded-slab" version = "0.1.7" @@ -2548,15 +2352,6 @@ dependencies = [ "time-core", ] -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - [[package]] name = "tinyvec" version = "1.6.0" @@ -2784,12 +2579,6 @@ dependencies = [ "windows", ] -[[package]] -name = "trim-in-place" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343e926fc669bc8cde4fa3129ab681c63671bae288b1f1081ceee6d9d37904fc" - [[package]] name = "try-lock" version = "0.2.5" diff --git a/Cargo.toml b/Cargo.toml index d10ff20d..d0276a6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [workspace] -resolver = "2" -members = ["yazi-*"] -default-members = ["yazi-fm", "yazi-cli"] +resolver = "2" +members = [ "yazi-*" ] +default-members = [ "yazi-fm", "yazi-cli" ] [profile.release] codegen-units = 1 -lto = true -panic = "abort" -strip = true +lto = true +panic = "abort" +strip = true diff --git a/rustfmt.toml b/rustfmt.toml index 4d6f5d4c..69622ca3 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,31 +1,31 @@ -color = "Never" -condense_wildcard_suffixes = true -edition = "2021" +color = "Never" +condense_wildcard_suffixes = true +edition = "2021" enum_discrim_align_threshold = 99 -fn_single_line = true -format_code_in_doc_comments = false -format_generated_files = false -format_macro_matchers = true -format_macro_bodies = true -format_strings = false -hard_tabs = true -hex_literal_case = "Lower" -hide_parse_errors = true -imports_indent = "Visual" -imports_layout = "Horizontal" -imports_granularity = "Crate" -newline_style = "Unix" -normalize_comments = true -normalize_doc_attributes = false -overflow_delimited_expr = true -reorder_impl_items = true -group_imports = "StdExternalCrate" -reorder_modules = true +fn_single_line = true +format_code_in_doc_comments = false +format_generated_files = false +format_macro_matchers = true +format_macro_bodies = true +format_strings = false +hard_tabs = true +hex_literal_case = "Lower" +hide_parse_errors = true +imports_indent = "Visual" +imports_layout = "Horizontal" +imports_granularity = "Crate" +newline_style = "Unix" +normalize_comments = true +normalize_doc_attributes = false +overflow_delimited_expr = true +reorder_impl_items = true +group_imports = "StdExternalCrate" +reorder_modules = true struct_field_align_threshold = 99 -tab_spaces = 2 -unstable_features = true -use_field_init_shorthand = true -use_small_heuristics = "Max" -use_try_shorthand = true -version = "Two" -wrap_comments = true +tab_spaces = 2 +unstable_features = true +use_field_init_shorthand = true +use_small_heuristics = "Max" +use_try_shorthand = true +version = "Two" +wrap_comments = true diff --git a/yazi-adapter/Cargo.toml b/yazi-adapter/Cargo.toml index e9015e98..1b0fdccf 100644 --- a/yazi-adapter/Cargo.toml +++ b/yazi-adapter/Cargo.toml @@ -1,34 +1,31 @@ [package] -name = "yazi-adapter" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-adapter" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi image adapter" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [dependencies] yazi-config = { path = "../yazi-config", version = "0.2.5" } yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies -ansi-to-tui = "3.1.0" -anyhow = "1.0.86" -arc-swap = "1.7.1" -base64 = "0.22.1" -color_quant = "1.1.0" -crossterm = "0.27.0" -futures = "0.3.30" -image = "0.24.9" -imagesize = "0.12.0" +ansi-to-tui = "3.1.0" +anyhow = "1.0.86" +arc-swap = "1.7.1" +base64 = "0.22.1" +color_quant = "1.1.0" +crossterm = "0.27.0" +futures = "0.3.30" +image = "0.24.9" +imagesize = "0.12.0" kamadak-exif = "0.5.5" -ratatui = "0.26.3" -scopeguard = "1.2.0" -tokio = { version = "1.38.0", features = ["full"] } +ratatui = "0.26.3" +scopeguard = "1.2.0" +tokio = { version = "1.38.0", features = [ "full" ] } # Logging -tracing = { version = "0.1.40", features = [ - "max_level_debug", - "release_max_level_warn", -] } +tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] } diff --git a/yazi-config/Cargo.toml b/yazi-config/Cargo.toml index ab6a6162..a700f9a5 100644 --- a/yazi-config/Cargo.toml +++ b/yazi-config/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "yazi-config" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-config" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi configuration file parser" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [dependencies] yazi-shared = { path = "../yazi-shared", version = "0.2.5" } @@ -23,4 +23,4 @@ serde = { version = "1.0.203", features = [ "derive" ] } shell-words = "1.1.0" toml = { version = "0.8.14", features = [ "preserve_order" ] } validator = { version = "0.18.1", features = [ "derive" ] } -opendal = "0.47.0" +opendal = "0.47.0" \ No newline at end of file diff --git a/yazi-dds/Cargo.toml b/yazi-dds/Cargo.toml index 83cf269e..0b07070b 100644 --- a/yazi-dds/Cargo.toml +++ b/yazi-dds/Cargo.toml @@ -1,33 +1,33 @@ [package] -name = "yazi-dds" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-dds" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi data distribution service" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [features] -default = ["vendored-lua"] -vendored-lua = ["mlua/vendored"] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] [dependencies] -yazi-boot = { path = "../yazi-boot", version = "0.2.5" } +yazi-boot = { path = "../yazi-boot", version = "0.2.5" } yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies -anyhow = "1.0.86" -mlua = { version = "0.9.8", features = ["lua54"] } -parking_lot = "0.12.3" -serde = { version = "1.0.203", features = ["derive"] } -serde_json = "1.0.117" -tokio = { version = "1.38.0", features = ["full"] } +anyhow = "1.0.86" +mlua = { version = "0.9.8", features = [ "lua54" ] } +parking_lot = "0.12.3" +serde = { version = "1.0.203", features = [ "derive" ] } +serde_json = "1.0.117" +tokio = { version = "1.38.0", features = [ "full" ] } tokio-stream = "0.1.15" -tokio-util = "0.7.11" +tokio-util = "0.7.11" [build-dependencies] -vergen = { version = "8.3.1", features = ["build", "git", "gitcl"] } +vergen = { version = "8.3.1", features = [ "build", "git", "gitcl" ] } [target."cfg(unix)".dependencies] uzers = "0.12.0" diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml index 0e49df61..eaab5478 100644 --- a/yazi-fm/Cargo.toml +++ b/yazi-fm/Cargo.toml @@ -1,55 +1,48 @@ [package] -name = "yazi-fm" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-fm" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi File Manager" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [features] -default = ["vendored-lua"] -vendored-lua = ["mlua/vendored"] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] [dependencies] yazi-adapter = { path = "../yazi-adapter", version = "0.2.5" } -yazi-boot = { path = "../yazi-boot", version = "0.2.5" } -yazi-config = { path = "../yazi-config", version = "0.2.5" } -yazi-core = { path = "../yazi-core", version = "0.2.5" } -yazi-dds = { path = "../yazi-dds", version = "0.2.5" } -yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" } -yazi-shared = { path = "../yazi-shared", version = "0.2.5" } +yazi-boot = { path = "../yazi-boot", version = "0.2.5" } +yazi-config = { path = "../yazi-config", version = "0.2.5" } +yazi-core = { path = "../yazi-core", version = "0.2.5" } +yazi-dds = { path = "../yazi-dds", version = "0.2.5" } +yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" } +yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies -anyhow = "1.0.86" +anyhow = "1.0.86" better-panic = "0.3.0" -crossterm = { version = "0.27.0", features = ["event-stream"] } -fdlimit = "0.3.0" -futures = "0.3.30" -mlua = { version = "0.9.8", features = ["lua54"] } -ratatui = "0.26.3" -scopeguard = "1.2.0" -syntect = { version = "5.2.0", default-features = false, features = [ - "parsing", - "plist-load", - "regex-onig", -] } -tokio = { version = "1.38.0", features = ["full"] } -tokio-util = "0.7.11" +crossterm = { version = "0.27.0", features = [ "event-stream" ] } +fdlimit = "0.3.0" +futures = "0.3.30" +mlua = { version = "0.9.8", features = [ "lua54" ] } +ratatui = "0.26.3" +scopeguard = "1.2.0" +syntect = { version = "5.2.0", default-features = false, features = [ "parsing", "plist-load", "regex-onig" ] } +tokio = { version = "1.38.0", features = [ "full" ] } +tokio-util = "0.7.11" # Logging -tracing = { version = "0.1.40", features = [ - "max_level_debug", - "release_max_level_warn", -] } -tracing-appender = "0.2.3" +tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] } +tracing-appender = "0.2.3" tracing-subscriber = "0.3.18" [target."cfg(unix)".dependencies] -libc = "0.2.155" -signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"] } +libc = "0.2.155" +signal-hook-tokio = { version = "0.3.1", features = [ "futures-v0_3" ] } [target.'cfg(all(not(target_os = "macos"), not(target_os = "windows")))'.dependencies] tikv-jemallocator = "0.5.4" diff --git a/yazi-plugin/Cargo.toml b/yazi-plugin/Cargo.toml index 1579acc0..467999aa 100644 --- a/yazi-plugin/Cargo.toml +++ b/yazi-plugin/Cargo.toml @@ -1,60 +1,48 @@ [package] -name = "yazi-plugin" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-plugin" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi plugin system" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [features] -default = ["vendored-lua"] -vendored-lua = ["mlua/vendored"] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] [dependencies] yazi-adapter = { path = "../yazi-adapter", version = "0.2.5" } -yazi-boot = { path = "../yazi-boot", version = "0.2.5" } -yazi-config = { path = "../yazi-config", version = "0.2.5" } -yazi-dds = { path = "../yazi-dds", version = "0.2.5" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" } -yazi-shared = { path = "../yazi-shared", version = "0.2.5" } +yazi-boot = { path = "../yazi-boot", version = "0.2.5" } +yazi-config = { path = "../yazi-config", version = "0.2.5" } +yazi-dds = { path = "../yazi-dds", version = "0.2.5" } +yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" } +yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies -ansi-to-tui = "3.1.0" -anyhow = "1.0.86" -base64 = "0.22.1" -crossterm = "0.27.0" -futures = "0.3.30" -md-5 = "0.10.6" -mlua = { version = "0.9.8", features = [ - "lua54", - "serialize", - "macros", - "async", -] } -parking_lot = "0.12.3" -ratatui = "0.26.3" -serde = "1.0.203" -serde_json = "1.0.117" -shell-escape = "0.1.5" -shell-words = "1.1.0" -syntect = { version = "5.2.0", default-features = false, features = [ - "parsing", - "plist-load", - "regex-onig", -] } -tokio = { version = "1.38.0", features = ["full"] } -tokio-stream = "0.1.15" -tokio-util = "0.7.11" +ansi-to-tui = "3.1.0" +anyhow = "1.0.86" +base64 = "0.22.1" +crossterm = "0.27.0" +futures = "0.3.30" +md-5 = "0.10.6" +mlua = { version = "0.9.8", features = [ "lua54", "serialize", "macros", "async" ] } +parking_lot = "0.12.3" +ratatui = "0.26.3" +serde = "1.0.203" +serde_json = "1.0.117" +shell-escape = "0.1.5" +shell-words = "1.1.0" +syntect = { version = "5.2.0", default-features = false, features = [ "parsing", "plist-load", "regex-onig" ] } +tokio = { version = "1.38.0", features = [ "full" ] } +tokio-stream = "0.1.15" +tokio-util = "0.7.11" unicode-width = "0.1.13" yazi-prebuild = "0.1.2" # Logging -tracing = { version = "0.1.40", features = [ - "max_level_debug", - "release_max_level_warn", -] } +tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] } [target."cfg(unix)".dependencies] uzers = "0.12.0" diff --git a/yazi-proxy/Cargo.toml b/yazi-proxy/Cargo.toml index 9f6958a4..bb69bf2d 100644 --- a/yazi-proxy/Cargo.toml +++ b/yazi-proxy/Cargo.toml @@ -1,16 +1,16 @@ [package] -name = "yazi-proxy" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-proxy" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi event proxy" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [features] -default = ["vendored-lua"] -vendored-lua = ["mlua/vendored"] +default = [ "vendored-lua" ] +vendored-lua = [ "mlua/vendored" ] [dependencies] yazi-config = { path = "../yazi-config", version = "0.2.5" } @@ -18,5 +18,5 @@ yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies anyhow = "1.0.86" -mlua = { version = "0.9.8", features = ["lua54"] } -tokio = { version = "1.38.0", features = ["full"] } +mlua = { version = "0.9.8", features = [ "lua54" ] } +tokio = { version = "1.38.0", features = [ "full" ] } diff --git a/yazi-scheduler/Cargo.toml b/yazi-scheduler/Cargo.toml index 1f0d7664..77e43b3b 100644 --- a/yazi-scheduler/Cargo.toml +++ b/yazi-scheduler/Cargo.toml @@ -1,33 +1,30 @@ [package] -name = "yazi-scheduler" -version = "0.2.5" -edition = "2021" -license = "MIT" -authors = ["sxyazi "] +name = "yazi-scheduler" +version = "0.2.5" +edition = "2021" +license = "MIT" +authors = [ "sxyazi " ] description = "Yazi task scheduler" -homepage = "https://yazi-rs.github.io" -repository = "https://github.com/sxyazi/yazi" +homepage = "https://yazi-rs.github.io" +repository = "https://github.com/sxyazi/yazi" [dependencies] yazi-config = { path = "../yazi-config", version = "0.2.5" } -yazi-dds = { path = "../yazi-dds", version = "0.2.5" } +yazi-dds = { path = "../yazi-dds", version = "0.2.5" } yazi-plugin = { path = "../yazi-plugin", version = "0.2.5" } -yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" } +yazi-proxy = { path = "../yazi-proxy", version = "0.2.5" } yazi-shared = { path = "../yazi-shared", version = "0.2.5" } # External dependencies -anyhow = "1.0.86" +anyhow = "1.0.86" async-priority-channel = "0.2.0" -futures = "0.3.30" -parking_lot = "0.12.3" -scopeguard = "1.2.0" -tokio = { version = "1.38.0", features = ["full"] } +futures = "0.3.30" +parking_lot = "0.12.3" +scopeguard = "1.2.0" +tokio = { version = "1.38.0", features = [ "full" ] } # Logging -tracing = { version = "0.1.40", features = [ - "max_level_debug", - "release_max_level_warn", -] } +tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] } [target."cfg(unix)".dependencies] libc = "0.2.155" diff --git a/yazi-shared/Cargo.toml b/yazi-shared/Cargo.toml index 249fae32..fd1748ce 100644 --- a/yazi-shared/Cargo.toml +++ b/yazi-shared/Cargo.toml @@ -23,7 +23,7 @@ regex = "1.10.5" serde = { version = "1.0.203", features = [ "derive" ] } shell-words = "1.1.0" tokio = { version = "1.38.0", features = [ "full" ] } -opendal = { version = "0.47.0", features = ["services-s3"] } +opendal = "0.47.0" # Logging tracing = { version = "0.1.40", features = [ "max_level_debug", "release_max_level_warn" ] }