Skip to content

Commit

Permalink
Turn AsciiArt.rs into its own crate (#934)
Browse files Browse the repository at this point in the history
* make ascii art into its own crate

* add symbolic link for licence.md

* cargo sort

* add readme
  • Loading branch information
o2sh authored Jan 18, 2023
1 parent c6c6054 commit 1716519
Show file tree
Hide file tree
Showing 10 changed files with 283 additions and 255 deletions.
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

0 comments on commit 1716519

Please sign in to comment.