Skip to content

Commit

Permalink
fix(doc): Properly replace dox feature with docrs (#1047)
Browse files Browse the repository at this point in the history
* Update Cargo.toml

* Create dox-fix.md

* Relax javascriptcore version requirement
  • Loading branch information
dklassic authored Oct 26, 2023
1 parent 82908d4 commit c2e6980
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/dox-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wry": patch
---

Fix doc building by removing dox feature requirement from `webkit2gtk`.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories = [ "gui" ]

[package.metadata.docs.rs]
no-default-features = true
features = [ "tao", "file-drop", "protocol", "webkit2gtk/dox" ]
features = [ "tao", "file-drop", "protocol" ]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
Expand Down Expand Up @@ -50,7 +50,7 @@ http-range = "0.1.5"
base64 = "0.21"

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
javascriptcore-rs = { version = "=1.1.1", features = [ "v2_28" ] }
javascriptcore-rs = { version = "=1.1", features = [ "v2_28" ] }
webkit2gtk = { version = "=2.0", features = [ "v2_38" ] }
webkit2gtk-sys = "=2.0"
gtk = "0.18"
Expand Down

0 comments on commit c2e6980

Please sign in to comment.