Remove dep on xmpp-parsers, add jid and minidom
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
28580640b3
commit
0ed53d0775
2 changed files with 6 additions and 3 deletions
|
@ -8,7 +8,8 @@ description = "Parser for the Scansion DSL"
|
|||
|
||||
[dependencies]
|
||||
nom = "7.1"
|
||||
xmpp-parsers = { version = "^0.19" }
|
||||
jid = "0.9"
|
||||
minidom = "0.15"
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.3"
|
||||
|
|
|
@ -10,13 +10,15 @@ use std::str::FromStr;
|
|||
use nom::{
|
||||
self,
|
||||
branch::alt,
|
||||
bytes::complete::{tag, take_until, take_while1},
|
||||
bytes::complete::{tag, take_until, take_until1, take_while1},
|
||||
character::complete::{multispace0, space0, space1},
|
||||
combinator::recognize,
|
||||
multi::{many0, many1},
|
||||
sequence::{delimited, tuple},
|
||||
IResult,
|
||||
};
|
||||
use xmpp_parsers::{BareJid, Element};
|
||||
use jid::BareJid;
|
||||
use minidom::Element;
|
||||
|
||||
pub type AccountName = String;
|
||||
|
||||
|
|
Loading…
Reference in a new issue