blob: 50ebbad5c9e06c23a21235c1b5981cc53699e2a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
## Unreleased
Released YYYY/MM/DD.
### Added
* TODO (or remove section if none)
### Changed
* TODO (or remove section if none)
### Deprecated
* TODO (or remove section if none)
### Removed
* TODO (or remove section if none)
### Fixed
* TODO (or remove section if none)
### Security
* TODO (or remove section if none)
--------------------------------------------------------------------------------
## 2.0.1
Released 2019/01/10.
### Fixed
* Support `#![no_std]` on stable Rust.
--------------------------------------------------------------------------------
## 2.0.0
Released 2019/12/03.
### Fixed
* Fixed some intra-documentation URLs.
--------------------------------------------------------------------------------
## 2.0.0-rc1
Released 2019/11/26.
Unless any issues are discovered or raised, we will release version 2.0.0 soon.
### Added
* Added `alloc_str` to `Arena<u8>`, to be able to allocate string slices.
### Changed
* The minimum supported rust version is now 1.36.0.
* `alloc_uninitialized` returns `&mut [MaybeUninit<T>]` instead of `*mut [T]`,
which is less prone to undefined behavior.
--------------------------------------------------------------------------------
## 1.7.0
Released 2019/10/31. *Spooky!*
### Added
* Added a `len` method to count how many items are in an arena.
### Fixed
* Fixed some theoretical overflows.
--------------------------------------------------------------------------------
## 1.6.1
Released 2019/09/17.
### Fixed
* Now compiles on old stable Rust versions again, instead of just new stable
Rust versions. From here on out, we'll promise that 1.X will continue to
compile on rustc versions >= 1.32.
--------------------------------------------------------------------------------
## 1.6.0
Released 2019/09/09.
### Added
* Added the `Arena::iter_mut` method for mutably iterating over an arena's
contents. [See #29 for
details.](https://github.com/SimonSapin/rust-typed-arena/pull/29)
--------------------------------------------------------------------------------
## 1.5.0
Released 2019/08/02.
### Added
* `Arena` now implements `Default`
### Fixed
* Introduced an internal fast path for allocation, improving performance.
* Tests now run cleanly on Miri. There was previously a technicality where
the stacked borrow rules were not being followed.
--------------------------------------------------------------------------------
## 1.4.1
Released 2018/06/29.
### Added
* Added more documentation comments and examples.
--------------------------------------------------------------------------------
## 1.4.0
Released 2018/06/21.
### Added
* Added a new, on-by-default feature named "std". Disabling this feature allows
the crate to be used in `#![no_std]` environments. [#15][] [#12][]
[#15]: https://github.com/SimonSapin/rust-typed-arena/pull/15
[#12]: https://github.com/SimonSapin/rust-typed-arena/pull/12
|