2020-06-02 20:03:16 +02:00
|
|
|
|
[package]
|
2020-05-24 21:02:11 +02:00
|
|
|
|
name = "copyrat"
|
2024-08-16 00:18:56 +02:00
|
|
|
|
version = "0.5.6"
|
2021-10-24 09:33:55 +02:00
|
|
|
|
edition = "2021"
|
2021-10-24 20:49:18 +02:00
|
|
|
|
description = "A tmux plugin for copy-pasting within tmux panes."
|
2022-11-07 00:02:27 +01:00
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
|
|
|
|
license = "MIT"
|
|
|
|
|
|
authors = ["graelo <graelo@graelo.cc>"]
|
2021-03-13 11:37:20 +01:00
|
|
|
|
repository = "https://github.com/graelo/tmux-copyrat"
|
2022-11-07 00:02:27 +01:00
|
|
|
|
homepage = "https://github.com/graelo/tmux-copyrat"
|
|
|
|
|
|
documentation = "https://docs.rs/tmux-copyrat"
|
|
|
|
|
|
|
2020-05-24 21:02:11 +02:00
|
|
|
|
keywords = ["rust", "tmux", "tmux-plugin", "tmux-copycat"]
|
2022-11-07 00:02:27 +01:00
|
|
|
|
categories = ["command-line-utilities"]
|
|
|
|
|
|
exclude = ["/.github"]
|
2020-06-02 20:03:16 +02:00
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2021-10-24 09:33:55 +02:00
|
|
|
|
thiserror = "1"
|
|
|
|
|
|
|
2024-08-13 00:17:52 +02:00
|
|
|
|
termion = "4"
|
2022-11-07 00:02:27 +01:00
|
|
|
|
regex = "1.6"
|
|
|
|
|
|
clap = { version = "4.0", features = ["derive", "wrap_help"]}
|
2020-05-31 22:45:36 +02:00
|
|
|
|
sequence_trie = "0.3.6"
|
2021-03-17 07:55:24 +01:00
|
|
|
|
duct = "0.13"
|
2020-06-02 20:03:16 +02:00
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
2020-05-24 21:02:11 +02:00
|
|
|
|
name = "copyrat"
|
2021-03-17 22:13:13 +01:00
|
|
|
|
path = "src/bin/copyrat.rs"
|
2020-06-02 20:03:16 +02:00
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
2020-05-24 21:02:11 +02:00
|
|
|
|
name = "tmux-copyrat"
|
2021-03-17 22:13:13 +01:00
|
|
|
|
path = "src/bin/tmux_copyrat.rs"
|
2022-06-01 08:48:58 +02:00
|
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
|
# Enable link-time optimization (LTO). It’s a kind of whole-program or
|
|
|
|
|
|
# inter-module optimization as it runs as the very last step when linking the
|
|
|
|
|
|
# different parts of your binary together. You can think of it as allowing
|
|
|
|
|
|
# better inlining across dependency boundaries (but it’s of course more
|
|
|
|
|
|
# complicated that that).
|
|
|
|
|
|
#
|
|
|
|
|
|
# Rust can use multiple linker flavors, and the one we want is “optimize across
|
|
|
|
|
|
# all crates”, which is called “fat”. To set this, add the lto flag to your
|
|
|
|
|
|
# profile:
|
|
|
|
|
|
lto = "fat"
|
|
|
|
|
|
|
|
|
|
|
|
# To speed up compile times, Rust tries to split your crates into small chunks
|
|
|
|
|
|
# and compile as many in parallel as possible. The downside is that there’s
|
|
|
|
|
|
# less opportunities for the compiler to optimize code across these chunks. So,
|
|
|
|
|
|
# let’s tell it to do one chunk per crate:
|
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
|
|
|
|
# Rust by default uses stack unwinding (on the most common platforms). That
|
|
|
|
|
|
# costs performance, so let’s skip stack traces and the ability to catch panics
|
|
|
|
|
|
# for reduced code size and better cache usage:
|
|
|
|
|
|
panic = "abort"
|