Commit Graph

15 Commits

Author SHA1 Message Date
aa7edaf92b Fixed bounds on Bytes's associated types. 2020-09-19 23:38:08 +01:00
3786c89f18 Added restrictions to Bytes::ByteArray. 2020-09-09 12:38:02 +01:00
f5ebcd1cf5 Changed imports style. 2020-07-14 17:58:32 +01:00
b33ba8f2d3 Revised validation interface. 2020-07-14 17:53:34 +01:00
9e1318576a Removed valicdation interface as-is.
Fixed missing documentation accross the whole project.
2020-07-14 17:38:56 +01:00
a561090b76 Removed nightly feature const_if_match, as it's stable as of rust 1.45.0. 2020-07-14 17:25:18 +01:00
c03f3237bf Added [Bytes::validate] interface to validate structures before writing them to bytes.
Currently all implementations return an empty validation, but they will be developed over time.
2020-05-13 15:58:27 +01:00
e02b410524 Added some more exports to the library.
Long item names are now imported in `Bytes`.
2020-05-13 03:15:53 +01:00
63d312e845 Added various rustfmt configurations.
Revised documentation of the library and lint opt-out reasons.
Moved some module documentation to it's own file due to overflowing the line limit.
Fixed several spelling errors.
2020-05-13 03:03:46 +01:00
280bdac119 All code is now formatted.
Started using `err_impl::Error` where possible.
2020-05-01 11:29:01 +01:00
8b4b11113a Refactored array_split(_mut) macro.
Now using `AsciiString` instead of `arrayvec::ArrayVec<[ascii::AsciiChar; _]>`.
2020-04-26 07:10:45 +01:00
888ace2017 Changed Bytes interface to provide more safety with arrays. 2020-04-21 19:13:05 +01:00
e943819853 Added bounds on the Bytes error types.
Started using `err-impl`, fork of `err-derive` that does not implement `Display` or `From`.
2020-04-20 21:56:35 +01:00
28a481b552 Merged ToBytes, FromBytes into Bytes 2020-04-17 19:19:28 +01:00
bfd4f4cf01 Brought files from previous implementation and adapted some to the new implementation. 2020-04-11 14:37:30 +01:00