11 KiB
11 KiB
Changelog
This is the changelog of bzipper.
See README.md
for more information.
0.11.0
- Add
into_bytes
destructor toSizedStr
- Clean up code
- Update and add more tests
- Manually implement
<SizedIter as Iterator>::nth
- Implement
Encode
andDecode
forCString
,SystemTime
,Duration
- Implement
Encode
forCStr
- Update docs
- Fix includes in
/bzipper/src/decode/mod.rs
and/bzipper/src/sized_encode/mod.rs
- Add new
NullCString
andNarrowSystemTime
error variants toDecodeError
- Optimise
<String as Decode>::decode
- Update lints
- Implement
SizedEncode
forSystemTime
andDuration
- Update benchmark stats
- Update readme
0.10.1
- Clean up and refactor code
- Add more tests
- Fix
DoubleEndedIterator
implementation forSizedIter
0.10.0
- Clean up code
- Implement
Encode
andDecode
forCell
andHashSet
- Implement
SizedEncode
forCell
- Add missing
SizedEncode
implementations forCow
,LazyCell
, andLazyLock
- Unimplement
Decode
forCow
,LazyCell
, andLazyLock
- Add missing
Decode
implementations forRefCell
- Fix feature flags for
SizedEncode
implementations ofRc
andArc
0.9.0
- Implement
Encode
andDecode
forLinkedList
,HashMap
,Cow
,PhantomPinned
,LazyCell
,LazyLock
- Add missing
Decode
implementation forBox
- Update inline rules
- Implement traits for tuples using macros
- Implement
SizedEncode
forPhantomPinned
,Cow
,LazyCell
,LazyLock
,&_
,&mut _
- Implement
Encode
for&_
and&mut _
- Update docs
0.8.1
- Update package metadata
0.8.0
- Rename
FixedString
toSizedStr
- Implement
PartialEq<String>
andPartialOrd<String>
forSizedStr
- Add constructors
from_utf8
andfrom_utf8_unchecked
toSizedStr
- Remove
pop
,push_str
, andpush
fromSizedStr
- Implement
FromIterator<char>
forSizedStr
- Rename
Serialise
toEncode
- Rename
Deserialise
toDecode
- Remove
Sized
requirement forEncode
- Add benchmarks
- Update package metadata
- Rename
Sstream
toOStream
- Rename
Dstream
toIStream
- Update readme
- Refactor code
- Update lints
- Implement
Encode
andDecode
forIpAddr
,Ipv4Addr
,Ipv6Addr
,Mutex
,Box
,RwLock
,Rc
,Arc
,Wrapping
,Saturating
,AtomicBool
,AtomicU8
,AtomicU16
,AtomicU32
,AtomicU64
,AtomicI8
,AtomicI16
,AtomicI32
,AtomicI64
,AtomicUsize
,AtomicIsize
,SocketAddrV4
,SocketAddrV6
,SocketAddr
,Range
,RangeFrom
,RangeFull
,RangeInclusive
,RangeTo
,RangeToInclusive
,Bound
,RefCell
,String
, andVec
- Update docs
- Add
SizedSlice
type - Add
SizedIter
type - Rename
Buffer
type toBuf
- Remove
Add
andAddAssign
implementations fromSizedStr
- Add Features section to readme
- Honour explicit enumeration discriminants
- Encode enumeration discriminants as
isize
- Add
SizedEncode
trait - Outsource
MAX_SERIALISED_SIZE
toSizedEncode
asMAX_ENCODED_SIZE
- Implement
Iterator
,ExactSizeIterator
,FusedIterator
, andDoubleEndedIterator
forSizedIter
- Implement
AsRef<[T]>
andAsMut<[T]>
forSizedIter<T, ..>
- Implement
Clone
forSizedIter
- Add
as_slice
andas_mut_slice
methods toSizedIter
- Add
from_raw_parts
constructor andinto_raw_parts
destructor toSizedSlice
- Add
set_len
method toSizedSlice
- Add
len
,is_empty
,is_full
, andcapacity
methods toSizedSlice
- Add
as_slice
andas_mut_slice
methods toSizedSlice
- Add
as_ptr
andas_mut_ptr
methods toSizedSlice
- Implement
AsMut<[T]>
andAsRef<[T]>
forSizedSlice<T, ..>
- Implement
Borrow<[T]>
andBorrowMut<[T]>
forSizedSlice<T, ..>
- Implement
Deref<[T]>
andDerefMut<[T]>
forSizedSlice<T, ..>
- Implement
Debug
forSizedSlice
- Implement
Default
forSizedSlice
- Implement
Clone
forSizedSlice
- Implement
Encode
,Decode
, andSizedEncode
forSizedSlice
- Implement
Eq
andPartialEq
forSizedSlice
- Implement
Ord
andPartialOrd
forSizedSlice
- Implement
From<[T; N]>
forSizedSlice<T, N>
- Implement
Hash
forSizedSlice
- Implement
Index
andIndexMut
forSizedSlice
- Implement
IntoIterator
forSizedSlice
(including references hereto) - Implement
TryFrom<&[T]>
forSizedSlice<T, ..>
- Implement
From<SizedSlice<T, ..>>
forVec<[T]>
- Implement
From<SizedSlice<T, ..>>
forBox<[T]>
- Add
into_boxed_slice
andinto_vec
destructors toSizedSlice
- Add
into_boxed_str
andinto_string
destructors toSizedStr
- Bump Rust version to
1.83
forbzipper
- Mark
SizedStr::as_mut_ptr
as const - Implement
FromIterator<T>
forSizedSlice<T, ..>
- Make
SizedStr::new
take a&str
object - Add
is_empty
andis_full
methods toBuf
- Disallow non-empty single-line functions
- Add
SAFETY
comments - Implement
PartialEq<&mut [u8]>
andPartialEq<[u8]>
forBuf
- Implement
Index
andIndexMut
forBuf
- Add
from_raw_parts
constructor andinto_raw_parts
destructor toBuf
- Add Documentation and Contribution sections to readme
- Add Copyright & Licence section to readme
- Add Clippy configuration file
- Add more unit tests
- Add debug assertions
- Remove
as_ptr
andas_slice
methods fromIStream
andOStream
- Remove
len
,is_empty
, andis_full
methods fromIStream
andOStream
- Unimplement all manually-implemented traits from
IStream
andOStream
- Mark
new
andwrite
inOStream
as const - Mark the
read
method inIStream
as const - Add
close
destructor toOStream
andIStream
- Implement
Encode
for[T]
andstr
- Encode
usize
andisize
asu16
andi16
again - Split
Error
type intoEncodeError
,DecodeError
,Utf8Error
,Utf16Error
,SizeError
, andStringError
- Remove
Result
type - Add
error
module - Make
IStream::read
andOSream::write
panic on error - Update logo
- Add more examples to docs
- Unmark all functions in
Buf
as const - Implement
From<SizedStr>
forBox<str>
- Always implement
Freeze
,RefUnwindSafe
,Send
,Sync
,Unpin
, andUnwindSafe
forBuf
- Add Examples section to readme
- Implement
SizedEncode
for all previousEncode
types - Bump dependency versions
- Implement
SizedEncode
forIpAddr
,Ipv4Addr
,Ipv6Addr
,Mutex
,Box
,RwLock
,Rc
,Arc
,Wrapping
,Saturating
,AtomicBool
,AtomicU8
,AtomicU16
,AtomicU32
,AtomicU64
,AtomicI8
,AtomicI16
,AtomicI32
,AtomicI64
,AtomicUsize
,AtomicIsize
,SocketAddrV4
,SocketAddrV6
,SocketAddr
,Range
,RangeFrom
,RangeFull
,RangeInclusive
,RangeTo
,RangeToInclusive
,Bound
, andRefCell
0.7.0
- Make
alloc
andstd
default features - Make serialisations variably sized again
- Refactor derive implementations
- Completely rework streams
- Fix tuple deserialisation
- Encode
FixedString
in UTF-8 - Remove methods
from_chars
andset_len
fromFixedString
- Rename
as_slice
andas_mut_slice
methods inFixedString
toas_st
andas_mut_str
- Add methods
as_bytes
,push_str
,chars
,capacity
, andchar_indices
toFixedString
- Rework
FixedString
traits - Remove
FixedIter
- Update lints
- Add methods
set_len
andset_len_unchecked
toBuffer
- Elaborate docs
- Update readme
- Do not require
Serialise
forDeserialise
- Rename
SERIALISED_SIZE
inSerialise
toMAX_SERIALISED_SIZE
- Use streams in
Serialise
andDeserialise
- Drop
Serialise
requirement forBuffer
- Add methods
with_capacity
andcapacity
toBuffer
0.6.2
- Fix
Deserialise
derive for unit variants - Refactor
Serialise
derive for enumerations
0.6.1
- Bump dependency version
- Update docs
- Add more examples
0.6.0
- Update readme
- Add
Buffer
type - Bump minor version
- Implement
PartialEq<&[char]>
forFixedString
- Update tests
- Implement
PartialOrd<&[char]>
andPartialOrd<&str>
forFixedString
- Remove custom methods
get
,get_unchecked
,get_mut
, andget_unchecked_mut
,iter
, anditer_mut
fromFixedString
0.5.2
- Respecify version numbers
0.5.1
- Specify
bzipper_macros
version
0.5.0
- Bump minor version
- Add macros crate
- Add derive macros
- Update package 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
andisize
asu32
andi32
, respectively - Rework arrays (de)serialisation
- Fix
Result
serialisations - Add new logo
- Add features
alloc
andstd
- Specify rustc version
- Rename
FixedStringIter
toFixedIter
- Implement
Serialise
andDeserialise
for single tuples andPhantomData
0.4.7
- Extensively elaborate docs
- Update readme
0.4.6
- Fix docs logo (again)
- Update docs (add examples)
0.4.5
- Fix package metadata :(
0.4.4
- Fix docs logo
0.4.3
- Reformat changelog
- Update logo
- Add docs logo
0.4.2
- Update package metadata
0.4.1
- Update readme
0.4.0
- Add logo
- Clean up code
- Fix array deserialisation (require
Default
) - Bump minor
- Update commenting
- Make serialisations fallible
- Impl
Serialise
andDeserialise
forusize
andisize
(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
0.3.0
- Bump minor
- Document errors
- Rename:
ArrayLengthMismatch
->ArrayTooShort
- Remove error
FixedStringTooShort
- Rename:
InvalidUtf8
->BadString
- Rework errors
- Rename methods:
as_d_stream
->as_dstream
,to_s_stream
->to_sstream
- Add
SERIALISATION_LIMIT
constant toSerialise
- Make some deserialisations infallible
- Add method
append_byte
toSStream
- Add method
take_byte
toDStream
- Rename
SStream
->Sstream
,DStream
->Dstream
- Update readme
- Update documentation
- Make
Deserialise
requireSerialise
- Fix copyright/license notice in
"src/serialise/test.rs"
0.2.0
- Clean up code
- Implement
Ord
andPartialOrd
forFixedString
- Implement
Index
andIndexMut
forFixedString
- Add
get
andget_mut
methods toFixedString
- Implement
From<[char; N]>
forFixedString
- Bump minor
- Implement
Serialise
andDeserialise
for tuples
0.1.0
- Bump minor
- Export all in crate root
- Add fixed string type
- Add new errors
- Update documentation
- Add
as_d_stream
method toSStream
- Add
to_s_stream
andas_slice
methods toDStream
0.0.2
- Add license files
0.0.1
- Fix copyright notices
- Add license notices
- Update readme
0.0.0
- Add changelog
- Fork from
backspace
- Add gitignore
- Add documentation
- Add tests
- License under LGPL-3
- Configure lints
- Add readme