GitHub user Xuanwo added a comment to the discussion: [Feature Request] Support 
creating operator from resource URI

Please correct me if I understand wrongly.

---

We already have 
[`Operator::from_map`](https://docs.rs/opendal/0.30.5/opendal/struct.Operator.html#method.from_map)
 which can be used like:

```rust
let options: HashMap<String, String>;

let op: Operator = Operator::from_map::<Fs>(map)?.finish();
```

And now we are trying to add something like:

```rust
let options: HashMap<String, String>;

let op: Operator = Operator::from_uri("s3://<bucket>/<path>", 
options)?.finish();
```

GitHub link: 
https://github.com/apache/incubator-opendal/discussions/1494#discussioncomment-5587047

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to