bluss
f65ea92da4
Remove the optional generic-array feature
...
- It can be added back later if needed
- A public dependency implies version coupling, and we can't afford to
have it for a niche use case.
2017-03-24 18:57:39 +01:00
bluss
738721a28d
arrayvec 0.3.21
2017-03-17 18:50:36 +01:00
bluss
3d69403dee
Use encode_utf8 from crate odds
2016-10-16 11:54:44 +02:00
bluss
d43c959fa8
0.3.20
2016-10-04 14:47:14 +02:00
bluss
f331bb1228
0.3.19
2016-09-28 11:13:15 +02:00
bluss
60a97632bc
Support generic-array as arrayvec backend
2016-09-28 11:06:20 +02:00
bluss
82ab295554
0.3.18
2016-09-21 14:25:24 +02:00
bluss
8785860ec4
arrayvec 0.3.17
2016-09-08 11:46:01 +02:00
bluss
a41ecc0a29
Bump arrayvec to 0.3.16
2016-03-01 00:06:45 +01:00
bluss
f9defd2fe0
Bump arrayvec to 0.3.15
...
Fixes #20
2016-02-06 20:24:24 +01:00
bluss
595db1ffcc
Add feature "std" to arrayvec: Allow opting out of libstd
2016-02-06 20:16:43 +01:00
bluss
a5f63d3191
Bump to 0.3.14
2016-02-06 01:13:00 +01:00
bluss
6c71597565
Bump to 0.3.13
2016-01-13 13:10:36 +01:00
bluss
1921048acd
Bump version
2015-09-20 16:07:54 +02:00
bluss
5a0e53257c
Bump version
2015-09-10 19:52:06 +02:00
bluss
eaa884087d
Bump version
2015-08-21 14:58:24 +02:00
bluss
c35760e02c
Use NoDrop to fix panic safety issues
...
ArrayVec::drop was not panic safe — if there would be a panic during an
element's drop, the discriminant would never be set to Dropped, and the
array elements would potentially double drop.
Fix this by going back to the old NoDrop composition. The NoDrop struct
thas its own Drop impl, that will trigger too on panic during an element's
drop. This serves to make ArrayVec::drop panic safe.
Also tweak IntoIter::drop to make it panic safe: set inner ArrayVec's
length before dropping any elements.
Thank you to @Stebalien for reporting this bug and providing the
excellent testcases in this commit.
Using NoDrop expands ArrayVec to have two drop flags again, but this
is a temporary tradeoff, drop flags will eventually go away.
Fixes #3
2015-08-20 22:33:01 +02:00
root
b6d4d82808
arrayvec: Bump version
2015-07-30 16:52:55 +02:00
root
9e4bac559c
arrayvec: Make nodrop purely a dev-dependency
...
We generate docs for it, but we don't need it.
2015-07-30 16:51:07 +02:00
root
d3728b654e
Bump version
2015-07-30 16:16:42 +02:00
root
3634fa4633
Bump version
2015-06-22 16:39:52 +02:00
root
5ae6e1aadc
arrayvec: Use odds 0.2 and bump version
2015-06-14 14:53:05 +02:00
root
ad22698464
arrayvec: Use odds & bump version
2015-06-02 17:30:59 +02:00
root
07e497a2be
arrayvec: Bump version
2015-05-25 13:46:26 +02:00
root
0e00fbccf1
Bump version
2015-05-23 13:04:03 +02:00
root
e91a018220
Bump version
2015-05-23 01:07:50 +02:00
root
d8d21dc14c
Bump version
2015-05-22 20:22:50 +02:00
root
a268a5e25c
Bump arrayvec version
2015-05-22 14:28:03 +02:00
root
a8bd594be2
Bump version
2015-05-21 11:58:00 +02:00
root
8047dc621c
Use crate nodrop -- it moved to a separate crate
2015-05-21 11:54:46 +02:00
root
6e29c390ed
Bump version
2015-05-20 17:22:19 +02:00
root
9b0f973375
Bump version
2015-05-19 19:20:24 +02:00
root
68a9b32e63
Update Cargo.toml
2015-05-19 17:27:28 +02:00
root
476b23b9f1
Update Cargo.toml
2015-05-19 17:24:37 +02:00
root
1a39598633
Initial commit
2015-05-19 17:09:06 +02:00