From e935111c9cefa463007ce959027c14857f0b044c Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Sat, 7 Nov 2015 17:10:20 +0100 Subject: [PATCH] Update interpolate_idents to my fork (adjusted for currently Rust nightlies). Update libc to 0.2. --- Cargo.toml | 4 ++-- README.md | 6 +++--- python27-sys/Cargo.toml | 2 +- python3-sys/Cargo.toml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a74bf0cc..4909b21e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,9 +25,9 @@ exclude = [ build = "build.rs" [dependencies] -libc = "0.1" +libc = "0.2" num = "0.1" -interpolate_idents = ">=0.0.4" +interpolate_idents = { git = "https://github.com/dgrunwald/interpolate_idents.git" } abort_on_panic = "1.0" # These features are both optional, but you must pick one to diff --git a/README.md b/README.md index ce81c62c..a729bafd 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ Supported Rust version: # Usage -[`cpython` is available on crates.io](https://crates.io/crates/cpython) so you can use it like this (in your `Cargo.toml`): +To use `cpython`, add this to your `Cargo.toml`: ```toml -[dependencies.cpython] -version = "*" +[dependencies] +cpython = { git = "https://github.com/dgrunwald/cpython.git" } ``` Example program displaying the value of `sys.version`: diff --git a/python27-sys/Cargo.toml b/python27-sys/Cargo.toml index 903f2499..78cfab2f 100644 --- a/python27-sys/Cargo.toml +++ b/python27-sys/Cargo.toml @@ -20,7 +20,7 @@ exclude = [ ] [dependencies] -libc = "0.1" +libc = "0.2" [build-dependencies] pkg-config = "0.3.5" diff --git a/python3-sys/Cargo.toml b/python3-sys/Cargo.toml index a6fcf627..60d1c1f6 100644 --- a/python3-sys/Cargo.toml +++ b/python3-sys/Cargo.toml @@ -20,7 +20,7 @@ exclude = [ ] [dependencies] -libc = "0.1" +libc = "0.2" [build-dependencies] regex = "0.1.8"