Files
OpenViking/crates/ragfs-python/Cargo.toml
T
baojun-zhang df1557901e feat(ragfs): add structured lock tracing logs (#3693)
* feat(ragfs): add structured lock tracing logs

* feat(ragfs): add log async writer

* fix(ragfs): add CRITICAL trans && add rust hook to receive rotate log file
2026-08-03 15:58:55 +08:00

38 lines
1.1 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"] }
tracing = "0.1"
tracing-appender = "0.2"
tracing-subscriber = { version = "0.3", features = ["fmt"] }
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"))'] }