heldar_entry/lib.rs
1//! Heldar Access Control — generic, **open (Apache-2.0)** reference app.
2//!
3//! Built on the open `heldar-kernel` platform. Provides ANPR authorization (plate → registry
4//! resolution → canonical entry event), the vehicle/visitor-pass/watchlist registry, the guard
5//! confirm/reject workflow, and entry/exception/audit reports. It is domain-neutral — any gated-entry
6//! deployment (campus, residential, corporate, industrial) uses it as-is. It plugs into the kernel
7//! purely through public seams: [`heldar_kernel::services::consumer::DetectionConsumer`] (the ANPR
8//! engine), [`heldar_kernel::state::AppState`] + the shared SQLite pool, the auth primitive, and
9//! the error/model types. The kernel has no dependency on this crate — the composing server links it.
10//!
11//! Vertical/client products (e.g. a proprietary `heldar-campus-entry` adding students/guardians,
12//! pickup/dismissal, and parental-app integration) depend on THIS crate and layer their specifics on
13//! top; the generic access-control core stays open. See `ARCHITECTURE.md` for the open-core split.
14
15pub mod anpr;
16pub mod config;
17pub mod models;
18pub mod retention;
19pub mod routes;
20pub mod schema;