Skip to content

Commit

Permalink
tell docs.rs to use all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
photovoltex committed Mar 15, 2024
1 parent 12934a4 commit 4a6e11c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ package.authors = ["photovoltex"]
package.repository = "https://github.com/photovoltex/tauri-interop.git"
package.license = "MIT OR Apache-2.0"

[package.metadata.docs.rs]
# see https://docs.rs/about/metadata for more options
all-features = true

[package]
edition.workspace = true
version.workspace = true
Expand Down Expand Up @@ -40,7 +44,7 @@ tauri = { version = "1.5", default-features = false, features = ["wry"] }

[target.'cfg(target_family = "wasm")'.dependencies]
#tauri-interop-macro = { path = "./tauri-interop-macro", features = ["_wasm"] }
tauri-interop-macro = { version = "2.0.0", features = [ "_wasm" ] }
tauri-interop-macro = { version = "2.0.1", features = [ "_wasm" ] }

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
tauri = "1.5"
Expand Down
4 changes: 4 additions & 0 deletions tauri-interop-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ license.workspace = true
name = "tauri-interop-macro"
description = "Macros for the tauri-interop crate."

[package.metadata.docs.rs]
# see https://docs.rs/about/metadata for more options
all-features = true

[lib]
proc-macro = true

Expand Down

0 comments on commit 4a6e11c

Please sign in to comment.