yazi-cli 26.1.22

Yazi command-line interface
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "yazi-cli"
version = "26.1.22"
authors = ["sxyazi <sxyazi@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Yazi command-line interface"
homepage = "https://yazi-rs.github.io"
readme = "README.md"
license = "MIT"
repository = "https://github.com/sxyazi/yazi"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/yazi-{ target }{ archive-suffix }"
bin-dir = "yazi-{ target }/{ bin }{ binary-ext }"

[[bin]]
name = "ya"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dependencies.crossterm]
version = "0.29.0"
features = ["event-stream"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dependencies.toml]
version = "0.9.11"

[dependencies.twox-hash]
version = "2.1.2"
features = [
    "std",
    "random",
    "xxhash3_128",
]
default-features = false

[dependencies.yazi-boot]
version = "26.1.22"

[dependencies.yazi-dds]
version = "26.1.22"

[dependencies.yazi-fs]
version = "26.1.22"

[dependencies.yazi-macro]
version = "26.1.22"

[dependencies.yazi-shared]
version = "26.1.22"

[dependencies.yazi-term]
version = "26.1.22"

[build-dependencies.anyhow]
version = "1.0.100"

[build-dependencies.clap]
version = "4.5.54"
features = ["derive"]

[build-dependencies.clap_complete]
version = "4.5.65"

[build-dependencies.clap_complete_fig]
version = "4.5.2"

[build-dependencies.clap_complete_nushell]
version = "4.5.10"

[build-dependencies.serde_json]
version = "1.0.149"

[build-dependencies.vergen-gitcl]
version = "9.1.0"
features = ["build"]

[build-dependencies.yazi-shared]
version = "26.1.22"

[target.'cfg(target_os = "macos")'.dependencies.crossterm]
version = "0.29.0"
features = [
    "event-stream",
    "use-dev-tty",
    "libc",
]

[lints.clippy]
format_push_string = "warn"
if_same_then_else = "allow"
implicit_clone = "warn"
len_without_is_empty = "allow"
missing_safety_doc = "allow"
module_inception = "allow"
option_map_unit_fn = "allow"
unit_arg = "allow"
use_self = "warn"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true

[profile.release-windows]
panic = "unwind"
inherits = "release"