Rename as hatter (htr) and customize release profile

This commit is contained in:
Josh Hansen 2023-07-28 15:37:53 -07:00
parent f706170f2a
commit 2fb5d404ab
4 changed files with 17 additions and 9 deletions

16
Cargo.lock generated
View file

@ -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"

View file

@ -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
View file

@ -0,0 +1 @@
cargo install --path . --profile release --root ~/.local