Skip to content

Commit 7b4c3fc

Browse files
committed
Merge branch 'release-v0.11.2' into release
2 parents fed121d + 2f41c47 commit 7b4c3fc

File tree

12 files changed

+802
-689
lines changed

12 files changed

+802
-689
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ before_script:
1010
- "./.travis/setup.sh"
1111
script:
1212
- cargo test
13-
- cargo test --features "uuid rustc-serialize time unix_socket serde_json chrono openssl bit-vec"
13+
- cargo test --features "uuid rustc-serialize time unix_socket serde_json chrono openssl bit-vec eui48"

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "postgres"
3-
version = "0.11.1"
3+
version = "0.11.2"
44
authors = ["Steven Fackler <[email protected]>"]
55
license = "MIT"
66
description = "A native PostgreSQL driver"
77
repository = "https://github.com/sfackler/rust-postgres"
8-
documentation = "https://sfackler.github.io/rust-postgres/doc/v0.11.1/postgres"
8+
documentation = "https://sfackler.github.io/rust-postgres/doc/v0.11.2/postgres"
99
readme = "README.md"
1010
keywords = ["database", "postgres", "postgresql", "sql"]
1111
build = "build.rs"
12-
include = ["src/*", "build.rs", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
12+
include = ["src/*", "build.rs", "errcodes.txt", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
1313

1414
[lib]
1515
name = "postgres"
@@ -40,6 +40,7 @@ unix_socket = { version = "0.5", optional = true }
4040
uuid = { version = "0.1", optional = true }
4141
security-framework = { version = "0.1.2", optional = true }
4242
bit-vec = { version = "0.4", optional = true }
43+
eui48 = { version = "0.1", optional = true }
4344

4445
[dev-dependencies]
4546
url = "0.5"

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Rust-Postgres
22
A native PostgreSQL driver for Rust.
33

4-
[Documentation](https://sfackler.github.io/rust-postgres/doc/v0.11.1/postgres)
4+
[Documentation](https://sfackler.github.io/rust-postgres/doc/v0.11.2/postgres)
55

66
[![Build Status](https://travis-ci.org/sfackler/rust-postgres.png?branch=master)](https://travis-ci.org/sfackler/rust-postgres) [![Latest Version](https://img.shields.io/crates/v/postgres.svg)](https://crates.io/crates/postgres)
77

@@ -252,6 +252,13 @@ types. The driver currently supports the following conversions:
252252
<td>HashMap&lt;String, Option&lt;String&gt;&gt;</td>
253253
<td>HSTORE</td>
254254
</tr>
255+
<tr>
256+
<td>
257+
<a href="https://github.com/abaumhauer/eui48">eui48::MacAddress</a>
258+
(<a href="#optional-features">optional</a>)
259+
</td>
260+
<td>MACADDR</td>
261+
</tr>
255262
</tbody>
256263
</table>
257264

@@ -302,3 +309,9 @@ feature, which adds `ToSql` and `FromSql` implementations for `chrono`'s
302309
[BIT and VARBIT](http://www.postgresql.org/docs/9.4/static/datatype-bit.html)
303310
support is provided optionally by the `bit-vec` feature, which adds `ToSql` and
304311
`FromSql` implementations for `bit-vec`'s `BitVec` type.
312+
313+
### MACADDR type
314+
315+
[MACADDR](http://www.postgresql.org/docs/9.4/static/datatype-net-types.html#DATATYPE-MACADDR)
316+
support is provided optionally by the `eui48` feature, which adds `ToSql` and
317+
`FromSql` implementations for `eui48`'s `MacAddress` type.

build.rs

Lines changed: 3 additions & 496 deletions
Large diffs are not rendered by default.

errcodes.txt

Lines changed: 467 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)