mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
65 lines
1.9 KiB
TOML
65 lines
1.9 KiB
TOML
[package]
|
|
name = "yazi-cli"
|
|
version = "25.6.11"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
authors = [ "sxyazi <sxyazi@gmail.com>" ]
|
|
description = "Yazi command-line interface"
|
|
homepage = "https://yazi-rs.github.io"
|
|
repository = "https://github.com/sxyazi/yazi"
|
|
|
|
[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 = "25.6.11" }
|
|
yazi-dds = { path = "../yazi-dds", version = "25.6.11" }
|
|
yazi-fs = { path = "../yazi-fs", version = "25.6.11" }
|
|
yazi-macro = { path = "../yazi-macro", version = "25.6.11" }
|
|
yazi-shared = { path = "../yazi-shared", version = "25.6.11" }
|
|
|
|
# External dependencies
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
crossterm = { 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 = "25.6.11" }
|
|
|
|
# External build dependencies
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
clap_complete = "4.5.57"
|
|
clap_complete_fig = "4.5.2"
|
|
clap_complete_nushell = "4.5.8"
|
|
serde_json = { workspace = true }
|
|
vergen-gitcl = { version = "1.0.8", features = [ "build" ] }
|
|
|
|
[target.aarch64-apple-darwin]
|
|
rustflags = [ "-Ctarget-cpu=apple-m1" ]
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }
|
|
|
|
[env]
|
|
MACOSX_DEPLOYMENT_TARGET = "10.11"
|
|
|
|
[[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 }"
|