Command "cargo build" leads to error
Updating crates.io index
Updating git repository https://github.com/iotaledger/iota.rs
Updating git repository https://github.com/iotaledger/iota.rs
Updating git repository https://github.com/iotaledger/streams
Updating git repository https://github.com/iotaledger/bee.git
Updating git repository https://github.com/Alex6323/bee-p.git
error: no matching package named bee-ternary found
location searched: https://github.com/iotaledger/bee.git?branch=dev
prerelease package needs to be specified explicitly
bee-ternary = { version = "0.3.2-alpha" }
required by package iota-core v0.2.0-alpha.3 (https://github.com/iotaledger/iota.rs?rev=0ad8e7f#0ad8e7f7)
... which is depended on by `author v0.1.0
Changing the dependency in Cargo.toml to
iota-core = { git = "https://github.com/iotaledger/iota.rs", branch = "dev" }
leads to another error
error[E0308]: mismatched types
--> src\main.rs:39:48
39
let client: Client = Client::new(send_opt, iota_client::ClientBuilder::new().node(url).unwrap().build().unwrap());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct iota_client::client::Client, found struct iota::Client
= note: perhaps two different versions of crate iota_client are being used?
IOTA Streams examples are probably not usable at this moment.
Command "cargo build" leads to error Updating crates.io index Updating git repository
https://github.com/iotaledger/iota.rs
Updating git repositoryhttps://github.com/iotaledger/iota.rs
Updating git repositoryhttps://github.com/iotaledger/streams
Updating git repositoryhttps://github.com/iotaledger/bee.git
Updating git repositoryhttps://github.com/Alex6323/bee-p.git
error: no matching package namedbee-ternary
found location searched: https://github.com/iotaledger/bee.git?branch=dev prerelease package needs to be specified explicitly bee-ternary = { version = "0.3.2-alpha" } required by packageiota-core v0.2.0-alpha.3 (https://github.com/iotaledger/iota.rs?rev=0ad8e7f#0ad8e7f7)
... which is depended on by `author v0.1.0iota_client::client::Client
, found structiota::Client
= note: perhaps two different versions of crate
iota_client
are being used?IOTA Streams examples are probably not usable at this moment.
Thank you for any help, Roman