Skip to content

Rename generated Rust crates to have unique names#260

Merged
tahina-pro merged 1 commit intoproject-everest:masterfrom
maxtropets:f/unique-cargo-creates
Feb 18, 2026
Merged

Rename generated Rust crates to have unique names#260
tahina-pro merged 1 commit intoproject-everest:masterfrom
maxtropets:f/unique-cargo-creates

Conversation

@maxtropets
Copy link
Copy Markdown
Contributor

Adding dependency via cborrs= { git = "", tag= "..." } causes

warning: skipping duplicate packages `cborrs v0.1.0 (https://github.com/project-everest/everparse?tag=v2026.02.04#a17b4739)`:
  /root/.cargo/git/checkouts/everparse-0f3b9759962bde6d/a17b473/src/cbor/pulse/nondet/rust/Cargo.toml
  /root/.cargo/git/checkouts/everparse-0f3b9759962bde6d/a17b473/src/cddl/tests/rust/Cargo.toml
in favor of /root/.cargo/git/checkouts/everparse-0f3b9759962bde6d/a17b473/src/cbor/pulse/det/rust/Cargo.toml

This is currently impossible to solve via cargo only, and users have to copy the files and use .patch in Cargo.toml to localize the nondet package.

This PR enables importing nondet CBOR via cargo, as in

cborrs-nondet = { git  = "", tag= "..." }

@maxtropets maxtropets force-pushed the f/unique-cargo-creates branch from 16a7d6e to f7f4854 Compare February 17, 2026 13:15
@tahina-pro tahina-pro merged commit 7b55c57 into project-everest:master Feb 18, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants