Skip to content

Conversation

@PetoMPP
Copy link

@PetoMPP PetoMPP commented May 26, 2024

I am using the cargo-apk crate in a workspace enabled project and I had problems with assets folder not being a subdirectory of manifest.parent, so I implemented a small feature allowing for canonical paths with a fallback to previous handling.

@MarijnS95
Copy link
Member

The main reason for this is so that paths are relative to the crate root and shouldn't exit the crate boundary. That makes it easier when packaging/publishing crates even though relative paths are still allowed iirc.

While this may be an annoying limitation for crates in workspaces, those crates are still independent.

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