Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[workspace]
resolver = "3"
members = ["oneapi-rs", "oneapi-rs-derive","oneapi-rs-sys"]
members = ["oneapi-rs", "oneapi-rs-derive", "oneapi-rs-sys"]

[workspace.package]
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
repository = "https://github.com/oneapi-src/oneapi-rs"
homepage = "https://github.com/oneapi-src/oneapi-rs"
10 changes: 9 additions & 1 deletion oneapi-rs-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "oneapi-rs-derive"
version = "0.1.0"
edition = "2024"
description = "Internal procedural macros for oneapi-rs"
publish = ["crates-io"]

# Inherit settings from the root workspace
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true

[lib]
proc-macro = true
Expand Down
11 changes: 9 additions & 2 deletions oneapi-rs-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
[package]
name = "oneapi-rs-sys"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "Internal SYCL FFI implementation for oneapi-rs"
publish = ["crates-io"]

# Inherit settings from the root workspace
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true

[dependencies]
cxx = "1.0.194"
Expand Down
22 changes: 18 additions & 4 deletions oneapi-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
[package]
name = "oneapi-rs"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "Rust bindings for SYCL"
documentation = "https://docs.rs/oneapi-rs"
keywords = ["oneapi", "sycl", "gpu", "oneapi"]
categories = [
"api-bindings",
"hardware-support",
"memory-management",
"science"]
publish = ["crates-io"]

# Inherit settings from the root workspace
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true

[dependencies]
allocator-api2 = "0.4.0"
bytemuck = "1.25.1"
cxx = "1.0.194"
oneapi-rs-sys = { path = "../oneapi-rs-sys" }
oneapi-rs-derive = { path = "../oneapi-rs-derive" }
oneapi-rs-sys = { version = "0.1.0", path = "../oneapi-rs-sys" }
oneapi-rs-derive = { version = "0.1.0", path = "../oneapi-rs-derive" }
pin-project = "1.1.13"
thiserror = "2.0.18"

Expand Down