Lokathor
734bc2ee01
(cargo-release) start next development iteration 1.3.2-alpha.0
2021-07-21 18:15:13 -06:00
Lokathor
5aeb8242f7
(cargo-release) version 1.3.1
2021-07-21 18:14:40 -06:00
Lokathor
c08544366e
Update CHANGELOG.md
2021-07-21 18:14:16 -06:00
Lokathor
71bc7f110b
improve clone impl as per https://github.com/Lokathor/tinyvec/issues/143 ( #144 )
...
* improve clone impl as per https://github.com/Lokathor/tinyvec/issues/143
* per https://github.com/Lokathor/tinyvec/pull/144#discussion_r669769122
* rustfmt.
* formatting
* whoops haha that's a little tricky to get the types to line up
we don't have deref for the A so we have to keep using as_slice_mut and such
2021-07-21 18:11:46 -06:00
Lokathor
ea2e60192c
(cargo-release) start next development iteration 1.3.1-alpha.0
2021-07-20 07:41:15 -06:00
Lokathor
8520ce6622
(cargo-release) version 1.3.0
2021-07-20 07:40:50 -06:00
Andrew Jeffery
a7e2a5a23a
Add changelog entries for 1.3.0 ( #148 )
2021-07-20 07:36:50 -06:00
Andrew Jeffery
07aa65ea7e
Add arbitrary implementations for TinyVec and ArrayVec ( #146 )
2021-07-13 06:52:19 -06:00
Ole Bertram
11b308804e
Implement DoubleEndedIterator for TinyVecIterator ( #145 )
2021-07-13 06:49:17 -06:00
Lokathor
a2933e4c6d
(cargo-release) start next development iteration 1.2.1-alpha.0
2021-04-04 10:37:03 -06:00
Lokathor
47c684bef7
(cargo-release) version 1.2.0
2021-04-04 10:36:21 -06:00
Lokathor
ee6dac1c04
changelog.
2021-04-04 10:36:13 -06:00
Cryptjar
36ff7fdf6b
Add a from_array_empty constructor which is a const fn. ( #141 )
...
Also lifts the `A: Array` constraint on ArrayVec as it was not used yet
and would otherwise conflict with the const fn, which currently (Rust 1.51)
may not have any trait constraints.
Since this commit only adds a new function and lifts a constraint, this
should be perfectly backwards compatible.
2021-04-04 09:13:15 -06:00
Lokathor
e07fab3335
use alternate printing when requested. ( #139 )
2021-04-01 19:47:38 -06:00
Cryptjar
d4f5d8effc
Replace LICENSE-APACHE.md with official text ( #140 )
...
Just copy & past the official text from http://www.apache.org/licenses/LICENSE-2.0.txt
Well technically, it's not markdown, but it doesn't look that bad either.
Fixes #136
2021-04-01 17:16:10 -06:00
Soveu
d508e914f7
TinyVec::fmt - fix pretty printing ( #138 )
...
* TinyVec::fmt - fix pretty printing
* ArrayVec::fmt - fix pretty printing
2021-03-24 11:55:02 -06:00
Michael Morgan
af1817d770
Add TryFrom<&'_ [A::Item]> for ArrayVec<A> ( #134 )
2021-03-01 20:02:24 -07:00
Lokathor
00a0034df8
(cargo-release) start next development iteration 1.1.2-alpha.0
2021-01-25 18:27:23 -07:00
Lokathor
17f10ea178
(cargo-release) version 1.1.1
2021-01-25 18:27:05 -07:00
Lokathor
c0d9137827
update changelog.
2021-01-25 17:35:03 -07:00
Ben Kimock
172d8888eb
swap instead of rotate_right, explain in comment ( #129 )
2021-01-18 16:03:40 -07:00
Ben Kimock
b14c02e71d
optimize From<&[T]> ( #132 )
2021-01-18 15:19:28 -07:00
Ben Kimock
e4ca2b2482
optimize ArrayVec::fill ( #131 )
2021-01-18 15:17:52 -07:00
Ben Kimock
27bfc2eecb
Swap each element instead of calling rotate_left ( #128 )
2021-01-13 19:40:55 -07:00
Ben Kimock
06472075cf
Outline the drain to heap logic in TinyVec::push ( #127 )
...
* Outline the drain to heap logic in TinyVec::push
* Use #[cold] and explain the outlining in a comment
2021-01-13 17:51:07 -07:00
Lokathor
a73e5cac0f
(cargo-release) start next development iteration 1.1.1-alpha.0
2020-11-19 17:00:29 -07:00
Lokathor
a3f12f2771
(cargo-release) version 1.1.0
2020-11-19 16:59:58 -07:00
Lokathor
83181d292d
additional doc attributes.
2020-10-14 13:11:32 -06:00
Lokathor
0b80f41c2a
(cargo-release) version 1.1.0-alpha.1
2020-10-14 12:48:35 -06:00
Lokathor
4850f3ecdc
version bump
2020-10-14 12:46:24 -06:00
Lokathor
d1a9fdb26f
update changelog
2020-10-13 12:20:31 -06:00
Lokathor
b32387ff49
make docs even more plain and simple.
2020-10-13 12:17:16 -06:00
Lokathor
2a125c2173
rustfmt
2020-10-13 12:16:40 -06:00
Johnny
ee3e73ccc6
Add into_inner method ( #124 )
...
* Add into_inner method
* Whoops, forgot the function
2020-10-13 12:07:20 -06:00
Lokathor
1e5c52fab7
make the user credit a link to their profile
2020-10-12 00:37:23 -06:00
Lokathor
87bf22c173
update changelog
2020-10-12 00:33:54 -06:00
SlightlyOutOfPhase
59a2b4c903
Implement [value; N] syntax support for array_vec! ( #118 )
...
* Implement `[value; N]` syntax for `array_vec!`
Also implement the `($array_type:ty)` form by just calling `default()` immediately, which makes more sense.
* Add tests for `[value; N]` macro form
* Implement `[value; N]` syntax for `tiny_vec!`
Also make the same improvement to the `($array_type:ty)` macro variant that I did for `array_vec!`.
* Add tests for `[value; N]` macro form
2020-10-11 18:42:51 -06:00
Lokathor
bc9b76badc
Create CHANGELOG.md ( #121 )
...
* Create CHANGELOG.md
* Update CHANGELOG.md
2020-10-11 18:42:23 -06:00
Lokathor
4730cbc0a1
add license files ( #120 )
...
* Create LICENSE-APACHE.md
* Create LICENSE-MIT.md
* Update LICENSE-MIT.md
2020-10-11 18:42:11 -06:00
Lokathor
59228ec799
(cargo-release) start next development iteration 1.0.2-alpha.0
2020-09-08 15:13:39 -06:00
Lokathor
17e7010206
(cargo-release) version 1.0.1
2020-09-08 15:13:26 -06:00
Thom Chiovoloni
9be36eebed
Mirror the features used on docs.rs on the playground ( #116 )
2020-09-05 12:51:15 -06:00
Lokathor
cd177990c1
(cargo-release) start next development iteration 1.0.1-alpha.0
2020-08-27 21:25:36 -06:00
Lokathor
69fb75cd0b
(cargo-release) version 1.0.0
2020-08-27 21:25:16 -06:00
Lokathor
55bbd1cb72
(cargo-release) version 1.0.0-alpha.4
2020-08-21 15:32:29 -06:00
Nemo157
3a159bc644
Fix building docs on docs.rs ( #114 )
...
* Don't enable nightly features when documenting on docs.rs
* Mark serde impls with doc(cfg)
2020-08-21 15:25:39 -06:00
Lokathor
7bdf6a1184
Update rustfmt.toml
2020-08-18 23:53:29 -06:00
Nemo157
0b7377b5e3
Replace A: Default bounds by a constructor on Array ( #112 )
...
* Add Array::default function to construct a default array
* Use Array::default instead of Default::default to allow supporting all array sizes
* Missed impl Array for [T; 33] 🍀
* Avoid needing `[T; N]: Default with const-generics
2020-08-17 10:55:51 -06:00
Nemo157
4f0f449248
Run CI on PRs too ( #113 )
2020-08-17 10:14:09 -06:00
Lokathor
f988ca14ac
(cargo-release) version 1.0.0-alpha.3
2020-08-17 07:40:24 -06:00