neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
Rust용 NATS 클라우드 네이티브 메시징 시스템 클라이언트
Rust client for NATS, the cloud native messaging system.
개발 도구Rust · ShellGitHub @nats-io직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Rust may be one of the most interesting new languages the NATS ecosystem has seen. We believe this client will have a large impact on NATS, distributed systems, and embedded and IoT environments. With Rust, we wanted to be as idiomatic as we could be and lean into the strengths of the language. We moved many things that would have been runtime checks and errors to the compiler, most notably options on connections, and having subscriptions generate multiple styles of iterators since iterators are first-class citizens in Rust. We also wanted to be aligned with the NATS philosophy of simple, secure, and fast!
There is a current, async client, and a deprecated one.
Async Tokio-based NATS client.
Supports:
The API is stable, however it remains on 0.x.x versioning, as async ecosystem is still introducing a lot of ergonomic improvements. Some of our dependencies are also considered
stable, yet versioned <1.0.0, like rustls, which might introduce breaking changes that can affect our users in some way.
Feature flags are Documented in Cargo.toml and can be viewed here.
time vs chrono)JetStream and Service datetime fields use time::OffsetDateTime by default. Enabling the
optional chrono feature switches the async_nats::datetime::DateTime type (and those fields)
to chrono::DateTime<chrono::Utc>. Because Cargo unifies features across the whole dependency
graph, enabling chrono anywhere in the graph selects it for every consumer of async-nats
in that build — so an unexpected time vs chrono type mismatch usually means a dependency
enabled async-nats/chrono.
NATS client functionality is split across two layers: the core client
(async-nats, this repo) and Orbit,
a separate set of crates with higher-level utilities.
The split exists so the core can stay small, stable, and consistent across NATS clients in every language, while Orbit can iterate quickly on opinionated abstractions without dragging the core API along for the ride.
async-nats)nats-server.orbit.rs)| Concern | Core (async-nats) | Orbit |
|---|---|---|
| Connect, publish, subscribe, request/reply | ✅ | |
| JetStream publish, consumers, streams, KV, OS | ✅ | |
| Service API (request/reply micro-services) | ✅ | |
| Wire-protocol coverage, auth, TLS, reconnection | ✅ | |
| Cross-client parity, conservative semver | ✅ | |
| Opinionated helpers / sugar over core APIs | ✅ | |
| New experimental patterns (e.g. partitioned groups) | ✅ | |
| KV codecs, distributed counters, NATS contexts | ✅ | |
| Rust-idiomatic abstractions with no parity mandate | ✅ | |
| Per-utility versioning, faster API churn allowed | ✅ |
Rule of thumb: if it is a thin mapping of something
nats-serveralready speaks and every official client must expose it, it belongs in core. If it is a pattern, helper, or abstraction layered on top, it belongs in Orbit.
┌──────────────────────────────────────────────────────┐
│ Application code │
└──────────────┬───────────────────────────┬───────────┘
│ │
▼ ▼
┌───────────────────┐ ┌───────────────────┐
│ Orbit crates │ uses │ async-nats (core) │
│ (opinionated, │──────▶│ (parity, stable, │
│ per-crate semver)│ │ protocol-level) │
└───────────────────┘ └─────────┬─────────┘
│
▼
┌─────────────┐
│ nats-server │
└─────────────┘
Deprecated: Use
async-natsinstead. This crate only receives critical security fixes.
Please refer each crate docs for API reference and examples.
Additionally Check out NATS by example - An evolving collection of runnable, cross-client reference examples for NATS.
We encourage all folks in the NATS and Rust ecosystems to help us
improve this library. Please open issues, submit PRs, etc. We're
available in the rust channel on the NATS slack
as well!