~quaff

https://quaff.site

aka Ming. Privacy advocate. Full-stack Web Developer by trade; fledgling rustacean 🦀 by moonlight. 🇨🇦

codeberg github keyoxide mastodon

~quaff/html-asset-hasher-devel

Last active 4 months ago

~quaff/public-inbox

Last active 1 year, 3 days ago
View more

Recent activity

[PATCH 2/2] ci(binaries): #6 - precompiled binaries 2 months ago

From quaff to ~quaff/html-asset-hasher-devel

- add precompiled binaries to build release
- reverse execution order of cargo and git
- set sourcehut compatible issue url format in changelog
---
 .build.yml      | 33 +++++++++++++++++++--------------
 .releaserc.json | 25 ++++++++++++++-----------
 CHANGELOG.md    |  2 +-
 Cargo.lock      | 13 ++++++++++++-
 Cargo.toml      | 25 ++++++++++++++++++++++---
 5 files changed, 68 insertions(+), 30 deletions(-)

diff --git a/.build.yml b/.build.yml
index 0445959..c56c611 100644
--- a/.build.yml
[message trimmed]

[PATCH 1/2] fix: no input paths should exit with message. more explicitness where was using unwrap(). 2 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 src/main.rs     | 122 ++++++++++++++++++++++++++----------------------
 src/tailwind.rs |  72 ++++++++++++++++------------
 2 files changed, 108 insertions(+), 86 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index e4c5274..8312a9c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -39,7 +39,7 @@ use tailwind::{Asset, Tailwind, DEFAULT_TAILWIND_COMMAND, DEFAULT_TAILWIND_VERSI
)]
struct Arguments {
    // Input HTML files or directories
    #[arg(value_name = "PATHS")]
[message trimmed]

[PATCH v2] feat: #5 Support for `<img>` tags and remote sources. update to support tailwindcss v3.4.17. 2 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 Cargo.lock      | 721 ++++++++++++++++++++++++++++++------------------
 README.md       |  38 ++-
 src/html.rs     |   2 +-
 src/main.rs     | 224 ++++++++++-----
 src/tailwind.rs |   2 +-
 5 files changed, 632 insertions(+), 355 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index b85b482..6381302 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,12 +1,12 @@
# This file is automatically @generated by Cargo.
[message trimmed]

[PATCH] feat: #5 Support for `<img>` tags and remote sources. 2 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 Cargo.lock      | 721 ++++++++++++++++++++++++++++++------------------
 README.md       |  38 ++-
 src/html.rs     |   2 +-
 src/main.rs     | 227 ++++++++++-----
 src/tailwind.rs |   2 +-
 5 files changed, 635 insertions(+), 355 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index b85b482..6381302 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,12 +1,12 @@
# This file is automatically @generated by Cargo.
[message trimmed]

[PATCH v2 2/2] feat: input multiple files or directories. only download tailwind once and copy assets once. 4 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 README.md       |   4 +-
 src/hasher.rs   |  15 +++----
 src/html.rs     |  12 ++++--
 src/main.rs     | 110 +++++++++++++++++++++++++++++++++---------------
 src/tailwind.rs |  27 ++++++------
 5 files changed, 108 insertions(+), 60 deletions(-)

diff --git a/README.md b/README.md
index 482637e..05b9a60 100644
--- a/README.md
+++ b/README.md
@@ -63,10 +63,10 @@ directory.
### Usage
[message trimmed]

[PATCH v2 1/2] feat: add simplelog and debug mode 4 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 Cargo.lock      | 100 ++++++++++++++++++++++++++++++++++++++++++++++++
 Cargo.toml      |   1 +
 README.md       |   1 +
 src/hasher.rs   |   3 +-
 src/main.rs     |  32 ++++++++++++----
 src/tailwind.rs |  23 +++++++----
 6 files changed, 144 insertions(+), 16 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 3e6a7e8..9f781aa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -288,6 +288,15 @@ dependencies = [
[message trimmed]

Re: [PATCH 2/2] feat: input multiple files or directories. only download tailwind once and copy assets once. 4 months ago

From Ming Tang to ~quaff/html-asset-hasher-devel

Looks like I forgot to change one of the `FILES` references  to `PATHS`. 
Specifically in `src/main.rs` L4

[PATCH 2/2] feat: input multiple files or directories. only download tailwind once and copy assets once. 4 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 README.md       |   4 +-
 src/hasher.rs   |  15 +++----
 src/html.rs     |  12 ++++--
 src/main.rs     | 110 +++++++++++++++++++++++++++++++++---------------
 src/tailwind.rs |  27 ++++++------
 5 files changed, 108 insertions(+), 60 deletions(-)

diff --git a/README.md b/README.md
index 482637e..05b9a60 100644
--- a/README.md
+++ b/README.md
@@ -63,10 +63,10 @@ directory.
### Usage
[message trimmed]

[PATCH 1/2] feat: add simplelog and debug mode 4 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 Cargo.lock      | 100 ++++++++++++++++++++++++++++++++++++++++++++++++
 Cargo.toml      |   1 +
 README.md       |   1 +
 src/hasher.rs   |   3 +-
 src/main.rs     |  32 ++++++++++++----
 src/tailwind.rs |  23 +++++++----
 6 files changed, 144 insertions(+), 16 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 3e6a7e8..9f781aa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -288,6 +288,15 @@ dependencies = [
[message trimmed]

[PATCH] feat: fetch tailwindcss if not installed. 4 months ago

From quaff to ~quaff/html-asset-hasher-devel

---
 Cargo.lock      | 1192 ++++++++++++++++++++++++++++++++++++++++++++++-
 Cargo.toml      |    2 +
 src/hasher.rs   |    3 +-
 src/html.rs     |    3 +-
 src/main.rs     |   97 ++--
 src/tailwind.rs |  102 +++-
 6 files changed, 1325 insertions(+), 74 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 47b64d7..9d9c367 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -74,7 +74,7 @@ version = "1.1.1"
[message trimmed]