diff --git a/crates/bevy_asset/src/http_source.rs b/crates/bevy_asset/src/http_source.rs index 654a9b2cedd9e..a26eb8de6da31 100644 --- a/crates/bevy_asset/src/http_source.rs +++ b/crates/bevy_asset/src/http_source.rs @@ -8,7 +8,10 @@ use std::path::{Path, PathBuf}; /// Adds the `http` and `https` asset sources to the app. /// Any asset path that begins with `http` or `https` will be loaded from the web /// via `fetch`(wasm) or `ureq`(native). -/// Note that the use of secure `https` sources in non-wasm builds requires the following dependency: +/// +/// Due to [licensing complexities](https://github.com/briansmith/ring/issues/1827) +/// secure `https` requests are disabled by default in non-wasm builds. +/// To enable add this to your dependencies in Cargo.toml: /// ```toml /// ureq = { version = "*", features = ["tls"] } /// ``` diff --git a/examples/asset/http_source.rs b/examples/asset/http_source.rs index 5ff9c0d32aff7..811e7bc977bf2 100644 --- a/examples/asset/http_source.rs +++ b/examples/asset/http_source.rs @@ -1,5 +1,8 @@ //! Example usage of the `http` asset source to load assets from the web. -/// Note that the use of secure `https` sources in non-wasm builds requires the following dependency: +//! +//! Due to [licensing complexities](https://github.com/briansmith/ring/issues/1827) +//! secure `https` requests are disabled by default in non-wasm builds. +//! To enable add this to your dependencies in Cargo.toml: //! ```toml //! ureq = { version = "*", features = ["tls"] } //! ```