reifydb_auth/
lib.rs

1// Copyright (c) reifydb.com 2025
2// This file is licensed under the AGPL-3.0-or-later, see license.md file
3
4#![cfg_attr(not(debug_assertions), deny(warnings))]
5
6use reifydb_core::interface::version::{ComponentType, HasVersion, SystemVersion};
7pub use reifydb_type::Result;
8
9pub struct AuthVersion;
10
11impl HasVersion for AuthVersion {
12	fn version(&self) -> SystemVersion {
13		SystemVersion {
14			name: "auth".to_string(),
15			version: env!("CARGO_PKG_VERSION").to_string(),
16			description: "Authentication and authorization module".to_string(),
17			r#type: ComponentType::Module,
18		}
19	}
20}