From 6ba93a358b1719abf91e90cb25f4e95073546995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Thu, 15 Sep 2016 03:15:17 +0300 Subject: [PATCH] Removed no_std feature --- Cargo.toml | 5 +---- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index da9532c098..4db15b5a75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "generic-array" -version = "0.4.1" +version = "0.5.0" authors = [ "Bartłomiej Kamiński " ] description = "Generic types implementing functionality of arrays" license = "MIT" @@ -19,6 +19,3 @@ serde = { version = "~0.7", optional = true } [dev_dependencies] # this can't yet be made optional, see https://github.com/rust-lang/cargo/issues/1596 serde_json = "~0.7" - -[features] -no_std = [] diff --git a/src/lib.rs b/src/lib.rs index 0e703cf303..cca931fce4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,8 +31,7 @@ //! assert_eq!(array[2], 3); //! # } //! ``` -#![cfg_attr(feature="no_std", no_std)] -#[cfg(feature="no_std")] +#![no_std] extern crate core as std; pub extern crate typenum; extern crate nodrop;