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

Implement clone on the client #3

Merged
merged 2 commits into from
Jul 21, 2022
Merged

Implement clone on the client #3

merged 2 commits into from
Jul 21, 2022

Conversation

jakejscott
Copy link
Contributor

Hey ya!

I'm working on an example of using axiom with AWS lambda extensions, specifically the logs api. I'm following this example https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/examples/extension-logs-custom-service/src/main.rs#L20

It requires the Service to implement the Clone trait
https://docs.rs/tower/latest/tower/make/struct.Shared.html

Would we be able to make the Axiom client implement Clone?

Thanks for publishing this library :)

Copy link
Member

@bahlo bahlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jakejscott, thanks for the PR! There's no reason to not support Clone, will fix CI and get this merged and released under 0.2.1 🚀

If you have any feedback or questions, let me know by either creating issues or joining our Slack community 🙌

@bahlo bahlo merged commit 583ef0d into axiomhq:main Jul 21, 2022
@bahlo
Copy link
Member

bahlo commented Jul 21, 2022

v0.2.1 is released with a Clone-able client :shipit:🎉

@jakejscott
Copy link
Contributor Author

Hi @bahlo I think github actions skipped pushing 0.2.1 to crates.io

@bahlo
Copy link
Member

bahlo commented Jul 22, 2022

Oops, sorry about that, yeah the workflow was not run. That's fixed now!

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