Describe the bug
since 27a7810 "wry" is no optional dependency anymore
so either make it required or remove this dependency
To Reproduce
Steps to reproduce the behavior:
- clone latest
tauri-apps/tauri
cd core/tauri
- apply diff:
diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml
index bb89a38..c534afe 100644
--- a/core/tauri/Cargo.toml
+++ b/core/tauri/Cargo.toml
@@ -80,7 +80,7 @@ tokio-test = "0.4.1"
mockito = "0.30"
[features]
-default = [ "wry" ]
+default = []
dox = [ "tauri-runtime-wry/dox" ]
wry = [ "tauri-runtime-wry" ]
cli = [ "clap" ]
- exec
cargo test
Expected behavior
tests should pass
Error
Compiling tauri-macros v1.0.0-beta.1
error[E0412]: cannot find type `Wry` in the crate root
--> /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/tauri-1.0.0-beta.1/src/manager.rs:110:83
|
110 | Args<String, String, String, String, crate::api::assets::EmbeddedAssets, crate::Wry>;
| ^^^ not found in the crate root
error: aborting due to previous error
For more information about this error, try `rustc --explain E0412`.
Platform and Versions (please complete the following information):
OS: 5.12.2-artix1-1
Rustc: 1.52.1 (9bc8c42bb 2021-05-09)
Describe the bug
since 27a7810 "wry" is no optional dependency anymore
so either make it required or remove this dependency
To Reproduce
Steps to reproduce the behavior:
tauri-apps/tauricd core/tauricargo testExpected behavior
tests should pass
Error
Platform and Versions (please complete the following information):
OS: 5.12.2-artix1-1
Rustc: 1.52.1 (9bc8c42bb 2021-05-09)