Skip to content

Commit

Permalink
add rust doc args to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mriise committed Apr 29, 2023
1 parent 8bbfe8b commit 9474bf0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
37 changes: 27 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions transports/websys-webtransport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ web-sys = { version = "0.3.61", features = [
# More information: https://docs.rs/about/builds#cross-compiling
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "web_sys_unstable_apis"]
rustc-args = ["--cfg", "docsrs", "web_sys_unstable_apis"]
1 change: 1 addition & 0 deletions transports/websys-webtransport/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ impl Transport for WebTransportTransport {

let socket = WebTransport::new_with_options(&url, &options).map_err(|e| Error::JsError(format!("{e:?}")))?;

// TODO: auth connection
Ok(Connection::new(socket))
}.boxed())
}
Expand Down

0 comments on commit 9474bf0

Please sign in to comment.