Add as_ptr, as_mut_ptr accessors directly on the ArrayVec by @tbu-
(matches the same addition to Vec which happened in Rust 1.37).
Add method ArrayString::len (now available directly, not just through deref to str).
Use raw pointers instead of &mut [u8] for encoding chars into ArrayString
(uninit best practice fix).
Use raw pointers instead of get_unchecked_mut where the target may be
uninitialized everywhere relevant in the ArrayVec implementation
(uninit best practice fix).
Changed inline hints on many methods, mainly removing inline hints
ArrayVec::dispose is now deprecated (it has no purpose anymore)
0.4.12
Use raw pointers instead of get_unchecked_mut where the target may be
uninitialized everywhere relevant in the ArrayVec implementation.
0.5.0
Use MaybeUninit (now unconditionally) in the implementation of
ArrayVec
Use MaybeUninit (now unconditionally) in the implementation of
ArrayString
The crate feature for serde serialization is now named serde.
Updated the Array trait interface, and it is now easier to use for
users outside the crate.
The index type of zero capacity vectors is now itself zero size, by
@clarfon
Use drop_in_place for truncate and clear methods. This affects drop order
and resume from panic during drop.
Use Rust 2018 edition for the implementation
Require Rust 1.36 or later, for the unconditional MaybeUninit
improvements.
0.4.11
In Rust 1.36 or later, use newly stable MaybeUninit. This extends the
soundness work introduced in 0.4.9, we are finally able to use this in
stable. We use feature detection (build script) to enable this at build
time.
0.4.10
Use repr(C) in the union version that was introduced in 0.4.9, to
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on arrayvec to permit the latest version.
Changelog
Sourced from arrayvec's changelog.
... (truncated)
Commits
6905bdb
0.5.1618d027
Merge pull request #138 from bluss/array-string090a5c5
FIX: Support uninitalized data in encode_utf8, and update try_pushf665142
FEAT: Add ArrayString::len05667bb
MAINT: Add debug info to profiles (for bench/profiling)b7b8cf8
Merge pull request #137 from bluss/variousfd72321
FIX: Replace uses of <[T]>::get_unchecked_mut with raw pointer accessor1483c6d
FIX: Adjust (mostly remove) inline directivesbf64376
API: Deprecate .dispose(), it no longer has a purpose without nodrop2a376d9
Merge branch 'nodrop-updates'Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)