Releases: blackbeam/rust-mysql-simple
Releases · blackbeam/rust-mysql-simple
v5.2.0
-
firstandfirst_execshortcuts added to conveniently get first row of a query -
The lifetime of a pool is now untied from a
QueryResultinPool::prepareandPool::prep_execso now you can write this without bc errors:pool.prep_exec("SELECT 1", ()).and_then(|result1| { pool.prep_exec("SELECT 2", ()).and_then(|result2| { // ... }) })
v5.1.0
v5.0.0
v4.0.0
v2.2.0
v2.1.0
v2.0.0
Changes:
- Connection URL parsing implemented.
PoolandConnconstructors now takesInto<Opts>(implemented for&str).- Everything was reexported to top level.
- Few new structs added:
Row- to replace rawVec<Value>MySqlError- to replace reexportedErrPacketParams- to replace rawVec<Value>. This is for upcoming #31 fix.
IntoValueremoved in favor ofInto<Value>ToRowremoved in favor ofInto<Params>SignedDurationremoved in favor oftimecrate'sDuration- Bunch of renames:
- Rename
Opts.tcp_addr->Opts.ip_or_hostname - Rename
MyConn->Conn - Rename
MyPool->Pool - Rename
MyPooledConn->PooledConn - Rename
MyError->Error - Rename
MyIoError->IoError - Rename
MyDriverError->DriverError - Rename
MySslError->SslError - Rename
MyResult->Result
- Rename