FEAT: Remove odds dependency in arrayvec

Copy the encode_utf8 function from odds. std encode_utf8 requires Rust
1.15 and has a different signature, this one seems to fit us better.
This commit is contained in:
bluss
2017-10-26 22:44:07 +02:00
parent 4fe3e05997
commit 456aeaf557
4 changed files with 56 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,6 @@
//!
#![doc(html_root_url="https://docs.rs/arrayvec/0.4/")]
#![cfg_attr(not(feature="std"), no_std)]
extern crate odds;
extern crate nodrop;
#[cfg(feature="serde-1")]
extern crate serde;
@@ -62,6 +61,7 @@ use serde::{Serialize, Deserialize, Serializer, Deserializer};
mod array;
mod array_string;
mod char;
mod range;
mod errors;