aboutsummaryrefslogtreecommitdiff
path: root/src/codec.rs
AgeCommit message (Collapse)Author
2020-10-30Add and apply rustfmt configurationRichard Walters
2020-10-15Refactoring for encode_element; thanks to @Serayen for suggesting themRichard Walters
* We can write! directly into a String (as lone as we use std::fmt::Write). * We can pre-allocate the encoded String with an estimate of the number of bytes we need. If we need more, String will allocate more, and only in doubles (not every `push` or `write!`).
2020-10-15Version 1.0.1Richard Walters
* Fixed bug in percent encoding of characters \x0 through \xF where they were encoded as "%0" through "%F" rather than "%00" through "%0F".
2020-10-13Consolidate crate-wide warning attributes to crate level (lib.rs)Richard Walters
2020-10-13No need to use turbofish for collect in encode_elementRichard Walters
2020-10-13Move authority and codec functions to their own modulesRichard Walters