#![cfg_attr(docsrs, feature(doc_cfg))]

pub use bytes::{BufMut, Bytes, BytesMut};
pub use code_turn::code_turn;
pub use kind2sql::{Kind, SqlField};
pub use linkme;
pub use tosql_derive::ToSql;
pub use tosql_static_meta::Meta;
pub use vb;

pub mod mysql {
  pub use kind2sql::mysql::{KIND, Mysql};
}

pub trait ToSqlTrait {
  const META: Meta;
  fn dump(&self) -> Bytes;
}

code_turn! {
  mod sql_struct_li;
  pub use sql_struct_li::{SQL_STRUCT_LI, SqlStruct};
}
