pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub mod database;
pub mod gsi;
pub mod sort;
pub mod table;
pub use database::Database;
pub use gsi::Gsi;
pub use sort::SortCondition;
pub use table::Table;
#[cfg(feature = "python")]
mod python;
pub fn version() -> &'static str {
VERSION
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn version_is_non_empty() {
assert!(!version().is_empty());
}
#[test]
fn version_constant_matches_cargo_pkg() {
assert_eq!(VERSION, env!("CARGO_PKG_VERSION"));
}
}