This repository was archived by the owner on Oct 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed
postgres-derive-internals Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,18 @@ Cargo.toml
22
22
# ...
23
23
24
24
[dependencies ]
25
- postgres-derive-macros = " 0.1 "
26
- postgres = " 0.11.3 "
25
+ postgres-derive-macros = " 0.2 "
26
+ postgres = " 0.12 "
27
27
```
28
28
29
29
lib.rs
30
30
``` rust
31
- #![feature(plugin, custom_derive)]
32
- #![plugin(postgres_derive_macros)]
31
+ #![feature(proc_macro)]
33
32
34
33
#[macro_use]
35
34
extern crate postgres;
35
+ #[macro_use]
36
+ extern crate postgres_derive;
36
37
37
38
#[derive(Debug , ToSql , FromSql )]
38
39
pub enum Mood {
@@ -55,10 +56,10 @@ Cargo.toml
55
56
build = " build.rs"
56
57
57
58
[build-dependencies ]
58
- postgres-derive-codegen = " 0.1 "
59
+ postgres-derive-codegen = " 0.2 "
59
60
60
61
[dependencies ]
61
- postgres = " 0.11.3 "
62
+ postgres = " 0.12 "
62
63
```
63
64
64
65
build.rs
Original file line number Diff line number Diff line change 2
2
name = " postgres-derive-internals"
3
3
version = " 0.1.0"
4
4
authors = [" Steven Fackler <sfackler@palantir.com>" ]
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" ]
5
10
6
11
[dependencies ]
7
12
syn = " 0.9"
Original file line number Diff line number Diff line change 2
2
name = " postgres-derive"
3
3
version = " 0.1.0"
4
4
authors = [" Steven Fackler <sfackler@palantir.com>" ]
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" ]
5
10
6
11
[lib ]
7
12
proc-macro = true
You can’t perform that action at this time.
0 commit comments