Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow relative paths for manifest sources #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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