diff --git a/Cargo.toml b/Cargo.toml index 7906085..463392a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Daniil Gentili "] 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" diff --git a/crates/macros/src/lib.rs b/crates/macros/src/lib.rs index e3151d6..d4ff4e2 100644 --- a/crates/macros/src/lib.rs +++ b/crates/macros/src/lib.rs @@ -42,7 +42,7 @@ fn parser(input: ItemImpl) -> Result { .collect::>>()?; let output = quote! { - #[::ext_php_rs::php_impl] + #[::nicelocal_ext_php_rs::php_impl] impl #self_ty { #(#tokens)* } diff --git a/src/borrow_unchecked.rs b/src/borrow_unchecked.rs index 7d1623c..0aeda1c 100644 --- a/src/borrow_unchecked.rs +++ b/src/borrow_unchecked.rs @@ -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)] diff --git a/src/event_loop.rs b/src/event_loop.rs index 5cfcce1..278bb09 100644 --- a/src/event_loop.rs +++ b/src/event_loop.rs @@ -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;