Thanks to visit codestin.com
Credit goes to lib.rs

10 unstable releases (3 breaking)

0.4.0 Apr 18, 2026
0.3.0 Apr 12, 2026
0.2.2 Apr 7, 2026
0.1.4 Apr 3, 2026
0.1.3 Mar 30, 2026

#2840 in Procedural macros

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

934 downloads per month
Used in 107 crates (29 directly)

MIT/Apache

15KB
246 lines

vil_connector_macros

Lightweight proc-macro crate for VIL connector crates.

Provides three attribute macros:

  • #[connector_fault] — applied to enums, generates error_code/kind/is_retryable/Display/Error
  • #[connector_event] — applied to structs, generates repr(C)/Default/size guard (≤192 bytes)
  • #[connector_state] — applied to structs, generates repr(C)/Default (no size guard)

Zero VIL runtime dependencies — only syn, quote, proc-macro2.


vil_connector_macros

VIL Connector Macros — lightweight #connector_fault/event/state for connector crates

Part of VIL

This crate is part of VIL — a process-oriented language and framework for building zero-copy, high-performance distributed systems.

License

Licensed under either of Apache License 2.0 or MIT License.

Dependencies

~98–450KB
~11K SLoC