This service can be used to:
datafile: Set the path to the persy data file. The directory in the path must already exist.segment: Set the name of the persy segment.index: Set the name of the persy index.You can refer to [PersyBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_persy::Persy; #[tokio::main] async fn main() -> Result<()> { let mut builder = Persy::default() .datafile("./test.persy") .segment("data") .index("index"); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }