This website works better with JavaScript.
7858cd68cf
reference conversions for FmtWriteSink and IoWriteSink
main
pantonshire
2023-11-05 10:49:58 +0000
706e8ca22a
dedicated sink newtypes for fmt::Write and io::Write
pantonshire
2023-11-05 09:46:32 +0000
3dcb61021f
apply trait
pantonshire
2023-11-05 07:57:01 +0000
fc6caf0de6
iterator for Either
pantonshire
2023-10-23 09:05:30 +0100
44e27e9d23
🩹 convert: remove `#[must_use]` from `result_elim`
pantonshire
2023-01-21 20:23:32 +0000
266fa13165
✨ sink: add `SinkString::empty` and `SinkString::with_capacity`
pantonshire
2023-01-21 20:19:17 +0000
e1e26c7fd5
🩹 Re-export `sink_fmt!` from `libshire::sink` module
pantonshire
2023-01-21 20:08:47 +0000
ba515d4cfc
✨ Add `FmtSink` trait and `sink_fmt!` macro
pantonshire
2023-01-21 20:00:06 +0000
ac26dc3422
♻️ Rename `StringSink` to `SinkString`
pantonshire
2023-01-21 18:52:55 +0000
8309e19a68
strings: remove wide pointer cast in CappedString impl
pantonshire
2022-09-18 21:21:45 +0100
7253d95010
strings: CappedString to FixedString conversion methods
pantonshire
2022-09-14 20:09:25 +0100
96daa5ca00
strings: refactor error types
pantonshire
2022-09-14 19:20:21 +0100
352c01f613
Merge pull request #1 from pantonshire/capped-string
pantonshire
2022-09-14 16:28:00 +0100
cad45f5bce
strings: unit tests and documentation for CappedString
pantonshire
2022-09-14 16:10:07 +0100
383f0ae358
strings: add CappedString::clear method
pantonshire
2022-09-14 15:08:39 +0100
82034e14d0
strings: pointer-to-reference functions for InliningString
pantonshire
2022-09-14 00:32:12 +0100
119a32840a
strings: fill in safety comments for CappedString
pantonshire
2022-09-12 17:46:00 +0100
f411c30220
encoding: remove redundant pointer cast in url::percent_decode_utf8
pantonshire
2022-09-12 16:47:31 +0100
0d88775366
strings: implement push and push_truncating for CappedString
pantonshire
2022-09-12 16:32:34 +0100
2d5343681a
strings: WIP CappedString::push_str and friends
pantonshire
2022-09-10 21:55:39 +0100
c50b3c7daa
strings: implement `CappedString::new` using `CappedString::from_raw_ptr`
pantonshire
2022-09-10 20:10:19 +0100
4917be0963
strings: WIP CappedString refactoring and improvements
pantonshire
2022-09-09 21:20:30 +0100
96a085686b
test: improve test script to allow easily adding new runs
pantonshire
2022-09-08 16:55:30 +0100
c8783caae2
strings: CappedString now uses a MaybeUninit buf
pantonshire
2022-09-08 16:20:17 +0100
5e612f153c
Deny unsafe_op_in_unsafe_fn
pantonshire
2022-09-08 16:08:14 +0100
299553bebf
Documentation for CappedString
pantonshire
2022-09-08 13:58:03 +0100
d4c064c92e
Conversions between CappedString and Box<str>
pantonshire
2022-09-08 13:34:37 +0100
ab9c62d993
Documentation
pantonshire
2022-09-07 14:41:41 +0100
8f263e330a
Optional decoding of plus character in percent encoded strings
pantonshire
2022-09-06 21:23:51 +0100
f0cc229a65
Percent decoding compliant with URL standard, export percent encoder and decoder types
pantonshire
2022-09-06 15:42:32 +0100
2b27819104
Percent encode to String buffer
pantonshire
2022-08-29 11:16:10 +0100
d0ea531c05
RFC 3986 percent encoding, std feature now depends on alloc feature
pantonshire
2022-08-26 15:00:11 +0100
5435784506
Make use of FixedString for hex encoding
pantonshire
2022-08-24 20:31:56 +0100
8b605ca5c9
Fix for UUID
pantonshire
2022-08-24 17:33:37 +0100
5535231475
Hex encoding functions now return arrays rather than tuples
pantonshire
2022-08-24 17:20:53 +0100
0e03fa87ba
Fix doc tests for hex module
Pantonshire
2022-08-24 14:14:04 +0100
cf2648dde6
Seal the encoding::hex::Encode trait
Pantonshire
2022-08-18 11:54:06 +0100
eff2fab679
Encoding module
Pantonshire
2022-08-18 11:52:28 +0100
d1ca94954b
impl Clone for InliningString
Pantonshire
2022-08-01 12:08:06 +0200
5ca54944e8
Move the experimental InliningString to the inlining module
Pantonshire
2022-07-23 15:18:54 +0100
6d6d35f2e0
More conversion functions for InliningString
Pantonshire
2022-07-22 17:46:45 +0100
f72b53e84f
Improve test script
Pantonshire
2022-07-22 17:44:36 +0100
8e733c444d
Remove debugging info and use new serde::Deserialize impl for experimental InliningString
Pantonshire
2022-07-21 13:34:56 +0100
45ae1c68eb
Improved serde support
Pantonshire
2022-07-21 13:29:09 +0100
0b4dbc6bc5
no_std support
Pantonshire
2022-07-21 13:01:33 +0100
78b940ff19
Bash script for miri testing
Pantonshire
2022-07-21 10:20:09 +0100
c601e806dd
Improve experimental InliningString documentation
Pantonshire
2022-07-21 10:19:15 +0100
b066273e66
Fixes to names and comments
Pantonshire
2022-07-15 17:10:48 +0100
6bd8c8a111
Implement more traits for experimental InliningString
Pantonshire
2022-07-15 16:31:12 +0100
821c75729d
Experimental InliningString::empty, rename experimental ShString23
Pantonshire
2022-07-15 16:24:17 +0100
b10507ae24
Rename experimental ShString and enable the niche optimisation
Pantonshire
2022-07-15 15:56:26 +0100
4d4e4486d1
ShString is now InliningString
Pantonshire
2022-07-14 11:14:45 +0100
6211e60319
Add InlineStringError to strings module, rename ShString repr variant
Pantonshire
2022-07-14 09:26:10 +0100
74e2bbf406
Rename StackString to InlineString to reflect the fact that it may not always be on the stack, rename modules
Pantonshire
2022-07-14 09:21:01 +0100
da09d5015b
Documentation and API improvements to Either
Pantonshire
2022-07-14 09:02:48 +0100
78ee3cfb4e
Experimental ShString now supports efficient conversion to String
Pantonshire
2022-07-13 14:49:38 +0100
a9c431627b
Fix clippy lint in convert module
Pantonshire
2022-07-12 19:36:51 +0100
23df5f425f
Minor formatting fix
Pantonshire
2022-07-12 14:50:13 +0100
b6f60fcfc3
Experimental ShString no longer needlessly zeroes memory, added experimental ShString23
Pantonshire
2022-07-12 14:46:39 +0100
93a8cefd06
ShString now uses the StackString from the public API
Pantonshire
2022-07-12 14:46:01 +0100
85de7505e5
Extra little test case :3
Pantonshire
2022-07-12 12:09:37 +0100
d0f9044222
Move StackString to its own public module
Pantonshire
2022-07-12 12:09:16 +0100
378800ce89
No longer require default features for serde
Pantonshire
2022-06-02 22:24:50 +0100
56179ac613
impl Serialize and Deserialize for ShString
Pantonshire
2022-06-02 22:08:58 +0100
c077cdf610
Proof of concept improvement for ShString
Pantonshire
2022-06-02 21:27:43 +0100
4dd61aeaa2
FixedString data structure, improved UUID string encoding
Pantonshire
2022-06-02 15:35:35 +0100
da5f2235d2
Move ShString to its own submodule
Pantonshire
2022-06-01 17:37:03 +0100
18767a8837
Serde support for uuid
Pantonshire
2022-06-01 17:35:52 +0100
c0f0a3a017
Note to self as a todo comment
Pantonshire
2022-05-25 20:22:04 +0100
bd2b3a8a29
impl Default for Uuid
Pantonshire
2022-05-25 15:45:48 +0100
66f3bee9fc
Remove sqlx feature, empty ShString function
Pantonshire
2022-05-25 15:22:38 +0100
ca1c08a6d7
UUID module, currently supporting UUID v5
Pantonshire
2022-05-25 14:14:27 +0100
62dae93140
Remove Bot type in favour of Empty trait
Pantonshire
2022-05-17 16:01:54 +0100
6aebb1f104
Either type
Pantonshire
2022-05-17 15:19:02 +0100
ee6f00c0e7
Documentation, const-ification, additional convert functions
Pantonshire
2022-05-17 14:40:56 +0100
70fa5daf6c
Bottom type and infallible eliminator
Pantonshire
2022-05-17 03:21:50 +0100
569e291cd3
Remove TODO comment
Pantonshire
2022-05-16 21:15:45 +0100
8ba4dbcce6
impl AsMut<str> for ShString
Pantonshire
2022-05-16 15:18:13 +0100
8b1fd457a8
Mark several functions as inline and must_use
Pantonshire
2022-05-15 20:08:14 +0100
72f3f467c2
Create README.md
pantonshire
2022-05-15 18:32:30 +0100
c3cbc20afb
Mention upper bound of const parameter N in ShString documentation
Pantonshire
2022-05-15 18:30:10 +0100
c4291ea488
Minor documentation fix
Pantonshire
2022-05-15 18:20:39 +0100
d095ae8d96
Tests and doctests
Pantonshire
2022-05-15 18:19:34 +0100
fdb0e16fa3
Initial commit
Pantonshire
2022-05-15 17:14:39 +0100