[](https://github.com/tclarke/rcal/actions/workflows/ci.yml)
[](https://github.com/tclarke/rcal/actions/workflows/github-code-scanning/codeql)
[](https://crates.io/crates/rcal_macros)
[](https://docs.rs/rcal_macros)
# rcal_macros
Procedural macros for the [rcal](../) OMS Critical Abstraction Layer library.
## Macros
- `#[rcal_main]` — entry-point macro that initialises the Tokio runtime, builds the CAL config from
`CALConfig.toml`, and wires up the root `slog` logger before calling `async fn main`.
## Usage
This crate is a dependency of `rcal` and is re-exported; you typically don't add it directly.
If you need the macros standalone:
```toml
[dependencies]
rcal_macros = "2"
```