[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"