Cargo Features

uni-app has no features set by default.

[dependencies]
uni-app = { version = "0.5.0", features = ["http"] }
http = bytes, reqwest

enable this on native targets to be able to read data from URL with Filesystem::open

Affects uni-app::fs

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bytes not wasm32 http?
reqwest not wasm32 http?

Enables reqwest ^0.11