cnats
« Back to VersTracker
Description:
C client for the NATS messaging system
Type: Formula  |  Latest Version: 3.12.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @nats_io  |  formulae.brew.sh
Category: Networking
Tags: messaging nats pub-sub distributed-systems c-client real-time
Install: brew install cnats
About:
CNATS is the official C client library for NATS, a high-performance, cloud-native messaging system. It provides a robust interface for building scalable, distributed applications through publish-subscribe and request-reply patterns. The library supports both synchronous and asynchronous operations, enabling efficient event-driven communication.
Key Features:
  • High-performance asynchronous messaging
  • Support for core NATS and NATS Streaming
  • TLS/SSL encryption for secure communications
  • Event loop integration (libevent, libuv, libev)
  • Cross-platform compatibility
Use Cases:
  • Microservices communication and coordination
  • Real-time data streaming and processing pipelines
  • IoT device messaging and control systems
  • High-throughput event-driven architectures
Alternatives:
  • nats.go – Go implementation with similar features but requires Go runtime
  • nats.net – .NET client with managed code benefits but different ecosystem
License: Apache-2.0
Dependencies: libevent, libuv, openssl@3, protobuf-c
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 26, 2025 8:09pm 0 VERSION_BUMP 41abaf1e
Sep 26, 2025 7:54pm 0 VERSION_BUMP b766a773
Oct 2, 2024 2:49pm 0 VERSION_BUMP 8b97512b
Oct 1, 2024 6:28pm 0 VERSION_BUMP 34c8ae3a