bindings: provide nicer "just use an fd/file" API
まだ誰も着手していません。
評価
調査の方向性
The issue identifies both bindings but gives no file or test paths. Start by locating the binding APIs that convert file objects into Handle and the existing HandleRef/RootRef types; check how both bindings expose those conversions. Done means callers can use file objects directly in both bindings without cloning, with tests covering the new API.
索引モデルが issue の本文から書いたものです。
説明
At the moment, you need to convert any file objects into Handle in both of our bindings, which (while providing nice type-safety) makes it a little ugly to do basic stuff with libpathrs. Ideally we would have something akin to HandleRef/RootRef to avoid needing clone as well.
- 主要言語
- Rust
- スター
- 146
- フォーク
- 12
- 平均マージ
- 6日 10時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cyphar/libpathrs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Rust API: a path component with an interior NUL byte is silently truncated instead of rejected対応中かも @cyphar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 18/100
-
rust tests
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
api/procfs linux/upstream
難易度 4/5 3〜5日 初心者へのやさしさ 44/100
-
api/cffi bindings/go bindings/python ideas welcome
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cyphar/libpathrs の issue をすべて見る
似ている issue
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authenticationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
-
core: Amount::from_str panics on values above 21M BTC instead of returning an error対応中かも @bhuvan-somisetty が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
crate: spate-s3
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
write_iceberg ignores the table's write.parquet.compression-codec property対応中かも @YuangGao が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Eventual-Inc/Daft#7606 ·
メンテナーはふだん 1 日以内に返信