[PR #163] [MERGED] Rust binding with an easier to use API #313

Closed
opened 2026-10-26 09:48:35 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/3FS/pull/163
Author: @echaozh
Created: 3/13/2025
Status: ✅ Merged
Merged: 3/13/2025
Merged by: @echaozh

Base: main ← Head: echaozh/usrbio-rust-binding


📝 Commits (1)

  • 07f43be Rust binding with an easier to use API

📊 Changes

8 files changed (+512 additions, -21 deletions)

View changed files

📝 Cargo.lock (+190 -19)
📝 Cargo.toml (+3 -2)
📝 src/lib/api/CMakeLists.txt (+7 -0)
📝 src/lib/api/hf3fs_usrbio.h (+1 -0)
➕ src/lib/rs/hf3fs-usrbio-sys/Cargo.toml (+11 -0)
➕ src/lib/rs/hf3fs-usrbio-sys/README (+1 -0)
➕ src/lib/rs/hf3fs-usrbio-sys/build.rs (+20 -0)
➕ src/lib/rs/hf3fs-usrbio-sys/src/lib.rs (+279 -0)

📄 Description

Provides rustic binding for ior_create4(), which accepts the most args; and iov_wrap(), which is enough for rust with which it's easy to create and map shared mem blocks.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/3FS/pull/163 **Author:** [@echaozh](https://github.com/echaozh) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@echaozh](https://github.com/echaozh) **Base:** `main` ← **Head:** `echaozh/usrbio-rust-binding` --- ### 📝 Commits (1) - [`07f43be`](https://github.com/deepseek-ai/3FS/commit/07f43be8a720140a0ef657019d1b01221bfa1307) Rust binding with an easier to use API ### 📊 Changes **8 files changed** (+512 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+190 -19) 📝 `Cargo.toml` (+3 -2) 📝 `src/lib/api/CMakeLists.txt` (+7 -0) 📝 `src/lib/api/hf3fs_usrbio.h` (+1 -0) ➕ `src/lib/rs/hf3fs-usrbio-sys/Cargo.toml` (+11 -0) ➕ `src/lib/rs/hf3fs-usrbio-sys/README` (+1 -0) ➕ `src/lib/rs/hf3fs-usrbio-sys/build.rs` (+20 -0) ➕ `src/lib/rs/hf3fs-usrbio-sys/src/lib.rs` (+279 -0) </details> ### 📄 Description Provides rustic binding for `ior_create4()`, which accepts the most args; and `iov_wrap()`, which is enough for rust with which it's easy to create and map shared mem blocks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 09:48:35 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#313
No description provided.