Dan Alekseev
09c129fcf7
Updated README with better explanation of hx_boosted_by usage
2024-04-07 14:19:54 +04:00
Dan Alekseev
f941f00e34
Fix in hx_boosted_by example
2024-04-06 12:03:43 +04:00
Dan Alekseev
7a8a411d29
Fixed README feature name, added info for Feature Flags section
2024-04-06 11:42:05 +04:00
Dan Alekseev
6be4fcfb23
Added hx_boosted_by docs into README
2024-04-06 11:39:00 +04:00
Dan Alekseev
7ef8f4485c
Added hx-boosted-by macro
2024-04-06 02:19:28 +04:00
Rob Wagner
e8a0b94d03
Update docs to specify response parts ordering ( fixes #11 )
2023-12-14 20:48:54 -05:00
Rob Wagner
1edbce34be
Typo
2023-12-03 16:47:55 -05:00
Rob Wagner
4162bd8760
HxEvent::new takes AsRef<str>; removed redundant .to_string()
2023-12-03 16:06:06 -05:00
Rob Wagner
29dbadc8bc
Formatting
2023-12-03 15:56:03 -05:00
Rob Wagner
9d559d0041
Update README.md
2023-12-03 15:55:56 -05:00
Rob Wagner
035c9c0e5e
Minor stylistic tweaks
2023-12-03 15:50:40 -05:00
Rob Wagner
97b72850f5
Update CHANGELOG.md
2023-12-03 15:47:28 -05:00
Rob Wagner
b9261c0988
Update README.md
2023-12-03 15:47:22 -05:00
Rob Wagner
3859d9beb6
Update README.md
2023-12-03 15:33:27 -05:00
Rob Wagner
3ac0d5ac49
Update to v0.5
2023-12-03 15:20:09 -05:00
Rob
1b3febbf16
Merge pull request #9 from ItsEthra/code-dedup
...
Merged serde responders to remove code
- Removed responders::serde, now all triggers in responders module use HxEvent which has additional data fields when serde feature is enabled.
- Removed responders::serde::HxLocation, now responders::HxLocation is a struct with a uri field and additional options field when serde feature is enabled.
- HxResponseTrigger* responders are now in responders/trigger.rs, HxLocation responder is now in responders/location.rs.
- Implemented TryFrom<&str> for uri-like responders.
- Renamed HxError::Serialization to HxError::Json.
- Added test for HxLocation serialization.
- Do not add HxResponseTrigger* header if there are no events.
2023-12-03 15:18:12 -05:00
ItsEthra
2d3b94d37d
Moved HxError && implemented Error trait
2023-12-03 22:41:37 +03:00
ItsEthra
c1c54a17f5
Inlined reexports
2023-12-03 22:38:43 +03:00
ItsEthra
8e1094e043
Generalized response impls
2023-12-03 22:38:24 +03:00
ItsEthra
9c894b8d19
Added more from impls for responders
2023-12-03 19:33:52 +03:00
ItsEthra
523cbb0371
Added helper methods to HxLocation
2023-12-03 18:56:28 +03:00
ItsEthra
d7a8ee55b1
Hidden ResponseFuture type
2023-12-03 15:16:33 +03:00
ItsEthra
140a74c071
Use http::Uri in HxCurrentUrl
2023-12-03 15:13:07 +03:00
ItsEthra
a04e131a69
Combined HxResposeTrigger* into one struct
2023-12-03 15:04:17 +03:00
ItsEthra
f07518d5a2
Fixed docs
2023-12-01 22:46:54 +03:00
ItsEthra
1dfff29673
Moved HxLocation && HxTrigger* into different modules
2023-12-01 22:05:31 +03:00
ItsEthra
a223399361
Code dedup
2023-12-01 21:41:42 +03:00
Rob Wagner
66d444b760
Update CHANGELOG.md
2023-11-30 18:33:20 -05:00
Rob
9ee6bf7fc2
Merge pull request #8 from ItsEthra/axum-core
...
Use axum-core,async-trait,http instead of axum
2023-11-30 18:28:14 -05:00
ItsEthra
3f23ac7251
Use axum-core,async-trait,http instead of axum
2023-11-30 23:01:19 +03:00
Rob
02cb1e64c1
Merge pull request #7 from ItsEthra/cfg-badges
...
Generate docs with cfg badges using nightly compiler
2023-11-30 11:55:58 -05:00
ItsEthra
63efc3ffd5
Generate docs with cfg badges
2023-11-30 18:12:37 +03:00
Rob Wagner
6af52af17f
Update README.md
2023-11-27 19:48:09 -05:00
Rob
c546f23fd0
Merge pull request #6 from robertwayne/axum-0.7
...
Migrate main to axum 0.7 instead of the unstable git branch
2023-11-27 19:44:07 -05:00
Rob Wagner
0b7c48043f
Update README.md
2023-11-27 19:40:02 -05:00
Rob Wagner
aa9087b76f
Update CHANGELOG.md
2023-11-27 19:38:23 -05:00
Rob Wagner
a5928f10a6
Update axum to 0.7
2023-11-27 19:27:05 -05:00
Rob Wagner
138087edc4
Update README.md
2023-11-27 19:26:50 -05:00
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