Tags: atsjj/rust-postgres
Tags
v0.12.0 * `Slice` type removed - `[T]` directly implements ToSql and FromSql. * `[T]`'s `ToSql` implementation is now one-indexed to match array literals. * TLS implementations are now on wrapper structs around `SslContext` and `ClientBuilder`. * The OpenSSL TLS implementation validates hostnames and tightens other security configuration. * `SslMode` is now `TlsMode`. * Unix socket support no longer requires a Cargo feature. * Upgrade to OpenSSL 0.8. * Update types and errors to PostgreSQL 9.6. * Type information queries are now lazily initialized, slightly improving performance in contexts that don't use custom types, and avoiding issues with systems like CockroachDB that don't fully support `pg_catalog`. * Notification and lazy rows iterators now implement `FallibleIterator`. * `FromSql` now takes a `&[u8]` rather than a `Read`er, and `ToSql` now takes an `&mut Vec<u8>` rather than a `Write`r. * Add a `FromSql::from_sql_nullable` convenience method. * `io` module renamed to `tls`.
PreviousNext