First time trying to use the library and got the following:
After adding screenshot = "0.0.7" to the Cargo.toml file,
I tried running cargo build and this error shows up:
Compiling screenshot v0.0.7
error[E0554]: `#![feature]` may not be used on the stable release channel
--> [...]\github.com-1ecc6299db9ec823\screenshot-0.0.7\src\lib.rs:15:1
|
15 | #![feature(core_intrinsics, convert)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `screenshot` due to previous error
This is the rustc explanation for the error:
Feature attributes are only allowed on the nightly release channel. Stable or
beta compilers will not comply.
Erroneous code example:
#![feature(lang_items)] // error: `#![feature]` may not be used on the
// stable release channel
If you need the feature, make sure to use a nightly release of the compiler
(but be warned that the feature may be removed or altered in the future).
First time trying to use the library and got the following: After adding screenshot = "0.0.7" to the Cargo.toml file, I tried running cargo build and this error shows up:
This is the rustc explanation for the error: