use rust 2018

This commit is contained in:
Robin Appelman 2019-03-18 17:13:31 +01:00
commit 8627b29e4b
3 changed files with 3 additions and 4 deletions

View file

@ -6,6 +6,7 @@ keywords = ["php", "php-extension"]
description = "A library to build PHP extensions in Rust." description = "A library to build PHP extensions in Rust."
license = "MIT" license = "MIT"
repository = "https://github.com/rethinkphp/php-rs" repository = "https://github.com/rethinkphp/php-rs"
edition = "2018"
[dependencies] [dependencies]
libc = "0.2.0" libc = "0.2.0"

View file

@ -2,6 +2,7 @@
name = "helloworld" name = "helloworld"
version = "0.1.0" version = "0.1.0"
authors = ["Jin Hu <bixuehujin@gmail.com>"] authors = ["Jin Hu <bixuehujin@gmail.com>"]
edition = "2018"
[dependencies] [dependencies]
libc = "0.2.0" libc = "0.2.0"

View file

@ -1,11 +1,8 @@
#![allow(unused_variables)] #![allow(unused_variables)]
extern crate libc;
extern crate php;
use libc::*; use libc::*;
use php::*; use php::*;
use zend::*; use php::zend::*;
use php::info::*; use php::info::*;
extern { extern {