1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
//! ### rust-mysql-simple //! Mysql client library implemented in rust nightly. //! //! #### Install //! Just include another `[dependencies.*]` section into your Cargo.toml: //! //! ```toml //! [dependencies.mysql] //! git = "https://github.com/blackbeam/rust-mysql-simple" //! ``` //! //! rust-mysql-simple offer support of SSL via `ssl` cargo feature which is enabled by default. If you have no plans to use SSL, then you should disable that feature to not to depend on rust-openssl: //! //! ```toml //! [dependencies.mysql] //! git = "https://github.com/blackbeam/rust-mysql-simple" //! default-features = false //! ``` //! //! #### Use //! You should start by creating [`MyOpts`](conn/struct.MyOpts.html) struct. //! //! Then you can create [`MyPool`](conn/pool/struct.MyPool.html) which should be //! enough to work with mysql server. #![crate_name="mysql"] #![crate_type="rlib"] #![crate_type="dylib"] #![cfg_attr(feature = "nightly", feature(test))] #[cfg(feature = "nightly")] extern crate test; extern crate time; #[cfg(feature = "openssl")] extern crate openssl; extern crate regex; #[macro_use] extern crate lazy_static; #[macro_use] extern crate bitflags; extern crate byteorder; extern crate unix_socket; mod scramble; pub mod consts; pub mod error; mod packet; mod io; pub mod value; pub mod conn;