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

support env var expansion in path attributes #489

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

Conversation

grushton-lidya
Copy link

Addresses #339

@tomhoule
Copy link
Member

Hi @grushton-lidya ! Thanks for the PR. Sorry for the delay, nobody was really maintaining this crate. I'm coming back to more active maintainership now.

Naively, wouldn't the idea in this comment #339 (comment) work without additional support?

@grushton-lidya
Copy link
Author

It would but I believe there's a limitation, excerpt from here.

Eager macro expansion only happens in a limited number of built-in attributes, with #[doc] being the primary example that will benefit from this.

Indeed I believe I tried out the suggestion in #339 (comment) but couldn't get it to work.

@tomhoule
Copy link
Member

Ah ok, I'll try and confirm this. If it doesn't work in our derive, let's merge this PR.

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