File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,27 @@ let x: f64 = thread_rng().gen();
37
37
38
38
## Versions
39
39
40
- Version 0.5 is in development and contains many breaking changes; expected
41
- release date is approx. end of March 2018 if all goes well.
40
+ Version 0.5 is available as a pre-release and contains many breaking changes.
41
+ See [ the Upgrade Guide] ( UPDATING.md ) for guidance on updating from previous
42
+ versions.
42
43
43
44
Version 0.4 was released in December 2017. It contains almost no breaking
44
45
changes since the 0.3 series.
45
46
46
47
For more details, see the [ changelog] ( CHANGELOG.md ) .
47
48
49
+ ### Compatibility shims
50
+
51
+ ** As of now there is no compatibility shim between Rand 0.4 and 0.5.**
52
+ It is also not entirely obvious how to make one due to the large differences
53
+ between the two versions, although it would be possible to implement the new
54
+ ` RngCore ` for any implementation of the old ` Rng ` (or vice-versa; unfortunately
55
+ not both as that would result in circular implementation). If we implement a
56
+ compatibility shim it will be optional (opt-in via a feature).
57
+
58
+ There is a compatibility shim from 0.3 to 0.4 forcibly upgrading all Rand 0.3
59
+ users; this is largely due to the small differences between the two versions.
60
+
48
61
### Rust version requirements
49
62
50
63
The 0.5 release of Rand will require ** Rustc version 1.22 or greater** .
You can’t perform that action at this time.
0 commit comments