Rename as hatter (htr) and customize release profile
This commit is contained in:
parent
f706170f2a
commit
2fb5d404ab
4 changed files with 17 additions and 9 deletions
16
Cargo.lock
generated
16
Cargo.lock
generated
|
@ -131,6 +131,14 @@ dependencies = [
|
|||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hatter"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"xattr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "heck"
|
||||
version = "0.4.1"
|
||||
|
@ -298,14 +306,6 @@ version = "0.48.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
|
||||
|
||||
[[package]]
|
||||
name = "xat"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"xattr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "xattr"
|
||||
version = "1.0.0"
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
[package]
|
||||
name = "xat"
|
||||
name = "hatter"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
default-run = "htr"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.3.19", features = ["derive"] }
|
||||
xattr = { version = "1.0.0", default-features = false }
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
|
1
install.sh
Normal file
1
install.sh
Normal file
|
@ -0,0 +1 @@
|
|||
cargo install --path . --profile release --root ~/.local
|
Loading…
Reference in a new issue