Skip to content

Commit

Permalink
release: 0.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Feb 8, 2024
2 parents 7e931fd + e1183f6 commit c5cac04
Show file tree
Hide file tree
Showing 8 changed files with 952 additions and 920 deletions.
38 changes: 19 additions & 19 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Project Dependencies
Package: guff
Version: 0.2.11
Generated: 2024-01-15 02:44:54 UTC
Version: 0.2.12
Generated: 2024-02-08 19:23:13 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.7.7 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [argyle](https://github.com/Blobfolio/argyle) | 0.6.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [bitflags](https://github.com/bitflags/bitflags) | 2.4.1 | The Rust Project Developers | Apache-2.0 or MIT |
| [ahash](https://github.com/tkaitchuck/ahash) | 0.8.7 | [Tom Kaitchuck](mailto:[email protected]) | Apache-2.0 or MIT |
| [argyle](https://github.com/Blobfolio/argyle) | 0.7.1 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [bitflags](https://github.com/bitflags/bitflags) | 2.4.2 | The Rust Project Developers | Apache-2.0 or MIT |
| [byteorder](https://github.com/BurntSushi/byteorder) | 1.5.0 | [Andrew Gallant](mailto:[email protected]) | MIT or Unlicense |
| [cfg-if](https://github.com/alexcrichton/cfg-if) | 1.0.0 | [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
| [codemap](https://github.com/kevinmehall/codemap) | 0.1.3 | [Kevin Mehall](mailto:[email protected]) | Apache-2.0 or MIT |
Expand All @@ -16,24 +17,25 @@
| [cssparser](https://github.com/servo/rust-cssparser) | 0.33.0 | [Simon Sapin](mailto:[email protected]) | MPL-2.0 |
| [cssparser-color](https://github.com/servo/rust-cssparser) | 0.1.0 | [Emilio Cobos Álvarez](mailto:[email protected]) | MPL-2.0 |
| [cssparser-macros](https://github.com/servo/rust-cssparser) | 0.6.1 | [Simon Sapin](mailto:[email protected]) | MPL-2.0 |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.6.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.7.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [data-encoding](https://github.com/ia0/data-encoding) | 2.5.0 | [Julien Cretin](mailto:[email protected]) | MIT |
| [dtoa](https://github.com/dtolnay/dtoa) | 1.0.9 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [dtoa-short](https://github.com/upsuper/dtoa-short) | 0.3.4 | [Xidorn Quan](mailto:[email protected]) | MPL-2.0 |
| [either](https://github.com/bluss/either) | 1.9.0 | bluss | Apache-2.0 or MIT |
| [equivalent](https://github.com/cuviper/equivalent) | 1.0.1 | | Apache-2.0 or MIT |
| [fastrand](https://github.com/smol-rs/fastrand) | 2.0.1 | [Stjepan Glavina](mailto:[email protected]) | Apache-2.0 or MIT |
| [fxhash](https://github.com/cbreeden/fxhash) | 0.2.1 | [cbreeden](mailto:[email protected]) | Apache-2.0 or MIT |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.11.8 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [fyi_msg](https://github.com/Blobfolio/fyi) | 0.12.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [getrandom](https://github.com/rust-random/getrandom) | 0.2.12 | The Rand Project Developers | Apache-2.0 or MIT |
| [grass](https://github.com/connorskees/grass) | 0.13.1 | [Connor Skees](mailto:[email protected]) | MIT |
| [grass_compiler](https://github.com/connorskees/grass) | 0.13.0 | [Connor Skees](mailto:[email protected]) | MIT |
| [guff_css](https://github.com/Blobfolio/guff) | 0.2.11 | [Josh Stoik](mailto:[email protected]) | WTFPL |
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.11.2 | [Amanieu d'Antras](mailto:[email protected]) | Apache-2.0 or MIT |
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.12.3 | [Amanieu d'Antras](mailto:[email protected]) | Apache-2.0 or MIT |
| [indexmap](https://github.com/bluss/indexmap) | 1.9.3 | | Apache-2.0 or MIT |
| [grass](https://github.com/connorskees/grass) | 0.13.2 | [Connor Skees](mailto:[email protected]) | MIT |
| [grass_compiler](https://github.com/connorskees/grass) | 0.13.2 | [Connor Skees](mailto:[email protected]) | MIT |
| [guff_css](https://github.com/Blobfolio/guff) | 0.2.12 | [Josh Stoik](mailto:[email protected]) | WTFPL |
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.13.2 | [Amanieu d'Antras](mailto:[email protected]) | Apache-2.0 or MIT |
| [hashbrown](https://github.com/rust-lang/hashbrown) | 0.14.3 | [Amanieu d'Antras](mailto:[email protected]) | Apache-2.0 or MIT |
| [indexmap](https://github.com/indexmap-rs/indexmap) | 2.2.2 | | Apache-2.0 or MIT |
| [itertools](https://github.com/rust-itertools/itertools) | 0.10.5 | bluss | Apache-2.0 or MIT |
| [itoa](https://github.com/dtolnay/itoa) | 1.0.10 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [lasso](https://github.com/Kixiron/lasso) | 0.6.0 | [Chase Wilson](mailto:[email protected]) | Apache-2.0 or MIT |
| [lasso](https://github.com/Kixiron/lasso) | 0.7.2 | [Chase Wilson](mailto:[email protected]) | Apache-2.0 or MIT |
| [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) | 1.4.0 | [Marvin Löbel](mailto:[email protected]) | Apache-2.0 or MIT |
| [lightningcss](https://github.com/parcel-bundler/lightningcss) | 1.0.0-alpha.52 | [Devon Govett](mailto:[email protected]) | MPL-2.0 |
| [log](https://github.com/rust-lang/log) | 0.4.20 | The Rust Project Developers | Apache-2.0 or MIT |
Expand All @@ -44,25 +46,23 @@
| [pathdiff](https://github.com/Manishearth/pathdiff) | 0.2.1 | [Manish Goregaokar](mailto:[email protected]) | Apache-2.0 or MIT |
| [phf](https://github.com/sfackler/rust-phf) | 0.10.1 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf](https://github.com/rust-phf/rust-phf) | 0.11.2 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_generator](https://github.com/sfackler/rust-phf) | 0.10.0 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_generator](https://github.com/rust-phf/rust-phf) | 0.11.2 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_macros](https://github.com/sfackler/rust-phf) | 0.10.0 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_macros](https://github.com/rust-phf/rust-phf) | 0.11.2 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_shared](https://github.com/sfackler/rust-phf) | 0.10.0 | [Steven Fackler](mailto:[email protected]) | MIT |
| [phf_shared](https://github.com/rust-phf/rust-phf) | 0.11.2 | [Steven Fackler](mailto:[email protected]) | MIT |
| [ppv-lite86](https://github.com/cryptocorrosion/cryptocorrosion) | 0.2.17 | The CryptoCorrosion Contributors | Apache-2.0 or MIT |
| [precomputed-hash](https://github.com/emilio/precomputed-hash) | 0.1.1 | [Emilio Cobos Álvarez](mailto:[email protected]) | MIT |
| [proc-macro-hack](https://github.com/dtolnay/proc-macro-hack) | 0.5.20+deprecated | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.76 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.78 | [David Tolnay](mailto:[email protected]) and [Alex Crichton](mailto:[email protected]) | Apache-2.0 or MIT |
| [quote](https://github.com/dtolnay/quote) | 1.0.35 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [rand](https://github.com/rust-random/rand) | 0.8.5 | The Rand Project Developers and The Rust Project Developers | Apache-2.0 or MIT |
| [rand_chacha](https://github.com/rust-random/rand) | 0.3.1 | The Rand Project Developers, The Rust Project Developers, and The CryptoCorrosion Contributors | Apache-2.0 or MIT |
| [rand_core](https://github.com/rust-random/rand) | 0.6.4 | The Rand Project Developers and The Rust Project Developers | Apache-2.0 or MIT |
| [siphasher](https://github.com/jedisct1/rust-siphash) | 0.3.11 | [Frank Denis](mailto:[email protected]) | Apache-2.0 or MIT |
| [smallvec](https://github.com/servo/rust-smallvec) | 1.12.0 | The Servo Project Developers | Apache-2.0 or MIT |
| [smallvec](https://github.com/servo/rust-smallvec) | 1.13.1 | The Servo Project Developers | Apache-2.0 or MIT |
| [syn](https://github.com/dtolnay/syn) | 1.0.109 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [syn](https://github.com/dtolnay/syn) | 2.0.48 | [David Tolnay](mailto:[email protected]) | Apache-2.0 or MIT |
| [tempfile](https://github.com/Stebalien/tempfile) | 3.9.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [tempfile](https://github.com/Stebalien/tempfile) | 3.10.0 | [Steven Allen](mailto:[email protected]), The Rust Project Developers, [Ashley Mannix](mailto:[email protected]), and [Jason White](mailto:[email protected]) | Apache-2.0 or MIT |
| [trimothy](https://github.com/Blobfolio/trimothy) | 0.2.2 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.12 | [David Tolnay](mailto:[email protected]) | Apache-2.0 AND Unicode-DFS-2016 or MIT |
| [write_atomic](https://github.com/Blobfolio/write_atomic) | 0.5.0 | [Blobfolio, LLC.](mailto:[email protected]) | WTFPL |
| [zerocopy](https://github.com/google/zerocopy) | 0.7.32 | [Joshua Liebow-Feeser](mailto:[email protected]) | Apache-2.0, BSD-2-Clause, or MIT |
8 changes: 4 additions & 4 deletions guff/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "guff"
version = "0.2.11"
version = "0.2.12"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
Expand All @@ -19,7 +19,7 @@ revision = "1"
depends = "$auto"
section = "utils"
assets = [
["../target/x86_64-unknown-linux-gnu/release/guff", "usr/bin/", "755"],
["../target/release/guff", "usr/bin/", "755"],
["../release/completions/guff.bash", "etc/bash_completion.d/", "644"],
["../release/man/guff.1.gz", "usr/share/man/man1/", "644"],
]
Expand Down Expand Up @@ -67,8 +67,8 @@ description = "The path to save the minified output to. If omitted, the result w
path = true

[dependencies]
argyle = "0.6.*"
fyi_msg = "0.11.*"
argyle = "0.7.*"
fyi_msg = "0.12.*"
write_atomic = "0.5.*"

[dependencies.guff_css]
Expand Down
9 changes: 9 additions & 0 deletions guff_css/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@



## [0.2.12](https://github.com/Blobfolio/guff/releases/tag/v0.2.12) - 2024-02-08

### Changed

* Replace `ureq` build dependency w/ `minreq`
* Bump `dactyl` to `0.7`



## [0.2.11](https://github.com/Blobfolio/guff/releases/tag/v0.2.11) - 2024-01-14

### Changed
Expand Down
14 changes: 9 additions & 5 deletions guff_css/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "guff_css"
version = "0.2.11"
version = "0.2.12"
license = "WTFPL"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
Expand All @@ -15,12 +15,12 @@ default-target = "x86_64-unknown-linux-gnu"
targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin" ]

[dependencies]
dactyl = "0.6.*"
dactyl = "0.7.*"
oxford_join = "0.2.*"
trimothy = "0.2.*"

[dependencies.argyle]
version = "0.6.*"
version = "0.7.*"
optional = true

[dependencies.grass]
Expand All @@ -33,8 +33,12 @@ default-features = false
features = [ "grid" ]

[build-dependencies]
dactyl = "0.6.*"
ureq = "^2.6, ^2.7"
dactyl = "0.7.*"

[build-dependencies.minreq]
version = "2.11.*"
default-features = false
features = ["https"]

[build-dependencies.serde]
version = "1.0.*"
Expand Down
29 changes: 15 additions & 14 deletions guff_css/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,25 +76,26 @@ fn fetch() -> Vec<u8> {
#[cfg(not(docsrs))]
/// # Fetch Remote.
fn fetch_remote(cache: &Path) -> Option<Vec<u8>> {
use std::io::Read;

// Download it.
let res = ureq::get(DATA_URL)
.set("user-agent", "Mozilla/5.0")
.call()
let res = minreq::get(DATA_URL)
.with_header("user-agent", "Mozilla/5.0")
.with_timeout(30)
.send()
.ok()?;

let mut out: Vec<u8> = Vec::new();
res.into_reader().read_to_end(&mut out).ok()?;

if out.is_empty() { None }
else {
// Try to save for next time.
let _res = File::create(cache)
.and_then(|mut f| f.write_all(&out).and_then(|_| f.flush()));
// Only accept happy response codes with sized bodies.
if (200..=399).contains(&res.status_code) {
let out = res.into_bytes();
if ! out.is_empty() {
// Try to save for next time.
let _res = File::create(cache)
.and_then(|mut f| f.write_all(&out).and_then(|_| f.flush()));

Some(out)
return Some(out);
}
}

None
}

#[cfg(not(docsrs))]
Expand Down
Loading

0 comments on commit c5cac04

Please sign in to comment.