Skip to content

Commit

Permalink
misc. fixes and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Feb 4, 2025
1 parent 22aa662 commit c49db4a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ data = ["hash"]
lang = []
media = ["audio", "color", "draw", "font", "image", "midi"]
audio = ["sdl2?/mixer"]
draw = ["sdl2?/gfx", "sdl3?/gfx"]
draw = ["sdl2?/gfx"] # "sdl3?/gfx"
color = []
font = ["sdl2?/ttf"]
image = ["sdl2?/image"]
Expand Down Expand Up @@ -636,7 +636,7 @@ features = ["alloc_uninit", "align_offset", "min_const_generics", "must_cast",
"zeroable_maybe_uninit"]

[dependencies.const-str] # https://crates.io/crates/const-str
version = "0.6.1" # ✗ https://github.com/Nugine/const-str/commits/main/
version = "0.6.2" # ✗ https://github.com/Nugine/const-str/commits/main/
optional = true # unsafe
default-features = false # 8 https://docs.rs/crate/const-str/latest/features

Expand Down Expand Up @@ -761,7 +761,7 @@ default-features = false # 11 https://docs.rs/crate/portable-atomic/latest/featu
# https://docs.rs/portable-atomic/1.10.0/portable_atomic/#optional-features
features = ["fallback", "float"]
# feature-gated: serde
# maybe: require-cas,
# feature-maybe: require-cas

[dependencies.pyo3] # https://crates.io/crates/pyo3
version = "0.23.4" # ✓ https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md
Expand All @@ -776,7 +776,7 @@ features = [] # https://docs.rs/pyo3/latest/pyo3/#feature-flags
version = "0.9" # ✓ https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md
optional = true # safe
default-features = false # 5 https://docs.rs/crate/rand_core/latest/features
# depends on syn, via zerocopy
# NOTE: depends on syn, via zerocopy

[dependencies.rayon] # https://crates.io/crates/rayon
version = "1.10" # ✗ https://github.com/rayon-rs/rayon/commits/main/
Expand Down
8 changes: 5 additions & 3 deletions src/ui/service/miniquad/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
use crate::{Box, MiniquadRenderingBackend, String, Vec};
#[cfg(feature = "std")]
use ::miniquad::window::dropped_file_path;
#[cfg(any(target_os = "windows", target_os = "linux"))]
use ::miniquad::window::get_window_position;
use ::miniquad::window::{
blocking_event_loop, cancel_quit, clipboard_get, clipboard_set, dpi_scale, dropped_file_bytes,
dropped_file_count, get_window_position, high_dpi, new_rendering_backend, order_quit,
request_quit, schedule_update, screen_size, set_cursor_grab, set_fullscreen, set_mouse_cursor,
set_window_position, set_window_size, show_keyboard, show_mouse,
dropped_file_count, high_dpi, new_rendering_backend, order_quit, request_quit, schedule_update,
screen_size, set_cursor_grab, set_fullscreen, set_mouse_cursor, set_window_position,
set_window_size, show_keyboard, show_mouse,
};
use ::miniquad::CursorIcon;

Expand Down
2 changes: 2 additions & 0 deletions utils/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ const DEP_NO_CROSS_COMPILE_EVER: &[&str] = &[
"dep_ring",
// - https://docs.rs/safe_arch/latest/safe_arch/#current-support
"dep_safe_arch",
// (experimental)
"dep_sdl3",
// WAIT: [x86_64-pc-windows-msvc](https://github.com/ashvardanian/StringZilla/pull/169)
"dep_stringzilla",
];
Expand Down

0 comments on commit c49db4a

Please sign in to comment.