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

Alter location items passing - log 0.4 support #8

Closed
wants to merge 2 commits into from
Closed

Alter location items passing - log 0.4 support #8

wants to merge 2 commits into from

Conversation

jacekchmiel
Copy link

Before log 0.4 location info (file, module) had 'static lifetime.
Now the lifetime is not required to be static, so these items are
now converted to owned values (String) when passed to async drain.

Before log 0.4 location info (file, module) had 'static lifetime.
Now the lifetime is not required to be static, so these items are
now converted to owned values (String) when passed to async drain.
@Techcable
Copy link
Member

I don't really understand this PR. Doesn't this require some sort of change to the main slog repo?

Also, Git patch dependencies are forbidden on crates.io 😦

@dpc
Copy link
Contributor

dpc commented Feb 10, 2022

I think this is a WIP for a different PR in the main slog crate, that was to use interning to support non 'static strs for module in log 0.4. Or something like this.

This pull request was closed.
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.

3 participants