Fix -Z minimal-versions

This commit is contained in:
konstin 2018-06-06 21:18:42 +02:00
parent 4fc52cf966
commit 54b09c704b
3 changed files with 6 additions and 9 deletions

View file

@ -30,7 +30,7 @@ docmatic = "^0.1.2"
[build-dependencies]
regex = "1.0"
version_check = "0.1"
version_check = "0.1.3"
[features]
default = []
@ -41,9 +41,6 @@ python2 = []
# Use this feature when building python3 binding.
python3 = []
# Enable additional features that require nightly rust
#nightly = []
# Use this feature when building an extension module.
# It tells the linker to keep the python symbols unresolved,
# so that the module can also be used with statically linked python interpreters.

View file

@ -13,7 +13,9 @@ license = "Apache-2.0"
[dependencies]
log="0.4"
quote="0.5"
# proc-macro2 is pinned to -Z minimal-versions pass (until the next syn upgrade)
proc-macro2="0.3.8"
[dependencies.syn]
version="0.13"
version="0.13.11"
features=["full", "parsing", "printing", "extra-traits"]

View file

@ -136,14 +136,12 @@ int_convert_bignum!(u128, 16, IS_LITTLE_ENDIAN, 0);
#[cfg(test)]
mod test {
use python::Python;
use conversion::ToPyObject;
macro_rules! test_common (
($test_mod_name:ident, $t:ty) => (
mod $test_mod_name {
use super::*;
use objects::exc;
use conversion::ToPyObject;
use python::Python;
#[test]
fn from_py_string_type_error() {