Skip to content

Commit

Permalink
chore: increment version, add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonGepting committed Mar 2, 2024
1 parent 9c599a4 commit 6664fef
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 46 deletions.
21 changes: 16 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tmux_interface"
version = "0.3.1"
version = "0.3.2"
authors = ["Anton Gepting <[email protected]>"]
edition = "2018"
license = "MIT"
Expand All @@ -12,6 +12,11 @@ repository = "https://github.com/AntonGepting/tmux-interface-rs"
include = ["/src/**/*", "/Cargo.toml", "/README.md", "/LICENSE.md"]

[features]
# INFO: Source for distributions releases and tmux versions
# [Packages for Linux and Unix](https://pkgs.org/download/tmux)
#
# define a list of nested tmux version variables for conditional compilation
#
# earlier versions currently are not supported
# tmux 0.8 included in first package can be found in Debian repository
tmux_0_8 = []
Expand Down Expand Up @@ -49,17 +54,23 @@ tmux_2_8 = ["tmux_2_7"]
tmux_2_9 = ["tmux_2_8"]
tmux_2_9a = ["tmux_2_9"]
tmux_3_0 = ["tmux_2_9a"]
# tmux 3.0a included in Debian Bullseye
# tmux 3.0a included in Ubuntu 20.04 LTS Focal Fossa
tmux_3_0a = ["tmux_3_0"]
# tmux 3.1 included in Debian experimental
tmux_3_1 = ["tmux_3_0a"]
tmux_3_1a = ["tmux_3_1"]
tmux_3_1b = ["tmux_3_1a"]
# tmux 3.1c included in Debian Bullseye
tmux_3_1c = ["tmux_3_1b"]
tmux_3_2 = ["tmux_3_1c"]
# tmux 3.2a included in CentOS 9
# tmux 3.2a included in Ubuntu 22.04 LTS Jammy Jellyfish
tmux_3_2a = ["tmux_3_2"]
tmux_3_3 = ["tmux_3_2a"]
# tmux 3.3a included in Ubuntu 23.04 LTS Lunar Lobster
# tmux 3.3a included in Debian Bookworm
tmux_3_3a = ["tmux_3_3"]
# tmux 3.4 included in Ubuntu 24.04 LTS Noble Numbat
# tmux 3.4 included in Debian experimental
tmux_3_4 = ["tmux_3_3a"]

# tmux current version which is currently in development
Expand All @@ -73,8 +84,8 @@ tmux_stable = ["tmux_3_4"]
# use alias instead of full tmux command name (e.g. `list-sessions` -> `ls`)
cmd_alias = []

# enable following default features for the library:
# * use tmux_stable version
# enable following default features for the library by default:
# * use latest tmux stable version
# * use command alias, instead of full command name
default = ["tmux_stable", "cmd_alias"]

Expand Down
82 changes: 41 additions & 41 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,47 +80,47 @@
//!
//! **Table 3.1:** `Cargo.toml` features list with corresponding tmux versions
//!
//! | Feature Name | Tmux Version | CI Tests | Comment |
//! |---------------|---------------|----------|---------------------------------------------|
//! | `tmux_0_8` | `tmux 0.8` | | |
//! | `tmux_0_9` | `tmux 0.9` | | |
//! | `tmux_1_0` | `tmux 1.0` | | |
//! | `tmux_1_1` | `tmux 1.1` | | |
//! | `tmux_1_2` | `tmux 1.2` | | |
//! | `tmux_1_3` | `tmux 1.3` | | |
//! | `tmux_1_4` | `tmux 1.4` | | |
//! | `tmux_1_5` | `tmux 1.5` | | |
//! | `tmux_1_6` | `tmux 1.6` | | Ubuntu 11.04 LTS Precise Pangolin, CentOS 6 |
//! | `tmux_1_7` | `tmux 1.7` | | Ubuntu 14.04 LTS Trusty Tahr, CentOS 7 |
//! | `tmux_1_8` | `tmux 1.8` | x | |
//! | `tmux_1_9` | `tmux 1.9` | x | Debian Jessie |
//! | `tmux_1_9a` | `tmux 1.9a` | x | |
//! | `tmux_2_0` | `tmux 2.0` | x | |
//! | `tmux_2_1` | `tmux 2.1` | x | Ubuntu 16.04 LTS Xenial Xerus |
//! | `tmux_2_2` | `tmux 2.2` | x | |
//! | `tmux_2_3` | `tmux 2.3` | x | Debian Stretch |
//! | `tmux_2_4` | `tmux 2.4` | x | |
//! | `tmux_2_5` | `tmux 2.5` | x | |
//! | `tmux_2_6` | `tmux 2.6` | x | Ubuntu 18.04 LTS Bionic Beaver |
//! | `tmux_2_7` | `tmux 2.7` | x | CentOS 8 |
//! | `tmux_2_8` | `tmux 2.8` | x | Debian Buster |
//! | `tmux_2_9` | `tmux 2.9` | x | |
//! | `tmux_2_9a` | `tmux 2.9a` | x | |
//! | `tmux_3_0` | `tmux 3.0` | x | |
//! | `tmux_3_0a` | `tmux 3.0a` | x | Debian Bullseye |
//! | `tmux_3_1` | `tmux 3.1` | x | Debian experimental |
//! | `tmux_3_1a` | `tmux 3.1a` | x | |
//! | `tmux_3_1b` | `tmux 3.1b` | x | |
//! | `tmux_3_1c` | `tmux 3.1c` | x | |
//! | `tmux_3_2` | `tmux 3.2` | x | |
//! | `tmux_3_2a` | `tmux 3.2a` | x | |
//! | `tmux_3_3` | `tmux 3.3` | x | |
//! | `tmux_3_3a` | `tmux 3.3a` | x | |
//! | `tmux_3_4` | `tmux 3.4` | x | |
//! | `tmux_X_X` | | x | tmux: `main` branch; library: `dev` branch |
//! | | | | |
//! | `tmux_stable` | `tmux 3.3` | | |
//! | `tmux_latest` | `tmux 3.3a` | | |
//! | Feature Name | Tmux Version | CI Tests | Comment |
//! |---------------|---------------|----------|------------------------------------------------------|
//! | `tmux_0_8` | `tmux 0.8` | | |
//! | `tmux_0_9` | `tmux 0.9` | | |
//! | `tmux_1_0` | `tmux 1.0` | | |
//! | `tmux_1_1` | `tmux 1.1` | | |
//! | `tmux_1_2` | `tmux 1.2` | | |
//! | `tmux_1_3` | `tmux 1.3` | | |
//! | `tmux_1_4` | `tmux 1.4` | | |
//! | `tmux_1_5` | `tmux 1.5` | | |
//! | `tmux_1_6` | `tmux 1.6` | | Ubuntu 11.04 LTS Precise Pangolin, CentOS 6 |
//! | `tmux_1_7` | `tmux 1.7` | | Ubuntu 14.04 LTS Trusty Tahr, CentOS 7 |
//! | `tmux_1_8` | `tmux 1.8` | x | |
//! | `tmux_1_9` | `tmux 1.9` | x | Debian Jessie |
//! | `tmux_1_9a` | `tmux 1.9a` | x | |
//! | `tmux_2_0` | `tmux 2.0` | x | |
//! | `tmux_2_1` | `tmux 2.1` | x | Ubuntu 16.04 LTS Xenial Xerus |
//! | `tmux_2_2` | `tmux 2.2` | x | |
//! | `tmux_2_3` | `tmux 2.3` | x | Debian Stretch |
//! | `tmux_2_4` | `tmux 2.4` | x | |
//! | `tmux_2_5` | `tmux 2.5` | x | |
//! | `tmux_2_6` | `tmux 2.6` | x | Ubuntu 18.04 LTS Bionic Beaver |
//! | `tmux_2_7` | `tmux 2.7` | x | CentOS 8 |
//! | `tmux_2_8` | `tmux 2.8` | x | Debian Buster |
//! | `tmux_2_9` | `tmux 2.9` | x | |
//! | `tmux_2_9a` | `tmux 2.9a` | x | |
//! | `tmux_3_0` | `tmux 3.0` | x | |
//! | `tmux_3_0a` | `tmux 3.0a` | x | Ubuntu 20.04 LTS Focal Fossa |
//! | `tmux_3_1` | `tmux 3.1` | x | |
//! | `tmux_3_1a` | `tmux 3.1a` | x | |
//! | `tmux_3_1b` | `tmux 3.1b` | x | |
//! | `tmux_3_1c` | `tmux 3.1c` | x | Debian Bullseye |
//! | `tmux_3_2` | `tmux 3.2` | x | |
//! | `tmux_3_2a` | `tmux 3.2a` | x | Ubuntu 22.04 LTS Jammy Jellyfish, CentOS 9 |
//! | `tmux_3_3` | `tmux 3.3` | x | |
//! | `tmux_3_3a` | `tmux 3.3a` | x | Debian Bookworm, Ubuntu 23.04 LTS Lunar Lobster |
//! | `tmux_3_4` | `tmux 3.4` | x | Debian experimental, Ubuntu 24.04 LTS Noble Numbat |
//! | `tmux_X_X` | | x | tmux: `main` branch; library: `dev` branch |
//! | | | | |
//! | `tmux_stable` | `tmux 3.3` | | |
//! | `tmux_latest` | `tmux 3.3a` | | |
//!
//!
//! ```text
Expand Down

0 comments on commit 6664fef

Please sign in to comment.