Update readme to use crates.io packages instead of git
This commit is contained in:
parent
cdbbadd3cf
commit
fe7b9f5435
@ -5,10 +5,11 @@ Documentation is available at https://sfackler.github.io/doc/postgres
|
|||||||
|
|
||||||
[![Build Status](https://travis-ci.org/sfackler/rust-postgres.png?branch=master)](https://travis-ci.org/sfackler/rust-postgres)
|
[![Build Status](https://travis-ci.org/sfackler/rust-postgres.png?branch=master)](https://travis-ci.org/sfackler/rust-postgres)
|
||||||
|
|
||||||
|
You can integrate Rust-Postgres into your project through the releases on crates.io:
|
||||||
```toml
|
```toml
|
||||||
# Cargo.toml
|
# Cargo.toml
|
||||||
[dependencies.postgres]
|
[dependencies]
|
||||||
git = "https://github.com/sfackler/rust-postgres.git"
|
postgres = "0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
@ -304,7 +305,7 @@ your Cargo manifest:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.postgres]
|
[dependencies.postgres]
|
||||||
git = ...
|
version = ...
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [...]
|
features = [...]
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user