Skip to content

Commit

Permalink
Vendor ansi-to-tui and color-to-tui
Browse files Browse the repository at this point in the history
  • Loading branch information
grtcdr committed Oct 29, 2024
1 parent 7372f7f commit b9ea773
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 18 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/macchina.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Bootstrap
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}

- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross
if: ${{ matrix.cross }}
Expand Down
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "vendor/color-to-tui"]
path = vendor/color-to-tui
url = https://github.com/Macchina-CLI/color-to-tui
[submodule "vendor/ansi-to-tui"]
path = vendor/ansi-to-tui
url = https://github.com/Macchina-CLI/ansi-to-tui
30 changes: 19 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ colored = "2.0.4"
rand = "0.8.5"
unicode-width = "0.1.11"
lazy_static = "1.4.0"
ansi-to-tui = "6.0.0"
ansi-to-tui = { path = "vendor/ansi-to-tui" }
color-to-tui = { path = "vendor/color-to-tui" }
dirs = "5.0.1"
toml = { version = "0.8.8", features = ["parse"] }
serde_json = "1.0.107"
thiserror = "1.0.49"
ratatui = { version = "0.28", default-features = false, features = ["crossterm"] }
ratatui = { version = "0.29", default-features = false, features = ["crossterm"] }
serde = { version = "1.0.188", features = ["derive"] }

[dependencies.color-to-tui]
version = "0.3.0"
ratatui = { version = "0.28", default-features = false }

[build-dependencies.vergen]
version = "8.2.6"
default-features = false
Expand Down
1 change: 1 addition & 0 deletions vendor/ansi-to-tui
Submodule ansi-to-tui added at 950d68
1 change: 1 addition & 0 deletions vendor/color-to-tui
Submodule color-to-tui added at 9a1b68

0 comments on commit b9ea773

Please sign in to comment.