nats_for_dart 0.1.0
nats_for_dart: ^0.1.0 copied to clipboard
Dart FFI bindings for the NATS C client — core pub/sub, JetStream, and KeyValue store.
0.1.0 #
- Replaced C-style enum exports with Dart-idiomatic enums.
jsStorageType.js_MemoryStorageis nowStorageType.memory,natsStatus.NATS_TIMEOUTis nowNatsStatus.timeout, etc. All 8 enums renamed:RetentionPolicy,DiscardPolicy,StorageType,DeliverPolicy,AckPolicy,ReplayPolicy,KvOperation,NatsStatus. - Core pub/sub with synchronous and asynchronous subscriptions
- Request-reply messaging
- JetStream publish, pull subscribe, and stream/consumer management
- KeyValue store with get, put, delete, watch, history, and optimistic concurrency
- Connection lifecycle event streams (disconnect, reconnect, close, error)
- Vendored nats.c v3.12.0 and LibreSSL (no system dependencies needed)