Switch to nicelocal-ext-php-rs

This commit is contained in:
Daniil Gentili 2023-08-27 17:36:30 +02:00
parent 25e6dd3418
commit 6463423ada
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
4 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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)*
}

View File

@ -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)]

View File

@ -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;