#![allow(unused_imports, reason = "TODO: should eventually just remove stuff that doesn't need to exist")]
mod categories_table;
mod crate_downloads_table;
mod crate_owners_table;
mod crates_categories_table;
mod crates_keywords_table;
mod crates_table;
mod dependencies_table;
mod ids;
mod keywords_table;
mod row_iter;
mod row_reader;
mod row_writer;
mod table;
mod table_mgr;
mod teams_table;
mod users_table;
mod version_downloads_table;
mod versions_table;
#[cfg(all_tables)]
mod default_versions_table;
#[cfg(all_tables)]
mod metadata_table;
#[cfg(all_tables)]
mod reserved_crate_names_table;
use row_reader::RowReader;
use row_writer::RowWriter;
use table::{TABLE_HEADER_SIZE, define_rows, define_table, validate_table_header};
pub use categories_table::{CategoriesTable, CategoriesTableIndex, CategoryRow};
pub use crate_downloads_table::{CrateDownloadRow, CrateDownloadsTable};
pub use crate_owners_table::{CrateOwnerRow, CrateOwnersTable, OwnerKind};
pub use crates_categories_table::{CratesCategoriesRow, CratesCategoriesTable};
pub use crates_keywords_table::{CratesKeywordsRow, CratesKeywordsTable};
pub use crates_table::{CrateRow, CratesTable, CratesTableIndex};
pub use dependencies_table::DependenciesTable;
pub use ids::{CategoryId, CrateId, KeywordId, TeamId, UserId, VersionId};
pub use keywords_table::{KeywordsTable, KeywordsTableIndex};
pub use row_iter::RowIter;
pub use table::Table;
pub use table_mgr::TableMgr;
pub use teams_table::{TeamRow, TeamsTable, TeamsTableIndex};
pub use users_table::{UserRow, UsersTable, UsersTableIndex};
pub use version_downloads_table::{VersionDownloadRow, VersionDownloadsTable};
pub use versions_table::{VersionRow, VersionRowLean, VersionsTable, VersionsTableIndex};
#[cfg(all_tables)]
pub use default_versions_table::{DefaultVersionRow, DefaultVersionsTable};
#[cfg(all_tables)]
pub use metadata_table::{MetadataRow, MetadataTable};
#[cfg(all_tables)]
pub use reserved_crate_names_table::{ReservedCrateNamesRow, ReservedCrateNamesTable};
#[cfg(all_fields)]
pub use dependencies_table::DependencyKind;
#[cfg(all_fields)]
pub use ids::DependencyId;