-
Is there a way to embed a NATS server into a rust application, i know this can be done with Go and just wondering if this was possible using Rust also? |
Beta Was this translation helpful? Give feedback.
Answered by
Jarema
Dec 5, 2022
Replies: 1 comment 2 replies
-
NATS server is written in Go, and you cannot embed it in Rust. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bencleary
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NATS server is written in Go, and you cannot embed it in Rust.
You can run the NATS server from within the Rust application like our tests do (that's the purpose
nats-server
crate), but that's just spawning a child process.