heldar-entry 0.1.8

Heldar Access Control — generic ANPR authorization, vehicle/visitor/watchlist registry, guard workflow, and entry reports for gated-entry deployments. Built on the heldar-kernel platform.
Documentation
//! Heldar Access Control — generic, **open (Apache-2.0)** reference app.
//!
//! Built on the open `heldar-kernel` platform. Provides ANPR authorization (plate → registry
//! resolution → canonical entry event), the vehicle/visitor-pass/watchlist registry, the guard
//! confirm/reject workflow, and entry/exception/audit reports. It is domain-neutral — any gated-entry
//! deployment (residential, corporate, industrial) uses it as-is. It plugs into the kernel
//! purely through public seams: [`heldar_kernel::services::consumer::DetectionConsumer`] (the ANPR
//! engine), [`heldar_kernel::state::AppState`] + the shared SQLite pool, the auth primitive, and
//! the error/model types. The kernel has no dependency on this crate — the composing server links it.
//!
//! Proprietary vertical/client products depend on THIS crate and layer their domain specifics on
//! top; the generic access-control core stays open. See `ARCHITECTURE.md` for the open-core split.

pub mod anpr;
pub mod config;
pub mod models;
pub mod retention;
pub mod routes;
pub mod schema;

/// This app's module manifest (served at `GET /api/v1/modules` so the dashboard renders its nav).
pub fn manifest() -> heldar_kernel::modules::ModuleManifest {
    use heldar_kernel::modules::{ModuleKind, ModuleManifest, NavEntry};
    ModuleManifest::new(
        "entry",
        "Access Control",
        env!("CARGO_PKG_VERSION"),
        "Heldar",
        ModuleKind::Core,
        "ANPR authorization, vehicle/visitor registry, guard confirm/reject, entry reports.",
        vec![NavEntry::new("/entry", "Entry", "entry")],
    )
}