mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-10-01 09:48:03 +08:00
* feat(snapshot): add path diff API * feat(snapshot): expose path diff in clients and CLI * fix(snapshot): pin path diff to resolved commits * fix(snapshot): bound path diff resource usage * fix(snapshot): bound diff blob reads * fix(snapshot): harden path diff API * fix(snapshot): bound path diff resource usage * fix(build): sync native binding dependencies
35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "ragfs-python"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.91.1"
|
|
description = "Python bindings for RAGFS - Rust AGFS filesystem"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "ragfs_python"
|
|
# rlib is needed so `cargo test` can build a test binary that links against
|
|
# this crate's symbols. cdylib is what maturin packages as the Python .so.
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["extension-module", "s3", "cache-redis"]
|
|
extension-module = ["pyo3/extension-module"]
|
|
s3 = ["ragfs/s3"]
|
|
cache-redis = ["ragfs-cache-redis"]
|
|
|
|
[dependencies]
|
|
ragfs = { path = "../ragfs", features = ["cache"] }
|
|
ragfs-cache-redis = { path = "../ragfs-cache-redis", optional = true }
|
|
pyo3 = { version = "0.27", features = ["abi3", "abi3-py310"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde_json = "1.0"
|
|
serde = { version = "1", features = ["derive"] }
|
|
toml = "0.8"
|
|
gix-hash = "0.14"
|
|
bytes = "1.5"
|
|
similar = "3.1"
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("yuanrong-native", "mooncake-native"))'] }
|