Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't link to sapp-jsutils when we don't need to #1

Merged
merged 3 commits into from Aug 22, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -11,7 +11,7 @@ Plugin for macro-, mini-quad (quads) to do anything with url.
"""
readme="README.md"

[dependencies]
[target.'cfg(not(any(target_os = "linux", target_os = "windows", target_os = "macos", target_os = "android")))'.dependencies]
optozorax marked this conversation as resolved.
Show resolved Hide resolved
sapp-jsutils = "0.1.4"

[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos", target_os = "android"))'.dependencies]
Expand Down
6 changes: 6 additions & 0 deletions src/lib.rs
Expand Up @@ -23,6 +23,12 @@
//! ```
//! Done! Now you can use this crate.

#[cfg(not(any(
target_os = "linux",
target_os = "windows",
target_os = "macos",
target_os = "android"
)))]
#[allow(unused_imports)]
optozorax marked this conversation as resolved.
Show resolved Hide resolved
use sapp_jsutils::{JsObject, JsObjectWeak};

Expand Down