This morning I get this error while trying to set up a new project.
unresolved imports `stellar_xdr::DepthLimitedRead`, `stellar_xdr::ReadXdr`, `stellar_xdr::ScSpecEntry`
The only thing I can see from yesterday is that stellar-xdr got a new version and this version is used in soroban-spec.
Compilation errors:
error[E0432]: unresolved imports `stellar_xdr::DepthLimitedRead`, `stellar_xdr::ReadXdr`, `stellar_xdr::ScSpecEntry`
--> /home/vincent/.cargo/registry/src/index.crates.io-6f17d22bba15001f/soroban-spec-20.0.0-rc2/src/read.rs:3:25
|
3 | use stellar_xdr::{self, DepthLimitedRead, ReadXdr, ScSpecEntry};
| ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ no `ScSpecEntry` in the root
| | |
| | no `ReadXdr` in the root
| no `DepthLimitedRead` in the root
|
= help: consider importing one of these items instead:
crate::read::stellar_xdr::curr::ReadXdr
stellar_xdr::curr::ReadXdr
= help: consider importing one of these items instead:
crate::read::stellar_xdr::curr::ScSpecEntry
crate::read::stellar_xdr::curr::Type::ScSpecEntry
crate::read::stellar_xdr::curr::TypeVariant::ScSpecEntry
stellar_xdr::curr::ScSpecEntry
stellar_xdr::curr::Type::ScSpecEntry
stellar_xdr::curr::TypeVariant::ScSpecEntry