Skip to content

Commit

Permalink
docs: add license issue context
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchantey committed Dec 24, 2024
1 parent c675287 commit 88d04f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion crates/bevy_asset/src/http_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
/// ```
Expand Down
5 changes: 4 additions & 1 deletion examples/asset/http_source.rs
Original file line number Diff line number Diff line change
@@ -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"] }
//! ```
Expand Down

0 comments on commit 88d04f6

Please sign in to comment.