Rob Wagner
36df71fb2f
Adds a helper From<T> impl for basic HxResponseTrigger* variants.
...
This is purely to help make the public API more friendly and less verbose.
2023-10-24 00:26:31 -04:00
Rob Wagner
35aa41f5ba
Update README.md
2023-10-23 23:58:41 -04:00
Rob Wagner
c85fc831f3
Update CHANGELOG.md
2023-10-23 23:50:47 -04:00
Rob Wagner
cd3e7a5461
Update README.md
2023-10-23 23:26:00 -04:00
Rob Wagner
ed1820d7fc
Update README.md
2023-10-23 23:25:18 -04:00
Rob Wagner
f406f74591
Add a test for the double-escape bug
2023-10-23 23:13:31 -04:00
Rob Wagner
6c7ddeec19
Add Debug to HxError
2023-10-23 23:13:09 -04:00
Rob Wagner
a1bac4b30e
Remove unnecessary .to_string() call when creating a header from JSON data
...
The original version would double quote values, resulting in serde_json inserting
escape characters into the final string value, which prevented the header from
being parsed by htmx properly.
2023-10-23 22:52:01 -04:00
Rob Wagner
81b9c548b3
Update Cargo.toml
2023-10-23 22:11:21 -04:00
Rob Wagner
40243f32da
Add missing comment on HxEvent
2023-10-23 22:09:52 -04:00
Rob Wagner
d19ba7be1d
Update README.md
2023-10-23 22:07:24 -04:00
Rob Wagner
1e5f9088ed
Update README.md
2023-10-23 22:06:43 -04:00
Rob Wagner
9737260095
Update CHANGELOG.md
2023-10-23 22:05:34 -04:00
Rob Wagner
4171343468
Update Cargo.toml meta information
2023-10-23 22:03:50 -04:00
Rob Wagner
bab74e0d38
Update CHANGELOG.md
2023-10-23 22:01:05 -04:00
Rob Wagner
ddb22f3b9d
Update README.md
2023-10-23 21:58:40 -04:00
Rob Wagner
7206dd1852
Update README.md
2023-10-23 21:57:00 -04:00
Rob Wagner
3af87ed81c
Update README.md
2023-10-23 21:55:47 -04:00
Rob Wagner
b4f2dcbd88
Comments for API docs
2023-10-23 21:54:49 -04:00
Rob Wagner
ff5db1e718
Update README.md
2023-10-23 21:51:06 -04:00
Rob Wagner
145abcc92a
Shorten import path in comments
2023-10-23 21:40:21 -04:00
Rob Wagner
435cbf56db
Update comments; fix naming on serde::Hx* variants
2023-10-23 21:37:20 -04:00
Rob Wagner
2045b19c6f
Update README.md
2023-10-23 21:24:00 -04:00
Rob Wagner
9faaea4f4e
Minor code cleanup
2023-10-23 21:08:00 -04:00
Rob Wagner
9fcd534468
Add missing backtick
2023-10-23 21:07:20 -04:00
Rob Wagner
0156ceb268
Simplify boolean expression
2023-10-23 21:05:57 -04:00
Rob Wagner
3928b9f407
Take &str instead of String for HxEvent::new_* fns
2023-10-23 21:04:06 -04:00
Rob Wagner
22e81e0d0b
Comment cleanup
2023-10-23 21:01:21 -04:00
Rob Wagner
d551c4cd8e
Minor documentation / code cleanup
2023-10-23 20:48:44 -04:00
Rob
6eea312d94
Merge pull request #5 from pfz4/responders
...
Implements axum responses for all of the htmx response headers; allowing users to simply and safely apply htmx headers to responses from their routes.
2023-10-23 20:40:06 -04:00
e784674f2e
remove responder HxTrigger name collision
2023-10-23 20:43:16 +02:00
ad16b10fc6
provide basic responder functionality without serde, json features with serde feature
2023-10-22 20:45:48 +02:00
a32274e280
first responders implementation
2023-10-22 15:36:20 +02:00
Rob Wagner
b7bfad0df7
Rebuild docs so HxRequestGuardLayer is visible on docs.rs
2023-08-16 19:05:38 -04:00
Rob Wagner
070fb069a6
Update README.md
2023-08-08 20:21:36 -04:00
Rob Wagner
a753da22fa
Update CHANGELOG.md
2023-07-29 17:16:05 -04:00
Rob Wagner
ec719834b0
Version bump
2023-07-29 17:13:51 -04:00
Rob Wagner
85d8a7be53
Update README.md
2023-07-29 17:10:02 -04:00
Rob
0476a16ebc
Merge pull request #2 from robertwayne/guard-redirects ( closes #1 )
...
HxRequestGuard now redirects on failure
2023-07-29 17:08:51 -04:00
Rob Wagner
e171be5cf7
Update README.md
2023-07-29 17:06:49 -04:00
Rob Wagner
19aadd8eab
Document new guard behaviour
2023-07-29 17:05:05 -04:00
Rob Wagner
a07426695a
Redirect on HxRequest guard failures
2023-07-29 16:04:51 -04:00
Rob Wagner
35f86927e7
Update README.md
2023-07-27 23:44:28 -04:00
Rob Wagner
9427a65244
Update README.md
2023-07-27 23:36:41 -04:00
Rob Wagner
5a46f44cc9
Update README.md
2023-07-27 23:21:31 -04:00
Rob Wagner
d7f78687fe
Update README.md
2023-07-27 23:04:22 -04:00
Rob Wagner
4aa5cd299d
Update README.md
2023-07-27 23:03:16 -04:00
Rob Wagner
8befd4414b
Add missing module doc
2023-07-27 22:38:07 -04:00
Rob Wagner
c280c336da
Update CHANGELOG.md
2023-07-27 22:28:26 -04:00
Rob Wagner
86890e25d4
Add CHANGELOG.md
2023-07-27 22:23:46 -04:00