mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
66 lines
2 KiB
TOML
66 lines
2 KiB
TOML
[package]
|
|
name = "yazi-cli"
|
|
description = "Yazi command-line interface"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
panic = "abort"
|
|
strip = true
|
|
|
|
[profile.release-windows]
|
|
inherits = "release"
|
|
panic = "unwind"
|
|
|
|
[dependencies]
|
|
yazi-boot = { path = "../yazi-boot", version = "26.2.2" }
|
|
yazi-dds = { path = "../yazi-dds", version = "26.2.2" }
|
|
yazi-fs = { path = "../yazi-fs", version = "26.2.2" }
|
|
yazi-macro = { path = "../yazi-macro", version = "26.2.2" }
|
|
yazi-shared = { path = "../yazi-shared", version = "26.2.2" }
|
|
yazi-shim = { path = "../yazi-shim", version = "26.2.2" }
|
|
|
|
# External dependencies
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
crossterm = { workspace = true }
|
|
hashbrown = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
toml = { workspace = true }
|
|
twox-hash = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
yazi-shared = { path = "../yazi-shared", version = "26.2.2" }
|
|
|
|
# External build dependencies
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
clap_complete = "4.6.1"
|
|
clap_complete_fig = "4.5.2"
|
|
clap_complete_nushell = "4.6.0"
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
vergen-gitcl = { version = "9.1.0", features = [ "build" ] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }
|
|
|
|
[[bin]]
|
|
name = "ya"
|
|
path = "src/main.rs"
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/yazi-{ target }{ archive-suffix }"
|
|
bin-dir = "yazi-{ target }/{ bin }{ binary-ext }"
|