mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-10-01 01:38:07 +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
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
|
|
[package]
|
|
name = "ragfs-python"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.91.1"
|
|
description = "Python bindings for RAGFS with explicit native cache providers"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "ragfs_python"
|
|
path = "../ragfs-python/src/lib.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
[features]
|
|
default = ["extension-module", "s3", "cache-redis"]
|
|
extension-module = ["pyo3/extension-module"]
|
|
s3 = ["ragfs/s3"]
|
|
cache-redis = ["ragfs-cache-redis"]
|
|
yuanrong-native = [
|
|
"ragfs-cache-yuanrong",
|
|
"ragfs-cache-yuanrong/yuanrong-native",
|
|
]
|
|
mooncake-native = [
|
|
"ragfs-cache-mooncake",
|
|
"ragfs-cache-mooncake/mooncake-native",
|
|
]
|
|
|
|
[dependencies]
|
|
ragfs = { path = "../ragfs", features = ["cache"] }
|
|
ragfs-cache-redis = { path = "../ragfs-cache-redis", optional = true }
|
|
ragfs-cache-yuanrong = { path = "../ragfs-cache-yuanrong", optional = true }
|
|
ragfs-cache-mooncake = { path = "../ragfs-cache-mooncake", 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"
|
|
similar = "3.1"
|