Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

allow relative paths for manifest sources#59

Open
PetoMPP wants to merge 1 commit into
rust-mobile:main from
PetoMPP:main
Open

allow relative paths for manifest sources #59
PetoMPP wants to merge 1 commit into
rust-mobile:main from
PetoMPP:main

Conversation

@PetoMPP

@PetoMPP PetoMPP commented May 26, 2024

Copy link
Copy Markdown

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.

Copy link
Copy Markdown
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.

PetoMPP reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /