docs.rs failed to build v-authorization-impl-0.4.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
v-authorization-impl-0.5.3
v-authorization-impl
LMDB implementation for Veda authorization system.
Description
This crate provides LMDB-based storage backend for the Veda authorization framework. It implements the AuthorizationContext trait from v_authorization crate using Lightning Memory-Mapped Database (LMDB).
Features
- High-performance authorization data storage using LMDB
- Optional caching layer for improved performance
- Statistics collection support
- Thread-safe read operations
Usage
use LmdbAzContext;
// Create with default settings
let mut az_ctx = default;
// Create with custom max read counter
let mut az_ctx = new;
// Create with full configuration
let mut az_ctx = new_with_config;
Configuration
The context can be configured with:
max_read_counter: Number of authorization operations before database reconnectionstat_collector_url: Optional URL for statistics collectionstat_mode: Statistics collection mode ("full", "minimal", or "none")use_cache: Enable/disable authorization cache
Dependencies
lmdb-rs-m: LMDB Rust bindingsv_authorization: Core authorization frameworknng: Nanomsg-next-generation for statistics reporting