From 7e1561335f2d7171fbb6895ea5c4a9594e615f62 Mon Sep 17 00:00:00 2001 From: Petar Radosevic Date: Wed, 25 Jun 2014 21:21:01 +0200 Subject: [PATCH 1/2] Add Cargo.toml --- .gitignore | 1 + Cargo.toml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 Cargo.toml diff --git a/.gitignore b/.gitignore index ff7df192..675274f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /doc/ /build/ /Makefile +/target/ diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..7f3fea29 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,19 @@ +[package] + +name = "rust-postgres" +version = "0.10.0" +authors = [ "Steven Fackler " ] + +[[lib]] + +name = "postgres" +path = "src/lib.rs" + +[dependencies.openssl] + +git = "https://github.com/sfackler/rust-openssl" + +[dependencies.phf_mac] + +git = "https://github.com/sfackler/rust-phf" + From d23d72e8033e4bb6f3c44bbd71bb976961fe4369 Mon Sep 17 00:00:00 2001 From: Petar Radosevic Date: Wed, 25 Jun 2014 22:12:36 +0200 Subject: [PATCH 2/2] Fix dependencies --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 7f3fea29..3308be01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,10 @@ path = "src/lib.rs" [dependencies.openssl] git = "https://github.com/sfackler/rust-openssl" +ref = "5fb236128c4c552ace49c2d1f72a8996ee8d05d6" [dependencies.phf_mac] git = "https://github.com/sfackler/rust-phf" +ref = "09e8d0a3375af00a08a632922e4024337a58fc57"