Use TryFrom from the try_from crate, instead of the unstable feature.
This makes xmpp-parsers usable on stable.
This commit is contained in:
parent
0fcbf11644
commit
1f43cd934b
35 changed files with 86 additions and 87 deletions
|
|
@ -13,8 +13,6 @@
|
|||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#![feature(try_from)]
|
||||
|
||||
extern crate minidom;
|
||||
extern crate jid;
|
||||
extern crate base64;
|
||||
|
|
@ -24,6 +22,7 @@ extern crate sha2;
|
|||
extern crate sha3;
|
||||
extern crate blake2;
|
||||
extern crate chrono;
|
||||
extern crate try_from;
|
||||
|
||||
macro_rules! get_attr {
|
||||
($elem:ident, $attr:tt, $type:tt) => (
|
||||
|
|
|
|||
Loading…
Reference in a new issue