Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
win-loop
Windowing (using winit1), nice input handling and frame-rate-independent game loop all wrapped up in a neat little package.
The game loop is based on https://gafferongames.com/post/fix_your_timestep.
Originally part of pix-win-loop, now moved to a separate crate.
Cargo features
The crate features rwh_04, rwh_05 and rwh_06 enable corresponding winit features.
By default winit has all its default features enabled except rwh_06, so you have to specify one of the rwhs in case you need them.
Note:
As of version 0.6, all of winit's features are disabled.
You can still enable rwh_NN directly from this crate's features. If you need to enable others, add something like:
[]
# ...
= { = "0.29", = [ ...whatever you need... ] }
to your Cargo.toml.
Warning
Crate versions 0.3 and lower might fail to compile on web because of a silly mistake. Should be fixed in 0.4.0.