Hi
MacBook pro 14 m1 apple silicon
my Cargo.toml:
[package]
name = "xmpp_rust"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio-xmpp = "3.1.0"
When i cargo run:
...
beerdy@MacBook-Pro-Aleksandr xmpp_rust % cargo run
Compiling xmpp-parsers v0.18.1
error[E0277]: the trait bound `minidom::Element: From<FullJid>` is not satisfied
--> /Users/beerdy/.cargo/registry/src/github.com-1ecc6299db9ec823/xmpp-parsers-0.18.1/src/bind.rs:133:62
|
133 | .append(Element::builder("jid", ns::BIND).append(bind.jid))
| ------ ^^^^^^^^ the trait `From<FullJid>` is not implemented for `minidom::Element`
| |
| required by a bound introduced by this call
|
= help: the following implementations were found:
<minidom::Element as From<A>>
<minidom::Element as From<Abort>>
<minidom::Element as From<Active>>
<minidom::Element as From<Actor>>
and 197 others
= note: required because of the requirements on the impl of `Into<minidom::Element>` for `FullJid`
= note: required because of the requirements on the impl of `From<FullJid>` for `Node`
= note: 1 redundant requirement hidden
= note: required because of the requirements on the impl of `Into<Node>` for `FullJid`
note: required by a bound in `ElementBuilder::append`
--> /Users/beerdy/.cargo/registry/src/github.com-1ecc6299db9ec823/minidom-0.13.0/src/element.rs:1028:22
|
1028 | pub fn append<T: Into<Node>>(mut self, node: T) -> ElementBuilder {
| ^^^^^^^^^^ required by this bound in `ElementBuilder::append`
...
But version tokio-xmpp = "1.0.1" all ok compile