summaryrefslogtreecommitdiff
path: root/src/fixed_string/mod.rs
AgeCommit message (Collapse)Author
2024-08-21Bump minor version; Add macros crate; Add derive macros; Update package ↵0.5.0Gabriel Bjørnager Jensen
metadata; Update readme; Expand docs; Require fixed size (de)serialisations; Add more error variants; Require 'bzipper::Error' for (de)serialisation; Reworks streams; Remove 'Buffer'; Rework 'FixedString'; Serialise 'usize' and 'isize' as 'u32' and 'i32', respectively; Rework arrays (de)serialisation; Fix 'Result' serialisations; Add new logo; Add features 'alloc' and 'std'; Specify rustc version; Rename 'FixedStringIter' to 'FixedIter'; Implement 'Serialise' and 'Deserialise' for single tuples and 'PhantomData';
2024-06-11Add logo; Clean up code; Fix array deserialisation (require Default); Bump ↵0.4.0Gabriel Bjørnager Jensen
minor; Update commenting; Make serialisations fallible; Impl Serialise and Deserialise for usize and isize (restrict to 16 bits); Add new errors: UsizeOutOfRange, IsizeOutOfRange; Rework sstreams; Add buffer type; Fix serialisation of Option<T>; Disable std; Rename error: EndOfDStream -> EndOfStream; Update documentation; Update readme; Reformat changelog;
2024-06-09Bump minor; Document errors; Rename: ArrayLengthMismatch -> ArrayTooShort; ↵0.3.0Gabriel Bjørnager Jensen
Remove error FixedStringTooShort; Rename: InvalidUtf8 -> BadString; Rework errors; Rename methods: as_d_stream -> as_dstream, to_s_stream -> to_sstream; Add SERIALISATION_LIMIT constant to Serialise; Make some deserialisations infallible; Add method append_byte to SStream; Add method take_byte to DStream; Rename SStream -> Sstream, DStream -> Dstream; Update readme; Update documentation; Make Deserialise require Serialise; Fix copyright/license notice in "src/serialise/test.rs";
2024-06-08Clean up code; Implement Ord and PartialOrd for FixedString; Implement Index ↵0.2.0Gabriel Bjørnager Jensen
and IndexMut for FixedString; Add get and get_mut methods to FixedString; Implement From<[char; N]> for FixedString; Bump minor; Implement Serialise and Deserialise for tuples;
2024-06-08Bump minor; Export all in crate root; Add fixed string type; Add new errors; ↵0.1.0Gabriel Bjørnager Jensen
Update documentation; Add method to ; Add and methods to ;