This service can be used to:
datadir: Set the path to the cacache data directoryYou can refer to [CacacheBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_cacache::Cacache; #[tokio::main] async fn main() -> Result<()> { let mut builder = Cacache::default().datadir("/tmp/opendal/cacache"); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }