mirror of
https://github.com/danog/php-tokio.git
synced 2024-11-26 20:34:54 +01:00
Switch to nicelocal-ext-php-rs
This commit is contained in:
parent
25e6dd3418
commit
6463423ada
@ -8,7 +8,7 @@ authors = ["Daniil Gentili <daniil@daniil.it>"]
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
ext-php-rs = { git = "https://github.com/nicelocal/ext-php-rs", features = ["anyhow"], tag = "v0.10.2" }
|
||||
nicelocal-ext-php-rs = "0.10.3"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-pipe = "*"
|
||||
lazy_static = "1.4.0"
|
||||
|
@ -42,7 +42,7 @@ fn parser(input: ItemImpl) -> Result<TokenStream> {
|
||||
.collect::<Result<Vec<_>>>()?;
|
||||
|
||||
let output = quote! {
|
||||
#[::ext_php_rs::php_impl]
|
||||
#[::nicelocal_ext_php_rs::php_impl]
|
||||
impl #self_ty {
|
||||
#(#tokens)*
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Borrowed from https://github.com/jeremyBanks/you-can
|
||||
|
||||
use ext_php_rs::binary_slice::{BinarySlice, PackSlice};
|
||||
use nicelocal_ext_php_rs::binary_slice::{BinarySlice, PackSlice};
|
||||
|
||||
|
||||
#[inline(always)]
|
||||
|
@ -7,11 +7,11 @@ use std::os::fd::{RawFd, FromRawFd};
|
||||
use std::sync::mpsc::{Sender, Receiver, channel};
|
||||
use std::io::Read;
|
||||
use crate::borrow_unchecked::borrow_unchecked;
|
||||
use ext_php_rs::boxed::ZBox;
|
||||
use ext_php_rs::call_user_func;
|
||||
use ext_php_rs::prelude::*;
|
||||
use ext_php_rs::types::ZendHashTable;
|
||||
use ext_php_rs::zend::Function;
|
||||
use nicelocal_ext_php_rs::boxed::ZBox;
|
||||
use nicelocal_ext_php_rs::call_user_func;
|
||||
use nicelocal_ext_php_rs::prelude::*;
|
||||
use nicelocal_ext_php_rs::types::ZendHashTable;
|
||||
use nicelocal_ext_php_rs::zend::Function;
|
||||
use lazy_static::lazy_static;
|
||||
use tokio::runtime::Runtime;
|
||||
use std::os::fd::AsRawFd;
|
||||
|
Loading…
Reference in New Issue
Block a user