This service can be used to:
root: Set the work directory for backendbucket: Upyun bucket nameoperator Upyun operatorpassword Upyun passwordYou can refer to [UpyunBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_upyun::Upyun; #[tokio::main] async fn main() -> Result<()> { // create backend builder let mut builder = Upyun::default() // set the storage bucket for OpenDAL .root("/") // set the bucket for OpenDAL .bucket("test") // set the operator for OpenDAL .operator("xxxxxxxxxx") // set the password name for OpenDAL .password("opendal"); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }