Skip to content

Commit 7ca7de0

Browse files
committed
release: 0.7.0
2 parents 0372b7f + 1cfc21e commit 7ca7de0

File tree

7 files changed

+60
-39
lines changed

7 files changed

+60
-39
lines changed

CREDITS.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Project Dependencies
22
Package: guff
3-
Version: 0.6.1
3+
Version: 0.7.0
44
Target: x86_64-unknown-linux-gnu
5-
Generated: 2025-02-20 20:01:50 UTC
5+
Generated: 2025-02-26 04:22:50 UTC
66

77
| Package | Version | Author(s) | License |
88
| ---- | ---- | ---- | ---- |
99
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.11 | [Tom Kaitchuck](mailto:[email protected]) | MIT OR Apache-2.0 |
1010
| [allocator-api2](https://github.com/zakarumych/allocator-api2) | 0.2.21 | [Zakarum](mailto:[email protected]) | MIT OR Apache-2.0 |
11-
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.10.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
11+
| [**argyle**](https://github.com/Blobfolio/argyle) | 0.11.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
1212
| [bitflags](https://github.com/bitflags/bitflags) | 2.8.0 | The Rust Project Developers | MIT OR Apache-2.0 |
13-
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.14 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
13+
| [cc](https://github.com/rust-lang/cc-rs) ⚒️ | 1.2.15 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
1414
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | MIT OR Apache-2.0 |
1515
| [codemap](https://github.com/kevinmehall/codemap) | 0.1.3 | [Kevin Mehall](mailto:[email protected]) | MIT OR Apache-2.0 |
1616
| [const-str](https://github.com/Nugine/const-str) | 0.3.2 | [Nugine](mailto:[email protected]) | MIT |
@@ -19,35 +19,35 @@
1919
| [cssparser](https://github.com/servo/rust-cssparser) | 0.33.0 | [Simon Sapin](mailto:[email protected]) | MPL-2.0 |
2020
| [cssparser-color](https://github.com/servo/rust-cssparser) | 0.1.0 | [Emilio Cobos Álvarez](mailto:[email protected]) | MPL-2.0 |
2121
| [cssparser-macros](https://github.com/servo/rust-cssparser) | 0.6.1 | [Simon Sapin](mailto:[email protected]) | MPL-2.0 |
22-
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.9.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
22+
| [**dactyl**](https://github.com/Blobfolio/dactyl) | 0.10.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
2323
| [data-encoding](https://github.com/ia0/data-encoding) | 2.8.0 | [Julien Cretin](mailto:[email protected]) | MIT |
2424
| [dtoa](https://github.com/dtolnay/dtoa) | 1.0.9 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
2525
| [dtoa-short](https://github.com/upsuper/dtoa-short) | 0.3.5 | [Xidorn Quan](mailto:[email protected]) | MPL-2.0 |
26-
| [either](https://github.com/rayon-rs/either) | 1.13.0 | bluss | MIT OR Apache-2.0 |
26+
| [either](https://github.com/rayon-rs/either) | 1.14.0 | bluss | MIT OR Apache-2.0 |
2727
| [equivalent](https://github.com/indexmap-rs/equivalent) | 1.0.2 | | Apache-2.0 OR MIT |
2828
| [fastrand](https://github.com/smol-rs/fastrand) | 2.3.0 | [Stjepan Glavina](mailto:[email protected]) | Apache-2.0 OR MIT |
29-
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.6.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
29+
| [**fyi_msg**](https://github.com/Blobfolio/fyi) | 1.7.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
3030
| [getrandom](https://github.com/rust-random/getrandom) | 0.2.15 | The Rand Project Developers | MIT OR Apache-2.0 |
3131
| [getrandom](https://github.com/rust-random/getrandom) | 0.3.1 | The Rand Project Developers | MIT OR Apache-2.0 |
3232
| [**grass**](https://github.com/connorskees/grass) | 0.13.4 | [Connor Skees](mailto:39542938+[email protected]) | MIT |
3333
| [grass_compiler](https://github.com/connorskees/grass) | 0.13.4 | [Connor Skees](mailto:39542938+[email protected]) | MIT |
34-
| [**guff_css**](https://github.com/Blobfolio/guff) | 0.6.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
34+
| [**guff_css**](https://github.com/Blobfolio/guff) | 0.7.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
3535
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.14.5 | [Amanieu d'Antras](mailto:[email protected]) | MIT OR Apache-2.0 |
3636
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.15.2 | [Amanieu d'Antras](mailto:[email protected]) | MIT OR Apache-2.0 |
3737
| [indexmap](https://github.com/indexmap-rs/indexmap) | 2.7.1 | | Apache-2.0 OR MIT |
3838
| [itertools](https://github.com/rust-itertools/itertools) | 0.10.5 | bluss | MIT OR Apache-2.0 |
3939
| [itoa](https://github.com/dtolnay/itoa) | 1.0.14 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
4040
| [lasso](https://github.com/Kixiron/lasso) | 0.7.3 | [Chase Wilson](mailto:[email protected]) | MIT OR Apache-2.0 |
4141
| [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) | 1.5.0 | [Marvin Löbel](mailto:[email protected]) | MIT OR Apache-2.0 |
42-
| [libc](https://github.com/rust-lang/libc) | 0.2.169 | The Rust Project Developers | MIT OR Apache-2.0 |
42+
| [libc](https://github.com/rust-lang/libc) | 0.2.170 | The Rust Project Developers | MIT OR Apache-2.0 |
4343
| [**lightningcss**](https://github.com/parcel-bundler/lightningcss) | 1.0.0-alpha.63 | [Devon Govett](mailto:[email protected]) | MPL-2.0 |
4444
| [lightningcss-derive](https://github.com/parcel-bundler/lightningcss) | 1.0.0-alpha.43 | [Devon Govett](mailto:[email protected]) | MPL-2.0 |
4545
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | 0.4.15 | [Dan Gohman](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
46-
| [log](https://github.com/rust-lang/log) | 0.4.25 | The Rust Project Developers | MIT OR Apache-2.0 |
46+
| [log](https://github.com/rust-lang/log) | 0.4.26 | The Rust Project Developers | MIT OR Apache-2.0 |
4747
| [memchr](https://github.com/BurntSushi/memchr) ⚒️ | 2.7.4 | [Andrew Gallant](mailto:[email protected]) and bluss | Unlicense OR MIT |
4848
| [**minreq**](https://github.com/neonmoe/minreq) ⚒️ | 2.13.2 | [Jens Pitkanen](mailto:[email protected]) | ISC |
4949
| [once_cell](https://github.com/matklad/once_cell) | 1.20.3 | [Aleksey Kladov](mailto:[email protected]) | MIT OR Apache-2.0 |
50-
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.4.2 | [Josh Stoik](mailto:[email protected]) | WTFPL |
50+
| [**oxford_join**](https://github.com/Blobfolio/oxford_join) | 0.5.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
5151
| [parcel_selectors](https://github.com/parcel-bundler/lightningcss) | 0.28.1 | The Servo Project Developers | MPL-2.0 |
5252
| [paste](https://github.com/dtolnay/paste) | 1.0.15 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
5353
| [pathdiff](https://github.com/Manishearth/pathdiff) | 0.2.3 | [Manish Goregaokar](mailto:[email protected]) | MIT OR Apache-2.0 |
@@ -61,7 +61,7 @@
6161
| [quote](https://github.com/dtolnay/quote) | 1.0.38 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
6262
| [rand](https://github.com/rust-random/rand) | 0.8.5 | The Rand Project Developers and The Rust Project Developers | MIT OR Apache-2.0 |
6363
| [rand_core](https://github.com/rust-random/rand) | 0.6.4 | The Rand Project Developers and The Rust Project Developers | MIT OR Apache-2.0 |
64-
| [ring](https://github.com/briansmith/ring) ⚒️ | 0.17.9 | [Brian Smith](mailto:[email protected]) | |
64+
| [ring](https://github.com/ctz/ring) ⚒️ | 0.17.11 | | Apache-2.0 AND ISC |
6565
| [rustc-hash](https://github.com/rust-lang/rustc-hash) | 2.1.1 | The Rust Project Developers | Apache-2.0 OR MIT |
6666
| [rustix](https://github.com/bytecodealliance/rustix) | 0.38.44 | [Dan Gohman](mailto:[email protected]) and [Jakub Konka](mailto:[email protected]) | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT |
6767
| [rustls](https://github.com/rustls/rustls) ⚒️ | 0.21.12 | | Apache-2.0 OR ISC OR MIT |
@@ -77,13 +77,13 @@
7777
| [syn](https://github.com/dtolnay/syn) | 1.0.109 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
7878
| [syn](https://github.com/dtolnay/syn) | 2.0.98 | [David Tolnay](mailto:[email protected]) | MIT OR Apache-2.0 |
7979
| [tempfile](https://github.com/Stebalien/tempfile) | 3.17.1 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | MIT OR Apache-2.0 |
80-
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.6.1 | [Josh Stoik](mailto:[email protected]) | WTFPL |
80+
| [**trimothy**](https://github.com/Blobfolio/trimothy) | 0.7.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
8181
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.17 | [David Tolnay](mailto:[email protected]) | (MIT OR Apache-2.0) AND Unicode-3.0 |
8282
| [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) | 1.12.0 | [kwantam](mailto:[email protected]) and [Manish Goregaokar](mailto:[email protected]) | MIT OR Apache-2.0 |
8383
| [untrusted](https://github.com/briansmith/untrusted) ⚒️ | 0.9.0 | [Brian Smith](mailto:[email protected]) | ISC |
8484
| [version_check](https://github.com/SergioBenitez/version_check) ⚒️ | 0.9.5 | [Sergio Benitez](mailto:[email protected]) | MIT OR Apache-2.0 |
8585
| [webpki-roots](https://github.com/rustls/webpki-roots) ⚒️ | 0.25.4 | | MPL-2.0 |
86-
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.5.2 | [Josh Stoik](mailto:[email protected]) | WTFPL |
86+
| [**write_atomic**](https://github.com/Blobfolio/write_atomic) | 0.6.0 | [Josh Stoik](mailto:[email protected]) | WTFPL |
8787
| [zerocopy](https://github.com/google/zerocopy) | 0.7.35 | [Joshua Liebow-Feeser](mailto:[email protected]) | BSD-2-Clause OR Apache-2.0 OR MIT |
8888

8989
### Legend

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
resolver = "2"
2+
resolver = "3"
33
members = [
44
"guff",
55
"guff_css",

guff/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "guff"
3-
version = "0.6.1"
3+
version = "0.7.0"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
6-
edition = "2021"
6+
edition = "2024"
77
description = "A simple SASS/SCSS compiler and CSS parser/minifier."
88
repository = "https://github.com/Blobfolio/guff"
99
readme = "README.md"
@@ -66,12 +66,12 @@ description = "The path to save the minified output to. If omitted, the result w
6666
path = true
6767

6868
[build-dependencies]
69-
argyle = "0.10.*"
69+
argyle = "0.11.*"
7070

7171
[dependencies]
72-
argyle = "0.10.*"
73-
fyi_msg = "1.6.*"
74-
write_atomic = "0.5.*"
72+
argyle = "0.11.*"
73+
fyi_msg = "1.7.*"
74+
write_atomic = "0.6.*"
7575

7676
[dependencies.guff_css]
7777
path = "../guff_css"

guff/src/main.rs

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,29 @@ use guff_css::{
6060
Css,
6161
GuffError,
6262
};
63-
use std::path::Path;
63+
use std::{
64+
path::Path,
65+
process::ExitCode,
66+
};
6467

6568

6669

6770
/// # Main.
68-
fn main() {
71+
fn main() -> ExitCode {
6972
match main__() {
70-
Ok(()) => {},
73+
Ok(()) => ExitCode::SUCCESS,
74+
Err(GuffError::PrintHelp) => {
75+
helper();
76+
ExitCode::SUCCESS
77+
},
7178
Err(GuffError::PrintVersion) => {
7279
println!(concat!("Guff v", env!("CARGO_PKG_VERSION")));
80+
ExitCode::SUCCESS
81+
},
82+
Err(e) => {
83+
Msg::error(e.to_string()).eprint();
84+
ExitCode::FAILURE
7385
},
74-
Err(GuffError::PrintHelp) => { helper(); },
75-
Err(e) => { Msg::error(e.to_string()).die(1); },
7686
}
7787
}
7888

@@ -98,9 +108,7 @@ fn main__() -> Result<(), GuffError> {
98108
Argument::KeyWithValue("-o" | "--output", s) => { output.replace(s); },
99109

100110
// Nothing else is expected.
101-
Argument::Other(s) => if s.starts_with('-') {
102-
return Err(GuffError::Cli(s))
103-
},
111+
Argument::Other(s) => return Err(GuffError::Cli(s)),
104112
Argument::InvalidUtf8(s) => return Err(GuffError::Cli(s.to_string_lossy().into_owned())),
105113
_ => {},
106114
}

guff_css/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33

44

5+
## [0.7.0](https://github.com/Blobfolio/guff/releases/tag/v0.7.0) - 2025-02-25
6+
7+
### Changed
8+
9+
* Bump `dactyl` to `0.10`
10+
* Bump `oxford_join` to `0.5`
11+
* Bump `trimothy` to `0.7`
12+
* Bump MSRV to `1.85`
13+
* Bump Rust edition to `2024`
14+
* Miscellaneous code changes and lints
15+
16+
17+
518
## [0.6.1](https://github.com/Blobfolio/guff/releases/tag/v0.6.1) - 2025-02-20
619

720
### Changed

guff_css/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "guff_css"
3-
version = "0.6.1"
3+
version = "0.7.0"
44
license = "WTFPL"
55
authors = ["Josh Stoik <[email protected]>"]
6-
edition = "2021"
7-
rust-version = "1.83"
6+
edition = "2024"
7+
rust-version = "1.85"
88
description = "A simple SASS/SCSS compiler and CSS parser/minifier."
99
repository = "https://github.com/Blobfolio/guff"
1010
readme = "README.md"
@@ -15,9 +15,9 @@ default-target = "x86_64-unknown-linux-gnu"
1515
targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin" ]
1616

1717
[dependencies]
18-
dactyl = "0.9.*"
19-
oxford_join = "0.4.*"
20-
trimothy = "0.6.*"
18+
dactyl = "0.10.*"
19+
oxford_join = "0.5.*"
20+
trimothy = "0.7.*"
2121

2222
[dependencies.grass]
2323
version = "=0.13.4"
@@ -29,8 +29,8 @@ default-features = false
2929
features = [ "grid" ]
3030

3131
[build-dependencies]
32-
dactyl = "0.9.*"
33-
oxford_join = "0.4.*"
32+
dactyl = "0.10.*"
33+
oxford_join = "0.5.*"
3434

3535
[build-dependencies.minreq]
3636
version = "2.13.*"

release/man/guff.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH "GUFF" "1" "February 2025" "guff v0.6.1" "User Commands"
1+
.TH "GUFF" "1" "February 2025" "guff v0.7.0" "User Commands"
22
.SH NAME
3-
GUFF \- Manual page for guff v0.6.1.
3+
GUFF \- Manual page for guff v0.7.0.
44
.SH DESCRIPTION
55
A simple SASS/SCSS compiler and CSS parser/minifier.
66
.SS USAGE:

0 commit comments

Comments
 (0)