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

feat: make NamingService and ConfigService Send + Sync #228

Merged
merged 1 commit into from
May 16, 2024

Conversation

thynson
Copy link
Contributor

@thynson thynson commented May 16, 2024

Resolves #227

@CLAassistant
Copy link

CLAassistant commented May 16, 2024

CLA assistant check
All committers have signed the CLA.

@thynson thynson force-pushed the make-traits-send-and-sync branch from e1fbea1 to 1c0a5f7 Compare May 16, 2024 01:47
@onewe
Copy link
Collaborator

onewe commented May 16, 2024

LGTM

Copy link
Collaborator

@CherishCai CherishCai left a comment

Choose a reason for hiding this comment

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

LGTM

@CherishCai CherishCai merged commit 09c5341 into nacos-group:main May 16, 2024
5 checks passed
@thynson
Copy link
Contributor Author

thynson commented May 16, 2024

I just realized that it's could a breaking change. If shipped, existing implementations of these traits may failed to compile due to not being Send + Sync.
Given that nacos-sdk-rust is still in 0.x era, I would like to suggest to bump to 0.4.x for next release.

@CherishCai
Copy link
Collaborator

I just realized that it's could a breaking change. If shipped, existing implementations of these traits may failed to compile due to not being Send + Sync. Given that nacos-sdk-rust is still in 0.x era, I would like to suggest to bump to 0.4.x for next release.

有道理,main 应用应该没问题,若是 lib 库依赖是否有问题。那么原生 async 也考虑 0.4 搞起来

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.

ConfigService is not Send + Sync
4 participants