#![deny(clippy::all)]
#![allow(dead_code)]
pub mod constants;
pub mod error;
pub mod types;
pub mod util;
pub mod core;
pub mod check;
pub mod mvcc;
pub mod vector;
pub mod backup;
pub mod metrics;
pub mod cache;
pub mod export;
pub mod streaming;
pub mod api;
#[cfg(test)]
mod concurrent_tests;
#[cfg(feature = "napi")]
pub mod napi_bindings;
#[cfg(feature = "python")]
pub mod pyo3_bindings;
pub use check::{check_snapshot, quick_check};
pub use error::{KiteError, Result};
pub use api::schema::{
edge, node, prop, DatabaseSchema, EdgeSchema, NodeSchema, PropDef, SchemaType, ValidationError,
};
#[allow(deprecated)]
pub use api::schema::{define_edge, define_node};
pub use api::kite::kite;
#[cfg(feature = "napi")]
use napi_derive::napi;
#[cfg(feature = "napi")]
#[napi]
pub fn plus_100(input: u32) -> u32 {
input + 100
}
#[cfg(feature = "napi")]
#[napi]
pub fn version() -> String {
env!("CARGO_PKG_VERSION").to_string()
}
pub use types::PropValueTag;
#[cfg(feature = "napi")]
pub use napi_bindings::{
open_database, Database, DbStats, EdgePage, EdgeWithProps, JsEdge, JsFullEdge, JsNodeProp,
JsPropValue, Kite, NodePage, NodeWithProps, OpenOptions, PaginationOptions, PropType,
StreamOptions,
};
#[cfg(feature = "python")]
pub use pyo3_bindings::kitedb;