nats.rs icon indicating copy to clipboard operation
nats.rs copied to clipboard

Rust client for NATS, the cloud native messaging system.

Results 98 nats.rs issues
Sort by recently updated
recently updated
newest added

### Proposed change Implement reconnect method according to an connection ADR update https://github.com/nats-io/nats-architecture-and-design/issues/259 From the ADR spec update: #### On-Demand reconnect Client should have a way that allows users to...

accepted
help wanted

### Proposed change Drop endpoint info and stats when endpoint dropped. ### Use case I am adding and removing endpoints dynamically from a service. When I wish to remove an...

proposal

### Proposed change Ensure all code can't panic by using [no_panic](https://github.com/dtolnay/no-panic) macro. ### Use case Any serious project, which relies on guarantees. ### Contribution Yes.

proposal

We've had this issue reported for `lettre` and I believe nats.rs has it too https://github.com/lettre/lettre/issues/931 The `url` crate doesn't percent decode the username and the password, so credentials containing characters...

defect

### Proposed change Support passing certificates directly to the `ConnectOptions` as a `String` or `Vec` additionally to the existing support for file paths. ### Use case On systems without access...

proposal

I just create a nats client , the client can subscribe events and works fine, if I stop the nats.exe running, and also drop this nats client, why I still...

#### Use Case: In some instances it might be nice to have a `Clone` implementation for `ConnectOptions`. #### Proposed Change: Right now it seems possible, only the `event_callback: CallbackArg1` member...

enhancement

Cleans up the consumer poll implementations to be more idiomatic and easy to read primarily by nesting the code less.

Same as #1049 but for jetstream Streams

Calling `HeaderMap::new` doesn't allocate, but instead creates an [empty hashmap](https://doc.rust-lang.org/nightly/std/collections/hash_map/struct.HashMap.html#method.new). Considering that code already has to check whether there really were any headers inside of the `HeaderMap` when the variant...