You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an error when using cargo-equip with my project. Below are the details:
My code structure:
src/main.rs
use proconio::{input};fnmain(){input!{
a:u32,}println!("{}", a);}
Cargo.toml
[package]
name = "library_checker"version = "0.1.0"edition = "2021"
[dependencies]
proconio = { version = "0.4.3", features = ["derive"] }
After running cargo equip, I received the following output and error message:
warning: Currently cargo-equip only supports Feature Resolver v1, and may search more crates than the real Cargo does. Please watch https://github.com/qryxip/cargo-equip/issues/94
...
error: could not bundle the code
- `registry+https://github.com/rust-lang/crates.io-index#proconio-derive@0.2.1` as `crate::__cargo_equip::crates::__proconio_derive_0_2_1`
- `registry+https://github.com/rust-lang/crates.io-index#proconio@0.4.5` as `crate::__cargo_equip::crates::proconio`
Caused by:
proc-macro server's api version (5) is newer than rust-analyzer's (2)
I expected cargo equip to bundle my project code successfully, but it fails due to a version incompatibility between proc-macro's API and rust-analyzer.
I encountered an error when using
cargo-equip
with my project. Below are the details:My code structure:
src/main.rs
Cargo.toml
After running
cargo equip
, I received the following output and error message:I expected
cargo equip
to bundle my project code successfully, but it fails due to a version incompatibility betweenproc-macro
's API andrust-analyzer
.cargo 1.84.0-nightly (031049782 2024-11-01)
cargo-equip
version: latestIs there a recommended workaround or an update planned to resolve this compatibility issue?
The text was updated successfully, but these errors were encountered: