Skip to content
Discussion options

You must be logged in to vote

hey @baoyachi !

nats crate is sync in nature. It only has a convenience async wrapper, but just for core ANTS.
async-nats is a new client, written natively async (using tokio, but works well with async-std via compat feature).

It is still beta, as it's pretty new, but it's already used by others.
It is very actively developed and will get JetStream support in the next releases.

I strongly suggest using async-nats.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by caspervonb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #440 on May 16, 2022 11:24.