more idiomatic std features

This commit is contained in:
Robert Habermeier
2018-01-30 19:28:57 +01:00
parent a68b187f4d
commit 8e6cb1b6e2
18 changed files with 30 additions and 30 deletions
+2 -3
View File
@@ -9,6 +9,5 @@ runtime-std = { path = "./std", version = "0.1" }
rustc-hex = "1.0"
[features]
default = ["with-std"]
with-std = []
without-std = ["polkadot-runtime-codec/no-std"]
default = ["std"]
std = ["polkadot-runtime-codec/std"]
+1 -1
View File
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! The with-std support functions for the runtime.
//! The std support functions for the runtime.
#[macro_use]
extern crate environmental;