Closed getreu closed 2 years ago
on Arch Linux here, there are no known packages (AUR included) that provide a binary named tpn
Yes, I am still waiting for Tracking Issue for different-binary-name · Issue #9778 · rust-lang/cargo to be stabilized. At the moment it only works with unstable cargo
.
Hmm, not sure why you would need that feature as tpn
is a perfectly valid name. I just tried adding the following in Cargo.toml
and it worked. Isn't that sufficient ?
[[bin]]
name = "tpn"
path = "src/main.rs"
Yes, you are right. The above feature is not necessary and your solution works perfectly well.
The remaining questions is, what would be a better short name? tpn
or tpnote
?
tpn
would be a good choice, but it might be still in conflict with other programs on some systems. Then, maybe tpnote
is easier to remember? After all, it mainly concerns the Tp-Note users who work on the console directly.
When Tp-Note is unsed on the console, one has to write the binary name
tp-note
a lot. Here, the-
is especially annoying, because it inhibits autocomplete.Tp-Note should have a shorter binary name, maybe
tpnote
ortpn
? Are there any widely usedtpn
applications out there?