Skip to content

Commit

Permalink
Merge pull request #334 from orhun/chore/remove_vendor
Browse files Browse the repository at this point in the history
Replace vendored dependencies
  • Loading branch information
grtcdr authored Nov 3, 2024
2 parents a4b50a4 + daa817a commit fa7a9a9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 23 deletions.
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

16 changes: 7 additions & 9 deletions Cargo.lock

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

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

[build-dependencies.vergen]
Expand Down
2 changes: 0 additions & 2 deletions src/theme/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ pub struct Theme {
hide_ascii: bool,
prefer_small_ascii: bool,
keys: Keys,
#[serde(with = "color_to_tui")]
key_color: Color,
#[serde(with = "color_to_tui")]
separator_color: Color,
#[serde(skip_serializing, skip_deserializing)]
name: String,
Expand Down
1 change: 0 additions & 1 deletion src/theme/components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ pub struct ASCII {
path: Option<PathBuf>,

#[serde(default)]
#[serde(with = "color_to_tui::optional")]
color: Option<Color>,
}

Expand Down
1 change: 0 additions & 1 deletion vendor/ansi-to-tui
Submodule ansi-to-tui deleted from 950d68
1 change: 0 additions & 1 deletion vendor/color-to-tui
Submodule color-to-tui deleted from 9a1b68

0 comments on commit fa7a9a9

Please sign in to comment.