-
Notifications
You must be signed in to change notification settings - Fork 329
No_std support for ndarray #864
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
Changes from 16 commits
84767e2
599536e
8c423ee
7e7735d
b59f41c
ffc6780
770d902
7066597
32fc255
93d4f6e
c621b70
08c65f1
d9b8db6
97f9572
a66c23c
f2ff012
999c2fd
1a37571
8be45a0
0a54342
9f9e5f8
391824b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,17 @@ Crate Feature Flags | |
The following crate feature flags are available. They are configured in | ||
your `Cargo.toml`. | ||
|
||
- ``std`` | ||
|
||
- This crate can be used without the standard library by disabling the | ||
default `std` feature. Use this in `Cargo.toml`: | ||
|
||
[dependencies] | ||
ndarray = { version = "0.14.0", default-features = false } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Example with the version is nice but we should not use a specific version. Just more places to update when we bump the version. So we don't make an explicit example like this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we also need to put the same update about feature flags into There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, has updated |
||
|
||
- The `geomspace` `linspace` `logspace` `range` `var_axis` `std_axis` | ||
and `all_close` methods are only available when `std` is enabled. | ||
bluss marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- ``serde`` | ||
|
||
- Optional, compatible with Rust stable | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
use alloc::vec::Vec; | ||
use crate::imp_prelude::*; | ||
|
||
/// Methods specific to `Array0`. | ||
|
Uh oh!
There was an error while loading. Please reload this page.