Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn AsciiArt.rs into its own crate #934

Merged
merged 4 commits into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Cargo.lock

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

9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.62.1"
version = "2.14.2"

[workspace]
members = ["image", "manifest"]
members = ["ascii", "image", "manifest"]

[dependencies]
anyhow = "1.0.66"
Expand All @@ -33,8 +33,9 @@ git2 = { version = "0.15.0", default-features = false }
human-panic = "1.0.3"
image = "0.24.4"
num-format = "0.4.4"
onefetch-image = { path = "image", version = "2.13.2" }
onefetch-manifest = { path = "manifest", version = "2.13.2" }
onefetch-ascii = { path = "ascii", version = "2.14.2" }
onefetch-image = { path = "image", version = "2.14.2" }
onefetch-manifest = { path = "manifest", version = "2.14.2" }
owo-colors = "3.5.0"
regex = "1.6.0"
serde = "1.0.147"
Expand All @@ -51,10 +52,10 @@ typetag = "0.2"
yaml-rust = "0.4.5"

[dev-dependencies]
criterion = "0.4.0"
git-testtools = "0.10.0"
insta = { version = "1.23.0", features = ["json", "redactions"] }
pretty_assertions = "1.3.0"
criterion = "0.4.0"

[[bench]]
name = "repo"
Expand Down
12 changes: 12 additions & 0 deletions ascii/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
authors = ["o2sh <ossama-hjaji@live.fr>"]
name = "onefetch-ascii"
description = "Display colorized ascii art to the terminal"
version = "2.14.2"
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/o2sh/onefetch"

[dependencies]
owo-colors = "3.5.0"
1 change: 1 addition & 0 deletions ascii/LICENSE.md
7 changes: 7 additions & 0 deletions ascii/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ascii

Provides the primary interface to display ascii art to the terminal.

More info [here](https://github.com/o2sh/onefetch/wiki/ascii-art).

_This crate is designed as part of the [onefetch](https://github.com/o2sh/onefetch) project._
File renamed without changes.
2 changes: 1 addition & 1 deletion image/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# image

Provides the primary interface to diplay images in the terminal.
Provides the primary interface to diplay images to the terminal.

Protocols supported:

Expand Down
Loading