#![cfg_attr(not(debug_assertions), deny(clippy::disallowed_methods))]
#![cfg_attr(debug_assertions, warn(clippy::disallowed_methods))]
#![cfg_attr(not(debug_assertions), deny(warnings))]
#![allow(clippy::tabs_in_doc_comments)]
extern crate core;
use reifydb_core::interface::version::{ComponentType, HasVersion, SystemVersion};
pub mod challenge;
pub mod error;
pub mod method;
pub mod registry;
pub mod service;
pub struct AuthVersion;
impl HasVersion for AuthVersion {
fn version(&self) -> SystemVersion {
SystemVersion {
name: env!("CARGO_PKG_NAME")
.strip_prefix("reifydb-")
.unwrap_or(env!("CARGO_PKG_NAME"))
.to_string(),
version: env!("CARGO_PKG_VERSION").to_string(),
description: "Authentication and authorization module".to_string(),
r#type: ComponentType::Module,
}
}
}