serde_odbc/lib.rs
1/*
2This file is part of serde-odbc.
3
4serde-odbc is free software: you can redistribute it and/or modify
5it under the terms of the GNU Lesser General Public License as published by
6the Free Software Foundation, either version 3 of the License, or
7(at your option) any later version.
8
9serde-odbc is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU Lesser General Public License for more details.
13
14You should have received a copy of the GNU Lesser General Public License
15along with serde-odbc. If not, see <http://www.gnu.org/licenses/>.
16*/
17mod bind_types;
18mod binder;
19mod col_binder;
20mod col_binding;
21mod connection;
22mod error;
23mod nullable;
24mod param_binder;
25mod param_binding;
26mod statement;
27mod string;
28
29pub use col_binding::{Cols, NoCols, RowSet};
30pub use connection::*;
31pub use error::{Error, Result};
32pub use nullable::*;
33pub use param_binding::{NoParams, ParamSet, Params};
34pub use statement::*;
35pub use string::*;
36
37pub use generic_array;
38
39#[cfg(test)]
40mod tests {
41 pub const CONN_STR: &str = "Driver=Sqlite3;Database=:memory:;";
42}