diff --git a/Cargo.lock b/Cargo.lock index 1e8acb6..1d16992 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,12 +11,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "allocator-api2" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c880a97d28a3681c0267bd29cff89621202715b065127cd445fa0f0fe0aa2880" - [[package]] name = "anes" version = "0.1.6" @@ -704,7 +698,6 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" name = "sycl-rs" version = "0.1.0" dependencies = [ - "allocator-api2", "bytemuck", "criterion", "cxx", diff --git a/Cargo.toml b/Cargo.toml index b268118..2cfa3fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["oneapi-rs", "sycl/sycl-rs", "sycl/sycl-rs-derive", "sycl/sycl-rs-sys [workspace.package] edition = "2024" -rust-version = "1.85" +rust-version = "1.100" license = "MIT OR Apache-2.0" repository = "https://github.com/oneapi-src/oneapi-rs" homepage = "https://github.com/oneapi-src/oneapi-rs" diff --git a/sycl/sycl-rs/Cargo.toml b/sycl/sycl-rs/Cargo.toml index bf7e89f..24cac1a 100644 --- a/sycl/sycl-rs/Cargo.toml +++ b/sycl/sycl-rs/Cargo.toml @@ -20,7 +20,6 @@ repository.workspace = true homepage.workspace = true [dependencies] -allocator-api2 = "0.4.0" bytemuck = "1.25.2" cxx = "1.0.198" sycl-rs-sys = { version = "0.1.0", path = "../sycl-rs-sys" } diff --git a/sycl/sycl-rs/src/usm.rs b/sycl/sycl-rs/src/usm.rs index 04f1e69..0a11441 100644 --- a/sycl/sycl-rs/src/usm.rs +++ b/sycl/sycl-rs/src/usm.rs @@ -8,10 +8,13 @@ use crate::queue::Queue; -use allocator_api2::alloc::{AllocError, Allocator}; use sycl_rs_sys::usm::ffi; -use std::{alloc::Layout, marker::PhantomData, ptr::NonNull}; +use std::{ + alloc::{AllocError, Allocator, Layout}, + marker::PhantomData, + ptr::NonNull, +}; type CxxResult = cxx::core::result::Result;