crates.io doesn't accept dots in feature names

This commit is contained in:
Daniel Grunwald 2015-05-03 00:39:03 +02:00
parent 6b5da09e79
commit b2293e593e
4 changed files with 9 additions and 7 deletions

2
python3-sys/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/target
/Cargo.lock

View File

@ -8,8 +8,8 @@ keywords = [
"cpython", "cpython",
"libpython3", "libpython3",
] ]
homepage = "https://github.com/dgrunwald/rust-python3-sys" homepage = "https://github.com/dgrunwald/rust-cpython/tree/master/python3-sys"
repository = "https://github.com/dgrunwald/rust-python3-sys.git" repository = "https://github.com/dgrunwald/rust-cpython/tree/master/python3-sys"
license = "Python-2.0" license = "Python-2.0"
authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"] authors = ["Daniel Grunwald <daniel@danielgrunwald.de>"]
build = "build.rs" build = "build.rs"
@ -31,6 +31,6 @@ default = ["WITH_THREAD"]
Py_TRACE_REFS = [] Py_TRACE_REFS = []
WITH_THREAD = [] WITH_THREAD = []
"python3.3" = [] "python3_3" = []
"python3.4" = ["python3.3"] "python3_4" = ["python3_3"]

View File

@ -1,4 +1,4 @@
rust-python3-sys [![Build Status](https://travis-ci.org/dgrunwald/rust-python3-sys.svg?branch=master)](https://travis-ci.org/dgrunwald/rust-python3-sys) rust-python3-sys
==================== ====================
[Rust](http://www.rust-lang.org/) FFI declarations for Python 3. [Rust](http://www.rust-lang.org/) FFI declarations for Python 3.

View File

@ -175,11 +175,11 @@ impl ::std::default::Default for PyType_Spec {
extern "C" { extern "C" {
pub fn PyType_FromSpec(arg1: *mut PyType_Spec) -> *mut PyObject; pub fn PyType_FromSpec(arg1: *mut PyType_Spec) -> *mut PyObject;
#[cfg(feature = "python3.3")] #[cfg(feature = "python3_3")]
pub fn PyType_FromSpecWithBases(arg1: *mut PyType_Spec, arg2: *mut PyObject) pub fn PyType_FromSpecWithBases(arg1: *mut PyType_Spec, arg2: *mut PyObject)
-> *mut PyObject; -> *mut PyObject;
#[cfg(feature = "python3.4")] #[cfg(feature = "python3_4")]
pub fn PyType_GetSlot(arg1: *mut PyTypeObject, arg2: c_int) pub fn PyType_GetSlot(arg1: *mut PyTypeObject, arg2: c_int)
-> *mut c_void; -> *mut c_void;
} }