pub fn open_file(uri_str: &str) -> Result<Box<dyn BytesSource>>Expand description
Open a local file as a Box<dyn BytesSource>. Accepts:
- bare paths:
/abs/path,rel/path,Cargo.toml file:///abs/pathfile:relative
pub fn open_file(uri_str: &str) -> Result<Box<dyn BytesSource>>Open a local file as a Box<dyn BytesSource>. Accepts:
/abs/path, rel/path, Cargo.tomlfile:///abs/pathfile:relative