Skip to content
This repository was archived by the owner on Oct 10, 2019. It is now read-only.

Commit b06bd2f

Browse files
committed
Update readme and new Cargo.tomls
1 parent 458010a commit b06bd2f

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ Cargo.toml
2222
# ...
2323

2424
[dependencies]
25-
postgres-derive-macros = "0.1"
26-
postgres = "0.11.3"
25+
postgres-derive-macros = "0.2"
26+
postgres = "0.12"
2727
```
2828

2929
lib.rs
3030
```rust
31-
#![feature(plugin, custom_derive)]
32-
#![plugin(postgres_derive_macros)]
31+
#![feature(proc_macro)]
3332

3433
#[macro_use]
3534
extern crate postgres;
35+
#[macro_use]
36+
extern crate postgres_derive;
3637

3738
#[derive(Debug, ToSql, FromSql)]
3839
pub enum Mood {
@@ -55,10 +56,10 @@ Cargo.toml
5556
build = "build.rs"
5657

5758
[build-dependencies]
58-
postgres-derive-codegen = "0.1"
59+
postgres-derive-codegen = "0.2"
5960

6061
[dependencies]
61-
postgres = "0.11.3"
62+
postgres = "0.12"
6263
```
6364

6465
build.rs

postgres-derive-internals/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "postgres-derive-internals"
33
version = "0.1.0"
44
authors = ["Steven Fackler <[email protected]>"]
5+
license = "MIT/Apache-2.0"
6+
description = "Unstable internals library used by postgres-derive and postgres-derive-codegen"
7+
repository = "https://github.com/sfackler/rust-postgres-derive"
8+
readme = "../README.md"
9+
keywords = ["database", "postgres", "postgresql", "sql"]
510

611
[dependencies]
712
syn = "0.9"

postgres-derive/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "postgres-derive"
33
version = "0.1.0"
44
authors = ["Steven Fackler <[email protected]>"]
5+
license = "MIT/Apache-2.0"
6+
description = "Deriving plugin support for Postgres enum, domain, and composite types"
7+
repository = "https://github.com/sfackler/rust-postgres-derive"
8+
readme = "../README.md"
9+
keywords = ["database", "postgres", "postgresql", "sql"]
510

611
[lib]
712
proc-macro = true

0 commit comments

Comments
 (0)