Skip to content

Commit 4c6ed73

Browse files
committed
Release v0.3.0
1 parent 4ccc19d commit 4c6ed73

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "postgres-binary-copy"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
authors = ["Steven Fackler <sfackler@gmail.com>"]
55
license = "MIT"
66
description = "Support for binary-format COPY query execution with postgres"
7-
documentation = "https://sfackler.github.io/rust-postgres-binary-copy/doc/v0.2.1/postgres_binary_copy"
7+
documentation = "https://sfackler.github.io/rust-postgres-binary-copy/doc/v0.3.0/postgres_binary_copy"
88
repository = "https://github.com/sfackler/rust-postgres-binary-copy"
99
readme = "README.md"
1010
keywords = ["database", "sql", "postgres", "copy"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
Support for binary-format `COPY` query execution with
66
[rust-postgres](https://github.com/sfackler/rust-postgres).
77

8-
[Documentation](https://sfackler.github.io/rust-postgres-binary-copy/doc/v0.2.1/postgres_binary_copy)
8+
[Documentation](https://sfackler.github.io/rust-postgres-binary-copy/doc/v0.3.0/postgres_binary_copy)
99

1010
## Example
1111

1212
```rust
1313
extern crate postgres;
1414
extern crate postgres_binary_copy;
1515

16-
use postgres::{Connection, SslMode};
16+
use postgres::{Connection, TlsMode};
1717
use postgres::types::{Type, ToSql};
1818
use postgres_binary_copy::BinaryCopyReader;
1919

2020
fn main() {
2121
let conn = Connection::connect("postgres://postgres@localhost",
22-
SslMode::None).unwrap();
22+
TlsMode::None).unwrap();
2323

2424
conn.execute("CREATE TABLE foo (id INT PRIMARY KEY, bar VARCHAR)", &[])
2525
.unwrap();

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! stmt.copy_in(&[], &mut reader).unwrap();
2828
//! }
2929
//! ```
30-
#![doc(html_root_url="https://sfackler.github.io/rust-postgres-binary-copy/doc/v0.2.1")]
30+
#![doc(html_root_url="https://sfackler.github.io/rust-postgres-binary-copy/doc/v0.3.0")]
3131
#![warn(missing_docs)]
3232
extern crate byteorder;
3333
extern crate postgres;

0 commit comments

Comments
 (0)