Skip to content

Commit

Permalink
release: 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Feb 8, 2024
2 parents 1aaeea1 + 6707298 commit 26dfe22
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 63 deletions.
12 changes: 6 additions & 6 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Project Dependencies
Package: fyi
Version: 0.11.8
Generated: 2023-11-16 19:49:33 UTC
Version: 0.12.0
Generated: 2024-02-08 18:56:22 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [argyle](https://github.com/Blobfolio/argyle) | 0.7.1 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [const_fn](https://github.com/taiki-e/const_fn) | 0.4.9 | | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.6.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.7.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.12.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [tz-rs](https://github.com/x-hgg-x/tz-rs) | 0.6.14 | x-hgg-x | Apache-2.0 or MIT |
| [utc2k](https://github.com/Blobfolio/utc2k) | 0.7.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [utc2k](https://github.com/Blobfolio/utc2k) | 0.8.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ print a certain number of blank lines for you. Run

See also: [CREDITS.md](CREDITS.md)

Copyright © 2023 [Blobfolio, LLC](https://blobfolio.com) <[email protected]>
Copyright © 2024 [Blobfolio, LLC](https://blobfolio.com) <[email protected]>

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2.

Expand Down
10 changes: 5 additions & 5 deletions fyi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fyi"
version = "0.11.8"
version = "0.12.0"
license = "WTFPL"
authors = ["Blobfolio, LLC. <[email protected]>"]
edition = "2021"
Expand All @@ -11,14 +11,14 @@ publish = false

[package.metadata.deb]
maintainer = "Blobfolio, LLC. <[email protected]>"
copyright = "2022, Blobfolio, LLC <[email protected]>"
copyright = "2024, Blobfolio, LLC <[email protected]>"
license-file = ["../LICENSE", "0"]
revision = "1"
extended-description = ""
depends = "$auto"
section = "utils"
assets = [
["../target/x86_64-unknown-linux-gnu/release/fyi", "usr/bin/", "755"],
["../target/release/fyi", "usr/bin/", "755"],
["../release/completions/fyi.bash", "etc/bash_completion.d/", "644"],
["../release/man/fyi.1.gz", "usr/share/man/man1/", "644"],
["../release/man/fyi-blank.1.gz", "usr/share/man/man1/", "644"],
Expand Down Expand Up @@ -169,10 +169,10 @@ subcommands = [ "confirm", "print", "crunched", "debug", "done", "error", "info"
path = "../fyi_msg"

[dependencies]
dactyl = "0.6.*"
dactyl = "0.7.*"

[dependencies.argyle]
version = "0.6.*"
version = "0.7.*"
features = [ "dynamic-help" ]

[dependencies.fyi_msg]
Expand Down
6 changes: 3 additions & 3 deletions fyi_msg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fyi_msg"
version = "0.11.8"
version = "0.12.0"
authors = ["Blobfolio, LLC. <[email protected]>"]
edition = "2021"
rust-version = "1.70"
Expand All @@ -18,7 +18,7 @@ default-target = "x86_64-unknown-linux-gnu"
targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin" ]

[dependencies]
dactyl = "0.6.*"
dactyl = "0.7.*"

[dependencies.ahash]
version = "0.8.*"
Expand All @@ -38,7 +38,7 @@ version = "0.1.*"
optional = true

[dependencies.utc2k]
version = "0.7.*"
version = "0.8.*"
features = [ "local" ]
optional = true

Expand Down
2 changes: 1 addition & 1 deletion fyi_msg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ For more usage examples, check out the `examples/msg` demo, which covers just ab

## License

Copyright © 2023 [Blobfolio, LLC](https://blobfolio.com) &lt;[email protected]&gt;
Copyright © 2024 [Blobfolio, LLC](https://blobfolio.com) &lt;[email protected]&gt;

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2.

Expand Down
7 changes: 1 addition & 6 deletions fyi_msg/src/msg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ pub const FLAG_NEWLINE: u8 = 0b0100;
///
/// While [`Msg`] objects are perfectly usable as-is, they can be easily
/// converted to other formats. They dereference to a byte slice and implement
/// `AsRef<[u8]>` and `Borrow<[u8]>`. They also implement `AsRef<str>` and
/// `AsRef<[u8]>`. They also implement `AsRef<str>` and
/// `Borrow<str>` for stringy situations. And if you want to consume the struct
/// into an owned type, there's also [`Msg::into_vec`] and [`Msg::into_string`].
pub struct Msg(MsgBuffer<MSGBUFFER>);
Expand All @@ -226,11 +226,6 @@ impl AsRef<str> for Msg {
fn as_ref(&self) -> &str { self.as_str() }
}

impl Borrow<[u8]> for Msg {
#[inline]
fn borrow(&self) -> &[u8] { self }
}

impl Borrow<str> for Msg {
#[inline]
fn borrow(&self) -> &str { self.as_str() }
Expand Down
17 changes: 4 additions & 13 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ pkg_dir1 := justfile_directory() + "/fyi"
pkg_dir2 := justfile_directory() + "/fyi_msg"

cargo_dir := "/tmp/" + pkg_id + "-cargo"
cargo_bin := cargo_dir + "/x86_64-unknown-linux-gnu/release/" + pkg_id
cargo_bin := cargo_dir + "/release/" + pkg_id
doc_dir := justfile_directory() + "/doc"
release_dir := justfile_directory() + "/release"

export RUSTFLAGS := "-C target-cpu=x86-64-v3"



# Bench it!
Expand All @@ -37,14 +39,12 @@ bench BENCH="":
--benches \
--workspace \
--all-features \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
else
cargo bench \
--bench "{{ BENCH }}" \
--workspace \
--all-features \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
fi
exit 0
Expand Down Expand Up @@ -103,7 +103,6 @@ bench BENCH="":
cargo build \
--bin "{{ pkg_id }}" \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"

# Fix ownership, etc.
Expand Down Expand Up @@ -147,7 +146,6 @@ bench BENCH="":
cargo clippy \
--workspace \
--all-features \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


Expand All @@ -164,14 +162,13 @@ bench BENCH="":
--manifest-path "{{ pkg_dir2 }}/Cargo.toml" \
--release \
--all-features \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}" \
-- \
--cfg docsrs

# Move the docs and clean up ownership.
[ ! -d "{{ doc_dir }}" ] || rm -rf "{{ doc_dir }}"
mv "{{ cargo_dir }}/x86_64-unknown-linux-gnu/doc" "{{ justfile_directory() }}"
mv "{{ cargo_dir }}/doc" "{{ justfile_directory() }}"
just _fix-chown "{{ doc_dir }}"


Expand All @@ -183,7 +180,6 @@ bench BENCH="":
--all-features \
--release \
--example "{{ DEMO }}" \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


Expand All @@ -192,7 +188,6 @@ bench BENCH="":
cargo run \
--bin "{{ pkg_id }}" \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}" \
-- {{ ARGS }}

Expand All @@ -204,24 +199,20 @@ bench BENCH="":
--all-features \
--workspace \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
cargo test \
--all-features \
--workspace \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"

cargo test \
--no-default-features \
--workspace \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"
cargo test \
--no-default-features \
--workspace \
--release \
--target x86_64-unknown-linux-gnu \
--target-dir "{{ cargo_dir }}"


Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-blank.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI BLANK" "1" "November 2023" "blank v0.11.8" "User Commands"
.TH "FYI BLANK" "1" "February 2024" "blank v0.12.0" "User Commands"
.SH NAME
blank \- Manual page for blank v0.11.8.
blank \- Manual page for blank v0.12.0.
.SH DESCRIPTION
Print blank line(s).
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-confirm.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI CONFIRM" "1" "November 2023" "confirm v0.11.8" "User Commands"
.TH "FYI CONFIRM" "1" "February 2024" "confirm v0.12.0" "User Commands"
.SH NAME
confirm \- Manual page for confirm v0.11.8.
confirm \- Manual page for confirm v0.12.0.
.SH DESCRIPTION
Ask a Yes/No question using the built\-in prefix "confirm".
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-crunched.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI CRUNCHED" "1" "November 2023" "crunched v0.11.8" "User Commands"
.TH "FYI CRUNCHED" "1" "February 2024" "crunched v0.12.0" "User Commands"
.SH NAME
crunched \- Manual page for crunched v0.11.8.
crunched \- Manual page for crunched v0.12.0.
.SH DESCRIPTION
Crunched: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-debug.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI DEBUG" "1" "November 2023" "debug v0.11.8" "User Commands"
.TH "FYI DEBUG" "1" "February 2024" "debug v0.12.0" "User Commands"
.SH NAME
debug \- Manual page for debug v0.11.8.
debug \- Manual page for debug v0.12.0.
.SH DESCRIPTION
Debug: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-done.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI DONE" "1" "November 2023" "done v0.11.8" "User Commands"
.TH "FYI DONE" "1" "February 2024" "done v0.12.0" "User Commands"
.SH NAME
done \- Manual page for done v0.11.8.
done \- Manual page for done v0.12.0.
.SH DESCRIPTION
Done: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-error.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI ERROR" "1" "November 2023" "error v0.11.8" "User Commands"
.TH "FYI ERROR" "1" "February 2024" "error v0.12.0" "User Commands"
.SH NAME
error \- Manual page for error v0.11.8.
error \- Manual page for error v0.12.0.
.SH DESCRIPTION
Error: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-info.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI INFO" "1" "November 2023" "info v0.11.8" "User Commands"
.TH "FYI INFO" "1" "February 2024" "info v0.12.0" "User Commands"
.SH NAME
info \- Manual page for info v0.11.8.
info \- Manual page for info v0.12.0.
.SH DESCRIPTION
Info: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-notice.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI NOTICE" "1" "November 2023" "notice v0.11.8" "User Commands"
.TH "FYI NOTICE" "1" "February 2024" "notice v0.12.0" "User Commands"
.SH NAME
notice \- Manual page for notice v0.11.8.
notice \- Manual page for notice v0.12.0.
.SH DESCRIPTION
Notice: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-print.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI PRINT" "1" "November 2023" "print v0.11.8" "User Commands"
.TH "FYI PRINT" "1" "February 2024" "print v0.12.0" "User Commands"
.SH NAME
print \- Manual page for print v0.11.8.
print \- Manual page for print v0.12.0.
.SH DESCRIPTION
Print a message without a prefix (or with a custom one).
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-review.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI REVIEW" "1" "November 2023" "review v0.11.8" "User Commands"
.TH "FYI REVIEW" "1" "February 2024" "review v0.12.0" "User Commands"
.SH NAME
review \- Manual page for review v0.11.8.
review \- Manual page for review v0.12.0.
.SH DESCRIPTION
Review: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-success.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI SUCCESS" "1" "November 2023" "success v0.11.8" "User Commands"
.TH "FYI SUCCESS" "1" "February 2024" "success v0.12.0" "User Commands"
.SH NAME
success \- Manual page for success v0.11.8.
success \- Manual page for success v0.12.0.
.SH DESCRIPTION
Success: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-task.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI TASK" "1" "November 2023" "task v0.11.8" "User Commands"
.TH "FYI TASK" "1" "February 2024" "task v0.12.0" "User Commands"
.SH NAME
task \- Manual page for task v0.11.8.
task \- Manual page for task v0.12.0.
.SH DESCRIPTION
Task: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi-warning.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI WARNING" "1" "November 2023" "warning v0.11.8" "User Commands"
.TH "FYI WARNING" "1" "February 2024" "warning v0.12.0" "User Commands"
.SH NAME
warning \- Manual page for warning v0.11.8.
warning \- Manual page for warning v0.12.0.
.SH DESCRIPTION
Warning: Hello World
.SS USAGE:
Expand Down
4 changes: 2 additions & 2 deletions release/man/fyi.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.TH "FYI" "1" "November 2023" "FYI v0.11.8" "User Commands"
.TH "FYI" "1" "February 2024" "FYI v0.12.0" "User Commands"
.SH NAME
FYI \- Manual page for fyi v0.11.8.
FYI \- Manual page for fyi v0.12.0.
.SH DESCRIPTION
A dead\-simple CLI status message printer for use in BASH scripts, etc.
.SS USAGE:
Expand Down

0 comments on commit 26dfe22

Please sign in to comment.