Skip to content

Upgrade to rand 0.7.0 #659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Jul 31, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions ndarray-rand/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ ndarray-rand
Dependencies
------------

ndarray-rand depends on rand 0.7. If you use any other items from rand,
you need to specify a compatible version of rand in your Cargo.toml. If
you want to use a RNG or distribution from another crate with
ndarray-rand, you need to make sure that crate also depends on the
correct version of rand. Otherwise, the compiler will return errors
saying that the items are not compatible (e.g. that a type doesn't
implement a necessary trait).

``ndarray-rand`` depends on ``rand`` 0.7. If you use any other items from
``rand``, you need to specify a compatible version of ``rand`` in your
``Cargo.toml``. If you want to use a RNG or distribution from another crate
with ``ndarray-rand``, you need to make sure that crate also depends on the
correct version of ``rand``. Otherwise, the compiler will return errors saying
that the items are not compatible (e.g. that a type doesn't implement a
necessary trait).

Recent Changes
--------------
Expand Down
11 changes: 5 additions & 6 deletions ndarray-rand/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@
//!
//! See [**`RandomExt`**](trait.RandomExt.html) for usage examples.
//!
//! Note: ndarray-rand depends on rand 0.7.
//! If you use any other items from rand, you need to
//! specify a compatible version of rand in your Cargo.toml. If
//! you want to use a RNG or distribution from another crate with
//! ndarray-rand, you need to make sure that crate also depends on the
//! correct version of rand. Otherwise, the compiler will return errors
//! **Note:** `ndarray-rand` depends on `rand` 0.7. If you use any other items
//! from `rand`, you need to specify a compatible version of `rand` in your
//! `Cargo.toml`. If you want to use a RNG or distribution from another crate
//! with `ndarray-rand`, you need to make sure that crate also depends on the
//! correct version of `rand`. Otherwise, the compiler will return errors
//! saying that the items are not compatible (e.g. that a type doesn't
//! implement a necessary trait).

Expand Down