🎨 Procedurally generate 2D sprites

Overview

CI

sprite (Executable)

Cargo License: GPL-3.0 Downloads

Run

On Linux you need the gtk-rs dependencies to compile:

cargo install sprite
sprite

This should produce the following window:

Sprite

sprite-gen (Library)

A Rust library for procedurally generating 2D sprites. Port of https://github.com/zfedoran/pixel-sprite-generator

Cargo License: GPL-3.0 Downloads

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
sprite-gen = "0.2"

And this to your crate root:

extern crate sprite_gen;

Run the example

On Linux you need the xorg-dev package as required by minifb -- sudo apt install xorg-dev

cargo run --example minifb

This should produce the following window:

Example

Comments
  • Update minifb requirement from 0.17.0 to 0.19.0

    Update minifb requirement from 0.17.0 to 0.19.0

    Updates the requirements on minifb to permit the latest version.

    Changelog

    Sourced from minifb's changelog.

    Changelog

    This project follows semantic versioning.

    v0.19 (2020-09-16)

    • [added] Added char_callback example on how to capture data.
    • [added] Support for topmost on Windows (Thanks phillvancejr!)
    • [fixed] ARM (Raspberry Pi) now builds and runs. (Thanks derpeter!)
    • [changed] Removed a bunch of dependencies not needed anymore (Thanks RazrFalcon!)

    v0.18 (2020-08-14)

    • [fixed] get_released_keys wasn't working under Wayland.

    v0.17 (2020-07-09)

    • [changed] unix renamed to posix. (Thanks LoganDark)
    • [changed] bunch of Linux/x11 fixes by Antonino Siena. Such as Transparency support, Borderless, Cursor Visibility. Thanks!
    • [changed] use std::ptr::null_mut() to Windows PeekMessageW it fix alt-tab stall on Window 7. Thanks lynnux for the report!
    • [added] Implemented std::error::Error for minifb::Error. (Thanks Christofer Nolander!)

    v0.16 (2020-04-05)

    • [added] Wayland support. (Big thanks to Antonino Siena add this support with assistance by Cole Helbling!)
    • [added] Added get_released_keys (Thanks to Alex Melville!)
    • [added] Added Topmost/Always on Top functionality to macOS (Thanks phillvancejr!)
    • [fixed] Removed left over logging on macOS (Thanks phillvancejr!)

    v0.15.3 (2020-01-21)

    • [Added] On macOS NSView (MTKView) is supplied with raw_window_handle now

    v0.15.2 (2020-01-21)

    • [fixed] Fixed forever block on macOS when using update and not update_with_buffer

    v0.15.1 (2019-12-27)

    • [fixed] Fixed access to raw_window_handle()

    v0.15 (2019-12-16)

    • [API BREAKAGE] - update_with_buffer now always take width and height parameters.
    • [added] scale_mode in WindowOptions now allow for aspect correct scaling, center of non-scaled buffers and more.
    • [added] Added limit_update_rate(..) in order to reduce CPU usage and not hammer the native system calls.
    • [changed] x11 now uses C for it's scaling in software mode in order to always have opts on even in debug build.
    • [changed] Several fixes with rescaling on all platforms
    • [changed] on x11 some window mangers will resize a non-resizable windows and minifb handles this now correctly.
    • [fixed] Cursor was behaving bad on Windows. This has now been fixed
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Update minifb requirement from 0.17.0 to 0.18.0

    Update minifb requirement from 0.17.0 to 0.18.0

    Updates the requirements on minifb to permit the latest version.

    Changelog

    Sourced from minifb's changelog.

    Changelog

    This project follows semantic versioning.

    v0.18 (2020-08-14)

    • [fixed] get_released_keys wasn't working under Wayland.

    v0.17 (2020-07-09)

    • [changed] unix renamed to posix. (Thanks LoganDark)
    • [changed] bunch of Linux/x11 fixes by Antonino Siena. Such as Transparency support, Borderless, Cursor Visibility. Thanks!
    • [changed] use std::ptr::null_mut() to Windows PeekMessageW it fix alt-tab stall on Window 7. Thanks lynnux for the report!
    • [added] Implemented std::error::Error for minifb::Error. (Thanks Christofer Nolander!)

    v0.16 (2020-04-05)

    • [added] Wayland support. (Big thanks to Antonino Siena add this support with assistance by Cole Helbling!)
    • [added] Added get_released_keys (Thanks to Alex Melville!)
    • [added] Added Topmost/Always on Top functionality to macOS (Thanks phillvancejr!)
    • [fixed] Removed left over logging on macOS (Thanks phillvancejr!)

    v0.15.3 (2020-01-21)

    • [Added] On macOS NSView (MTKView) is supplied with raw_window_handle now

    v0.15.2 (2020-01-21)

    • [fixed] Fixed forever block on macOS when using update and not update_with_buffer

    v0.15.1 (2019-12-27)

    • [fixed] Fixed access to raw_window_handle()

    v0.15 (2019-12-16)

    • [API BREAKAGE] - update_with_buffer now always take width and height parameters.
    • [added] scale_mode in WindowOptions now allow for aspect correct scaling, center of non-scaled buffers and more.
    • [added] Added limit_update_rate(..) in order to reduce CPU usage and not hammer the native system calls.
    • [changed] x11 now uses C for it's scaling in software mode in order to always have opts on even in debug build.
    • [changed] Several fixes with rescaling on all platforms
    • [changed] on x11 some window mangers will resize a non-resizable windows and minifb handles this now correctly.
    • [fixed] Cursor was behaving bad on Windows. This has now been fixed
    • [known issues] There are some flickering and various issues when resizing on most platforms. PRs/ideas welcome for this.

    v0.14 (2019-12-03)

    • [changed] Deprecated update_with_buffer on favor of update_with_buffer_size. The idea is that a size in of the buffer will be more robust and allow for aspect scaling as well.
    • [changed] Improved macOS resizing support.
    • [changed] Better modifier handling on macOS.
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Update minifb requirement from 0.15.3 to 0.16.0

    Update minifb requirement from 0.15.3 to 0.16.0

    Updates the requirements on minifb to permit the latest version.

    Changelog

    Sourced from minifb's changelog.

    Changelog

    This project follows semantic versioning.

    v0.16 (2020-04-05)

    • [added] Wayland support. (Big thanks to Antonino Siena add this support with assistance by Cole Helbling!)
    • [added] Added get_released_keys (Thanks to Alex Melville!)
    • [added] Added Topmost/Always on Top functionality to macOS (Thanks phillvancejr!)
    • [fixed] Removed left over logging on macOS (Thanks phillvancejr!)

    v0.15.3 (2020-01-21)

    • [Added] On macOS NSView (MTKView) is supplied with raw_window_handle now

    v0.15.2 (2020-01-21)

    • [fixed] Fixed forever block on macOS when using update and not update_with_buffer

    v0.15.1 (2019-12-27)

    • [fixed] Fixed access to raw_window_handle()

    v0.15 (2019-12-16)

    • [API BREAKAGE] - update_with_buffer now always take width and height parameters.
    • [added] scale_mode in WindowOptions now allow for aspect correct scaling, center of non-scaled buffers and more.
    • [added] Added limit_update_rate(..) in order to reduce CPU usage and not hammer the native system calls.
    • [changed] x11 now uses C for it's scaling in software mode in order to always have opts on even in debug build.
    • [changed] Several fixes with rescaling on all platforms
    • [changed] on x11 some window mangers will resize a non-resizable windows and minifb handles this now correctly.
    • [fixed] Cursor was behaving bad on Windows. This has now been fixed
    • [known issues] There are some flickering and various issues when resizing on most platforms. PRs/ideas welcome for this.

    v0.14 (2019-12-03)

    • [changed] Deprecated update_with_buffer on favor of update_with_buffer_size. The idea is that a size in of the buffer will be more robust and allow for aspect scaling as well.
    • [changed] Improved macOS resizing support.
    • [changed] Better modifier handling on macOS.
    • [changed] Moved CI over to Github Actions
    • [changed] Formatted all code with rustfmt
    • [changed] Documentation improvments (Thanks Gary Guo & Arif Roktim!)
    • [fixed] 'attempt to subtract with overflow' bug (Thanks Venceslas!)
    • [fixed] Window close handling & missing Alt keys for X11 (Thanks Gary Guo!)
    • [added] Juila example added (Thanks mishazawa!)
    • [added] Add support for raspberry pi (Thanks Florian Blasius!)
    • [added] Added support for raw-window-handle trait

    v0.13 (2019-08-30)

    ... (truncated)
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Update minifb requirement from 0.14 to 0.15

    Update minifb requirement from 0.14 to 0.15

    Updates the requirements on minifb to permit the latest version.

    Changelog

    Sourced from minifb's changelog.

    Changelog

    This project follows semantic versioning.

    v0.15 (2019-12-16)

    • [API BREAKAGE] - update_with_buffer now always take width and height parameters.
    • [added] scale_mode in WindowOptions now allow for aspect correct scaling, center of non-scaled buffers and more.
    • [added] Added limit_update_rate(..) in order to reduce CPU usage and not hammer the native system calls.
    • [changed] x11 now uses C for it's scaling in software mode in order to always have opts on even in debug build.
    • [changed] Several fixes with rescaling on all platforms
    • [changed] on x11 some window mangers will resize a non-resizable windows and minifb handles this now correctly.
    • [fixed] Cursor was behaving bad on Windows. This has now been fixed
    • [known issues] There are some flickering and various issues when resizing on most platforms. PRs/ideas welcome for this.

    v0.14 (2019-12-03)

    • [changed] Deprecated update_with_buffer on favor of update_with_buffer_size. The idea is that a size in of the buffer will be more robust and allow for aspect scaling as well.
    • [changed] Improved macOS resizing support.
    • [changed] Better modifier handling on macOS.
    • [changed] Moved CI over to Github Actions
    • [changed] Formatted all code with rustfmt
    • [changed] Documentation improvments (Thanks Gary Guo & Arif Roktim!)
    • [fixed] 'attempt to subtract with overflow' bug (Thanks Venceslas!)
    • [fixed] Window close handling & missing Alt keys for X11 (Thanks Gary Guo!)
    • [added] Juila example added (Thanks mishazawa!)
    • [added] Add support for raspberry pi (Thanks Florian Blasius!)
    • [added] Added support for raw-window-handle trait

    v0.13 (2019-08-30)

    • [changed] unix: replaced scale functions with macro and added missing invocations (Thanks Johannes Stölp!)

    v0.12 (2019-07-21)

    • [changed] Linux/Unix backend rewritten in Rust (thanks Chris West!)
    • [changed] WinAPI updated to 0.3 (Thanks Richard Hozák!)
    • [changed] Bump orbclient to 0.3.20 on Redox, remove alpha handling hacks (Thanks Nagy Tibor!)

    v0.11.2 (2018-12-19)

    • [added] Window.is_key_released

    v0.11.1 (2018-11-13)

    • [fixed] Fixed bad window size in menu example

    v0.11 (2018-10-23)

    • [changed] macOS now uses Metal for rendering the buffer.
    ... (truncated)
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Update rand requirement from 0.4 to 0.7

    Update rand requirement from 0.4 to 0.7

    Updates the requirements on rand to permit the latest version.

    Changelog

    Sourced from rand's changelog.

    [0.7.0] - 2019-06-28

    Fixes

    • Fix incorrect pointer usages revealed by Miri testing (#780, #781)
    • Fix (tiny!) bias in Uniform for 8- and 16-bit ints (#809)

    Crate

    • Bumped MSRV (min supported Rust version) to 1.32.0
    • Updated to Rust Edition 2018 (#823, #824)
    • Removed dependence on rand_xorshift, rand_isaac, rand_jitter crates (#759, #765)
    • Remove dependency on winapi (#724)
    • Removed all build.rs files (#824)
    • Removed code already deprecated in version 0.6 (#757)
    • Removed the serde1 feature (It's still available for backwards compatibility, but it does not do anything. #830)
    • Many documentation changes

    rand_core

    • Updated to rand_core 0.5.0
    • Error type redesigned with new API (#800)
    • Move from_entropy method to SeedableRng and remove FromEntropy (#800)
    • SeedableRng::from_rng is now expected to be value-stable (#815)

    Standard RNGs

    • OS interface moved from rand_os to new getrandom crate (#765, getrandom)
    • Use ChaCha for StdRng and ThreadRng (#792)
    • Feature-gate SmallRng (#792)
    • ThreadRng now supports Copy (#758)
    • Deprecated EntropyRng (#765)
    • Enable fork protection of ReseedingRng without std (#724)

    Distributions

    • Many distributions have been moved to rand_distr (#761)
    • Bernoulli::new constructor now returns a Result (#803)
    • Distribution::sample_iter adjusted for more flexibility (#758)
    • Added distributions::weighted::alias_method::WeightedIndex for O(1) sampling (#692)
    • Support sampling NonZeroU* types with the Standard distribution (#728)
    • Optimised Binomial distribution sampling (#735, #740, #752)
    • Optimised SIMD float sampling (#739)

    Sequences

    • Make results portable across 32- and 64-bit by using u32 samples for usize where possible (#809)

    [0.6.5] - 2019-01-28

    Crates

    • Update rand_core to 0.4 (#703)
    • Move JitterRng to its own crate (#685)
    • Add a wasm-bindgen test crate (#696)

    Platforms

    • Fuchsia: Replaced fuchsia-zircon with fuchsia-cprng
    ... (truncated)
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 1
  • Update rand requirement from 0.4 to 0.6

    Update rand requirement from 0.4 to 0.6

    Updates the requirements on rand to permit the latest version.

    Changelog

    Sourced from rand's changelog.

    [0.6.5] - 2019-01-28

    Crates

    • Update rand_core to 0.4 (#703)
    • Move JitterRng to its own crate (#685)
    • Add a wasm-bindgen test crate (#696)

    Platforms

    • Fuchsia: Replaced fuchsia-zircon with fuchsia-cprng

    Doc

    • Use RFC 1946 for doc links (#691)
    • Fix some doc links and notes (#711)

    [0.6.4] - 2019-01-08

    Fixes

    • Move wasm-bindgen shims to correct crate (#686)
    • Make wasm32-unknown-unknown compile but fail at run-time if missing bindingsg (#686)

    [0.6.3] - 2019-01-04

    Fixes

    • Make the std feature require the optional rand_os dependency (#675)
    • Re-export the optional WASM dependencies of rand_os from rand to avoid breakage (#674)

    [0.6.2] - 2019-01-04

    Additions

    • Add Default for ThreadRng (#657)
    • Move rngs::OsRng to rand_os sub-crate; clean up code; use as dependency (#643) ##BLOCKER##
    • Add rand_xoshiro sub-crate, plus benchmarks (#642, #668)

    Fixes

    • Fix bias in UniformInt::sample_single (#662)
    • Use autocfg instead of rustc_version for rustc version detection (#664)
    • Disable i128 and u128 if the target_os is emscripten (#671: work-around Emscripten limitation)
    • CI fixes (#660, #671)

    Optimisations

    • Optimise memory usage of UnitCircle and UnitSphereSurface distributions (no PR)

    [0.6.1] - 2018-11-22

    • Support sampling Duration also for no_std (only since Rust 1.25) (#649)
    • Disable default features of libc (#647)

    [0.6.0] - 2018-11-14

    Project organisation

    ... (truncated)
    Commits
    • a8dc9ad Merge pull request #714 from dhardy/master
    • 625411c Update changelog for 0.6.5
    • 76acffe Merge pull request #712 from erickt/master
    • 351edce Merge pull request #711 from dhardy/master
    • 1d0d26c Bump version, and document fuchsia_cprng change
    • 9ffaeb7 Add rustdoc logo/root link config to sub-crates
    • ec13800 Travis: allow failure of Android test
    • b22b637 Fix external links in SmallRng documentation
    • 6ce5f81 Add links to the crate pages for the rngs mentioned in StdRng docs
    • See full diff in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 1
  • Update Rust crate serde to 1.0.147

    Update Rust crate serde to 1.0.147

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | serde (source) | dependencies | patch | 1.0.111 -> 1.0.147 |


    Release Notes

    serde-rs/serde

    v1.0.147

    Compare Source

    • Add serde::de::value::EnumAccessDeserializer which transforms an EnumAccess into a Deserializer (#​2305)

    v1.0.146

    Compare Source

    v1.0.145

    Compare Source

    v1.0.144

    Compare Source

    • Change atomic ordering used by Serialize impl of atomic types to match ordering used by Debug impl of those same types (#​2263, thanks @​taiki-e)

    v1.0.143

    Compare Source

    • Invert build.rs cfgs in serde_test to produce the most modern configuration in the default case (#​2253, thanks @​taiki-e)

    v1.0.142

    Compare Source

    • Add keywords to crates.io metadata

    v1.0.141

    Compare Source

    • Add no-std category to crates.io metadata

    v1.0.140

    Compare Source

    • Invert serde_derive cfgs to convenience non-Cargo builds on a modern toolchain (#​2251, thanks @​taiki-e)

    v1.0.139

    Compare Source

    • Add new constructor function for all IntoDeserializer impls (#​2246)

    v1.0.138

    Compare Source

    • Documentation improvements

    v1.0.137

    Compare Source

    • Update documentation links to some data formats whose repos have moved (#​2201, thanks @​atouchet)
    • Fix declared rust-version of serde and serde_test (#​2168)

    v1.0.136

    Compare Source

    • Improve default error message when Visitor fails to deserialize a u128 or i128 (#​2167)

    v1.0.135

    Compare Source

    • Update discord channels listed in readme

    v1.0.134

    Compare Source

    • Improve error messages on deserializing NonZero integers from a 0 value (#​2158)

    v1.0.133

    Compare Source

    • Optimize deserialization of data structures that contain recursive use of flatten fields or tag or untagged enums (#​2148)

    v1.0.132

    Compare Source

    • Enable Serialize and Deserialize impls for std::sync::atomic::{AtomicI64, AtomicU64} on riscv64 arch (#​2141, thanks @​Avimitin)

    v1.0.131

    Compare Source

    • Avoid unused_results being triggered in generated code for adjacently tagged enum (#​2116, thanks @​tyranron)

    v1.0.130

    Compare Source

    • Provide MapAccess and SeqAccess impl for reference to a dynamically sized existing impl (#​2081)

    v1.0.129

    Compare Source

    v1.0.128

    Compare Source

    v1.0.127

    Compare Source

    • Resolve warning in rustc nightly-2021-07-31+ compiling serde_test

    v1.0.126

    Compare Source

    • Resolve conflict with forbid(future_incompatible) lint setting in generated code (#​2026, thanks @​hyd-dev)

    v1.0.125

    Compare Source

    v1.0.124

    Compare Source

    • Fix possible panic deserializing invalid data as SystemTime (#​1997, thanks @​cyang1)

    v1.0.123

    Compare Source

    • Support Self keywords in fields of types that derive Deserialize (#​1830, thanks @​taiki-e)
    • Allow floats to be deserialized from ints in tagged unions (#​1842, thanks @​Timmmm)
    • Support Self inside fields that use serialize_with (#​1970)

    v1.0.122

    Compare Source

    • Add IntoDeserializer impl for &[u8] (#​1898, thanks @​Mingun)

    • Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (#​1914, thanks @​Mingun)

    • Add attribute to override default deserialization failure expectation message (#​1916, thanks @​Mingun)

      #[derive(Deserialize)]
      #[serde(untagged, expecting = "single version or array of versions")]
      struct VersionSpec {
          One(Version),
          Many(Vec<Version>),
      }
      
    • Improve serde_test handling of map entries and error message construction (#​1918, thanks @​Mingun)

    • Produce more accurate location information on test failures from serde_test crate (#​1920, thanks @​Mingun)

    • Improve diagnostic on failure to parse a rename_all attribute (#​1960, #​1961)

    • Eliminate unnecessary trait bounds on some value Deserializer impls (#​1963)

    v1.0.121

    Compare Source

    • Support borrowed data during deserialization of a field identifier (#​1917, thanks @​Mingun)
    • Fix panic when deserializing Duration with nanoseconds that cause the seconds counter to overflow (#​1958, thanks @​jonasbb)

    v1.0.120

    Compare Source

    • Fix deserialization of ignored fields containing 128-bit integer (#​1955, thanks @​TheJokr)

    v1.0.119

    Compare Source

    v1.0.118

    Compare Source

    v1.0.117

    Compare Source

    v1.0.116

    Compare Source

    • Fix deserialization of IpAddr, SocketAddr, Bound, Result, OsString in formats which process variant identifiers as u64 (#​1888, thanks @​joshtriplett)

    v1.0.115

    Compare Source

    • Support #[serde(flatten)] on a field whose type is a type parameter and concrete type is () (#​1873)

    v1.0.114

    Compare Source

    • Improve packed repr matching to support deriving Serialize for structs having repr(C, packed) (#​1813, thanks @​TannerRogalsky)

    v1.0.113

    Compare Source

    v1.0.112

    Compare Source

    • Support serde(flatten) on map types where the Serializer only works with serialize_entry (#​1837)

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Configure Renovate

    Configure Renovate

    Mend Renovate

    Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

    🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


    Detected Package Files

    • Cargo.toml (cargo)
    • lib/Cargo.toml (cargo)
    • .github/workflows/rust.yml (github-actions)

    Configuration Summary

    Based on the default config's presets, Renovate will:

    • Start dependency updates only once this onboarding PR is merged
    • Enable Renovate Dependency Dashboard creation.
    • If Renovate detects semantic commits, it will use semantic commit type fix for dependencies and chore for all others.
    • Ignore node_modules, bower_components, vendor and various test/tests directories.
    • Autodetect whether to pin dependencies or maintain ranges.
    • Rate limit PR creation to a maximum of two per hour.
    • Limit to maximum 10 open PRs at any time.
    • Group known monorepo packages together.
    • Use curated list of recommended non-monorepo package groupings.
    • A collection of workarounds for known problems with packages.

    🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the renovate.json in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs.


    What to Expect

    With your current configuration, Renovate will create 14 Pull Requests:

    Update Rust crate anyhow to 1.0.61
    • Schedule: ["at any time"]
    • Branch name: renovate/anyhow-1.x
    • Merge into: master
    • Upgrade anyhow to 1.0.61
    Update Rust crate criterion to 0.3.6
    • Schedule: ["at any time"]
    • Branch name: renovate/criterion-0.x
    • Merge into: master
    • Upgrade criterion to 0.3.6
    Update Rust crate itertools to 0.10.3
    • Schedule: ["at any time"]
    • Branch name: renovate/itertools-0.x
    • Merge into: master
    • Upgrade itertools to 0.10.3
    Update Rust crate rand to 0.8.5
    • Schedule: ["at any time"]
    • Branch name: renovate/rand-0.x
    • Merge into: master
    • Upgrade rand to 0.8.5
    Update Rust crate serde to 1.0.143
    • Schedule: ["at any time"]
    • Branch name: renovate/serde-1.x
    • Merge into: master
    • Upgrade serde to 1.0.143
    Update Rust crate bincode to 1.3.3
    • Schedule: ["at any time"]
    • Branch name: renovate/bincode-1.x
    • Merge into: master
    • Upgrade bincode to 1.3.3
    Update Rust crate druid to 0.7.0
    • Schedule: ["at any time"]
    • Branch name: renovate/druid-0.x
    • Merge into: master
    • Upgrade druid to 0.7.0
    Update Rust crate minifb to 0.23.0
    • Schedule: ["at any time"]
    • Branch name: renovate/minifb-0.x
    • Merge into: master
    • Upgrade minifb to 0.23.0
    Update actions/checkout action to v3
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-checkout-3.x
    • Merge into: master
    • Upgrade actions/checkout to v3
    Update actions/download-artifact action to v3
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-download-artifact-3.x
    • Merge into: master
    • Upgrade actions/download-artifact to v3
    Update actions/setup-dotnet action to v2
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-setup-dotnet-2.x
    • Merge into: master
    • Upgrade actions/setup-dotnet to v2
    Update actions/setup-node action to v3
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-setup-node-3.x
    • Merge into: master
    • Upgrade actions/setup-node to v3
    Update actions/setup-python action to v4
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-setup-python-4.x
    • Merge into: master
    • Upgrade actions/setup-python to v4
    Update actions/upload-artifact action to v3
    • Schedule: ["at any time"]
    • Branch name: renovate/actions-upload-artifact-3.x
    • Merge into: master
    • Upgrade actions/upload-artifact to v3

    🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or spam the project. See docs for prhourlylimit for details.


    ❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section. If you need any further assistance then you can also request help here.


    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update itertools requirement from 0.9.0 to 0.10.0

    Update itertools requirement from 0.9.0 to 0.10.0

    Updates the requirements on itertools to permit the latest version.

    Changelog

    Sourced from itertools's changelog.

    0.10.0

    • Increase minimum supported Rust version to 1.32.0
    • Improve macro hygiene (#507)
    • Add Itertools::powerset (#335)
    • Add Itertools::sorted_unstable, Itertools::sorted_unstable_by, and Itertools::sorted_unstable_by_key (#494)
    • Implement Error for ExactlyOneError (#484)
    • Undeprecate Itertools::fold_while (#476)
    • Tuple-related adapters work for tuples of arity up to 12 (#475)
    • use_alloc feature for users who have alloc, but not std (#474)
    • Add Itertools::k_smallest (#473)
    • Add Itertools::into_grouping_map and GroupingMap (#465)
    • Add Itertools::into_grouping_map_by and GroupingMapBy (#465)
    • Add Itertools::counts (#468)
    • Add implementation of DoubleEndedIterator for Unique (#442)
    • Add implementation of DoubleEndedIterator for UniqueBy (#442)
    • Add implementation of DoubleEndedIterator for Zip (#346)
    • Add Itertools::multipeek (#435)
    • Add Itertools::dedup_with_count and DedupWithCount (#423)
    • Add Itertools::dedup_by_with_count and DedupByWithCount (#423)
    • Add Itertools::intersperse_with and IntersperseWith (#381)
    • Add Itertools::filter_ok and FilterOk (#377)
    • Add Itertools::filter_map_ok and FilterMapOk (#377)
    • Deprecate Itertools::fold_results, use Itertools::fold_ok instead (#377)
    • Deprecate Itertools::map_results, use Itertools::map_ok instead (#377)
    • Deprecate FoldResults, use FoldOk instead (#377)
    • Deprecate MapResults, use MapOk instead (#377)
    • Add Itertools::circular_tuple_windows and CircularTupleWindows (#350)
    • Add peek_nth and PeekNth (#303)

    0.9.0

    • Fix potential overflow in MergeJoinBy::size_hint (#385)
    • Add derive(Clone) where possible (#382)
    • Add try_collect method (#394)
    • Add HomogeneousTuple trait (#389)
    • Fix combinations(0) and combinations_with_replacement(0) (#383)
    • Don't require ParitalEq to the Item of DedupBy (#397)
    • Implement missing specializations on the PutBack adaptor and on the MergeJoinBy iterator (#372)
    • Add position_* methods (#412)
    • Derive Hash for EitherOrBoth (#417)
    • Increase minimum supported Rust version to 1.32.0

    0.8.2

    0.8.1

    • Added a .exactly_one() iterator method that, on success, extracts the single value of an iterator ; by @Xaeroxe
    • Added combinatory iterator adaptors:
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 0
  • Update rand requirement from 0.7.3 to 0.8.0

    Update rand requirement from 0.7.3 to 0.8.0

    Updates the requirements on rand to permit the latest version.

    Changelog

    Sourced from rand's changelog.

    [0.8.0] - 2020-12-18

    Platform support

    • The minimum supported Rust version is now 1.36 (#1011)
    • getrandom updated to v0.2 (#1041)
    • Remove wasm-bindgen and stdweb feature flags. For details of WASM support, see the getrandom documentation. (#948)
    • ReadRng::next_u32 and next_u64 now use little-Endian conversion instead of native-Endian, affecting results on Big-Endian platforms (#1061)
    • The nightly feature no longer implies the simd_support feature (#1048)
    • Fix simd_support feature to work on current nightlies (#1056)

    Rngs

    • ThreadRng is no longer Copy to enable safe usage within thread-local destructors (#1035)
    • gen_range(a, b) was replaced with gen_range(a..b). gen_range(a..=b) is also supported. Note that a and b can no longer be references or SIMD types. (#744, #1003)
    • Replace AsByteSliceMut with Fill and add support for [bool], [char], [f32], [f64] (#940)
    • Restrict rand::rngs::adapter to std (#1027; see also #928)
    • StdRng: add new std_rng feature flag (enabled by default, but might need to be used if disabling default crate features) (#948)
    • StdRng: Switch from ChaCha20 to ChaCha12 for better performance (#1028)
    • SmallRng: Replace PCG algorithm with xoshiro{128,256}++ (#1038)

    Sequences

    • Add IteratorRandom::choose_stable as an alternative to choose which does not depend on size hints (#1057)
    • Improve accuracy and performance of IteratorRandom::choose (#1059)
    • Implement IntoIterator for IndexVec, replacing the into_iter method (#1007)
    • Add value stability tests for seq module (#933)

    Misc

    • Support PartialEq and Eq for StdRng, SmallRng and StepRng (#979)
    • Added a serde1 feature and added Serialize/Deserialize to UniformInt and WeightedIndex (#974)
    • Drop some unsafe code (#962, #963, #1011)
    • Reduce packaged crate size (#983)
    • Migrate to GitHub Actions from Travis+AppVeyor (#1073)

    Distributions

    • Alphanumeric samples bytes instead of chars (#935)
    • Uniform now supports char, enabling rng.gen_range('A'..='Z') (#1068)
    • Add UniformSampler::sample_single_inclusive (#1003)

    Weighted sampling

    • Implement weighted sampling without replacement (#976, #1013)
    • rand::distributions::alias_method::WeightedIndex was moved to rand_distr::WeightedAliasIndex. The simpler alternative rand::distribution::WeightedIndex remains. (#945)
    • Improve treatment of rounding errors in WeightedIndex::update_weights (#956)
    • WeightedIndex: return error on NaN instead of panic (#1005)

    Documentation

    • Document types supported by random (#994)
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 0
  • Update minifb requirement from 0.16.0 to 0.17.0

    Update minifb requirement from 0.16.0 to 0.17.0

    Updates the requirements on minifb to permit the latest version.

    Changelog

    Sourced from minifb's changelog.

    Changelog

    This project follows semantic versioning.

    v0.17 (2020-07-09)

    • [changed] unix renamed to posix. (Thanks LoganDark)
    • [changed] bunch of Linux/x11 fixes by Antonino Siena. Such as Transparency support, Borderless, Cursor Visibility. Thanks!
    • [changed] use std::ptr::null_mut() to Windows PeekMessageW it fix alt-tab stall on Window 7. Thanks lynnux for the report!
    • [added] Implemented std::error::Error for minifb::Error. (Thanks Christofer Nolander!)

    v0.16 (2020-04-05)

    • [added] Wayland support. (Big thanks to Antonino Siena add this support with assistance by Cole Helbling!)
    • [added] Added get_released_keys (Thanks to Alex Melville!)
    • [added] Added Topmost/Always on Top functionality to macOS (Thanks phillvancejr!)
    • [fixed] Removed left over logging on macOS (Thanks phillvancejr!)

    v0.15.3 (2020-01-21)

    • [Added] On macOS NSView (MTKView) is supplied with raw_window_handle now

    v0.15.2 (2020-01-21)

    • [fixed] Fixed forever block on macOS when using update and not update_with_buffer

    v0.15.1 (2019-12-27)

    • [fixed] Fixed access to raw_window_handle()

    v0.15 (2019-12-16)

    • [API BREAKAGE] - update_with_buffer now always take width and height parameters.
    • [added] scale_mode in WindowOptions now allow for aspect correct scaling, center of non-scaled buffers and more.
    • [added] Added limit_update_rate(..) in order to reduce CPU usage and not hammer the native system calls.
    • [changed] x11 now uses C for it's scaling in software mode in order to always have opts on even in debug build.
    • [changed] Several fixes with rescaling on all platforms
    • [changed] on x11 some window mangers will resize a non-resizable windows and minifb handles this now correctly.
    • [fixed] Cursor was behaving bad on Windows. This has now been fixed
    • [known issues] There are some flickering and various issues when resizing on most platforms. PRs/ideas welcome for this.

    v0.14 (2019-12-03)

    • [changed] Deprecated update_with_buffer on favor of update_with_buffer_size. The idea is that a size in of the buffer will be more robust and allow for aspect scaling as well.
    • [changed] Improved macOS resizing support.
    • [changed] Better modifier handling on macOS.
    • [changed] Moved CI over to Github Actions
    • [changed] Formatted all code with rustfmt
    • [changed] Documentation improvments (Thanks Gary Guo & Arif Roktim!)
    • [fixed] 'attempt to subtract with overflow' bug (Thanks Venceslas!)
    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 0
  • Update actions/setup-dotnet action to v3

    Update actions/setup-dotnet action to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | actions/setup-dotnet | action | major | v1 -> v3 |


    Release Notes

    actions/setup-dotnet

    v3

    Compare Source

    v2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update actions/download-artifact action to v3

    Update actions/download-artifact action to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | actions/download-artifact | action | major | v1 -> v3 |


    Release Notes

    actions/download-artifact

    v3

    Compare Source

    v2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update actions/checkout action to v3

    Update actions/checkout action to v3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | actions/checkout | action | major | v1 -> v3 |


    Release Notes

    actions/checkout

    v3

    Compare Source

    v2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate minifb to 0.23.0

    Update Rust crate minifb to 0.23.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | minifb | dev-dependencies | minor | 0.17.0 -> 0.23.0 |


    Release Notes

    emoon/rust_minifb

    v0.19.3

    • [fixed] Fixed typos in description (Thanks hiqua!)
    • [fixed] update wayland to 0.28 and small cleanup (Thanks xMAC94x!)
    • [fixed] Bump xkbcommon-sys to 0.7.5
    • [fixed] wayland missing cursor (Thanks dc740!)
    • [fixed] windows: use c_void from winapi (Thanks xobs!)

    v0.19.2

    TODO


    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate druid to 0.7.0

    Update Rust crate druid to 0.7.0

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | druid | dependencies | minor | 0.6.0 -> 0.7.0 |


    Release Notes

    linebender/druid

    v0.7.0

    Compare Source

    Highlights
    • Text improvements: TextLayout type ([#​1182]) and rich text support ([#​1245])
    • The Formatter trait provides more flexible handling of conversions between values and their textual representations. ([#​1377])
    Added
    Changed
    • Windows: Reduced flashing when windows are created on high-dpi displays ([#​1272] by [@​rhzk])
    • Windows: Improved DPI handling. Druid should now redraw correctly when dpi changes. ([#​1037] by [@​rhzk])
    • windows: Window created with OS default size if not set. ([#​1037] by [@​rhzk])
    • Scale::from_scale to Scale::new, and Scale methods scale_x / scale_y to x / y. ([#​1042] by [@​xStrom])
    • Major rework of keyboard event handling. ([#​1049] by [@​raphlinus])
    • Container::rounded takes KeyOrValue<f64> instead of f64. ([#​1054] by [@​binomial0])
    • request_anim_frame no longer invalidates the entire window. ([#​1057] by [@​jneem])
    • Use new Piet text api ([#​1143] by [@​cmyr])
    • Env::try_get (and related methods) return a Result instead of an Option. ([#​1172] by [@​cmyr])
    • lens! macro to use move semantics for the index. ([#​1171] by [@​finnerale])
    • Env stores Arc<str> instead of String ([#​1173] by [@​cmyr])
    • Replaced uses of Option<Target> with the new Target::Auto. ([#​1185] by [@​finnerale])
    • Moved Target parameter from submit_command to Command::new and Command::to. ([#​1185] by [@​finnerale])
    • Movement::RightOfLine to Movement::NextLineBreak, and Movement::LeftOfLine to Movement::PrecedingLineBreak. ([#​1092] by [@​sysint64])
    • AnimFrame was moved from lifecycle to event ([#​1155] by [@​jneem])
    • Renamed ImageData to ImageBuf and moved it to druid_shell ([#​1183] by [@​jneem])
    • Contexts' text() methods return &mut PietText instead of cloning ([#​1205] by [@​cmyr])
    • Window construction: WindowDesc decomposed to PendingWindow and WindowConfig to allow for sub-windows and reconfiguration. ([#​1235] by [@​rjwittams])
    • LocalizedString and LabelText use ArcStr instead of String ([#​1245] by [@​cmyr])
    • LensWrap widget moved into widget module ([#​1251] by [@​cmyr])
    • Delegate::command now returns Handled, not bool ([#​1298] by [@​jneem])
    • TextBox selects all contents when tabbed to on macOS ([#​1283] by [@​cmyr])
    • All Image formats are now optional, reducing compile time and binary size by default ([#​1340] by [@​JAicewizard])
    • The Cursor API has changed to a stateful one ([#​1433] by [@​jneem])
    • Part of the SAVE_FILE command is now SAVE_FILE_AS ([#​1463] by [@​jneem])
    • Windows: Use custom application icon, if present ([#​2274] by [@​tay64])
    Deprecated
    Removed
    Fixed
    Visual
    Docs
    Examples
    Maintenance
    Outside News

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate bincode to 1.3.3

    Update Rust crate bincode to 1.3.3

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | bincode | dependencies | minor | 1.2.1 -> 1.3.3 |


    Release Notes

    bincode-org/bincode

    v1.3.3

    Compare Source

    • Removed byteorder as a dependency

    v1.3.2

    Compare Source

    • Added Copy/Clone impls to WithOtherIntEncoding and WithOtherTrailing

    v1.3.1

    Compare Source

    • Fixed logic error in IoReader

    v1.3.0

    Compare Source

    • Removed UB in IoReader
    • Exposed serializer types
    • Added varint encoding
    • Modernize config system
    • Added option to reject trailing bytes during slice decoding

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Releases(v0.2.5)
Owner
Thomas Versteeg
Thomas Versteeg
A Rust library for blitting 2D sprites

blit A Rust library for blitting 2D sprites Documentation Usage Add this to your Cargo.toml:

Thomas Versteeg 23 Dec 6, 2022
Materials for sprites in Bevy

bevy_sprite_material Materials for sprites in Bevy This bevy plugin changes the bevy_sprite implementation using a material. You might be interested i

Félix Lescaudey de Maneville 6 Aug 21, 2022
Use sprites in a 3d bevy scene.

bevy_sprite3d Use 2d sprites in a 3d bevy scene. This is a pretty common setup in other engines (unity, godot, etc). Useful for: 2d games using bevy's

null 46 Apr 24, 2023
Explicitly set sprite layers for sprites in Bevy games.

extol_sprite_layer lets you specify the drawing order for sprites in your Bevy game using a separate component rather than via the z-coordinate of you

Ash 5 May 2, 2023
Generate rust command line executables from gRPC protobuf services.

Rust template repository. An opinionated starting point for rust projects such as systemd services command line tools client programs server programs

Kris Nóva 8 Sep 18, 2022
Generate, display and solve mazes in an animated way in the terminal.

How to Run Usage: maze_solver.exe [OPTIONS] <--generator <GENERATOR>|--input <INPUT>> [ROWS] [COLUMNS] Arguments: [ROWS] Number of rows to draw

Julia 4 Jan 16, 2023
Plugin to generate flowfields from tilemaps in the Godot Engine!

Godot Tilemap Flowfields RTS-Style optimized path-finding for crowds of agents. Built for the Godot game engine, written with performance in mind in R

Arne Winter 18 Jan 10, 2023
A tool to generate inbetweens for animated sprites, written in godot-rust

Bitmapflow is a tool to help you generate inbetweens for animated sprites. In other words, it makes your animations smoother. It uses optical flow to

null 411 Dec 21, 2022
A Rust library for blitting 2D sprites

blit A Rust library for blitting 2D sprites Documentation Usage Add this to your Cargo.toml:

Thomas Versteeg 23 Dec 6, 2022
Materials for sprites in Bevy

bevy_sprite_material Materials for sprites in Bevy This bevy plugin changes the bevy_sprite implementation using a material. You might be interested i

Félix Lescaudey de Maneville 6 Aug 21, 2022
Yet Another Texture Packer - a small and simple CLI application to pack multiple textures/sprites into a texture atlas/sprite sheet

YATP (Yet Another Texture Packer) A small and simple CLI application to pack multiple textures/sprites into a texture atlas/sprite sheet. Installation

Petar Petrov 2 Sep 11, 2022
Use sprites in a 3d bevy scene.

bevy_sprite3d Use 2d sprites in a 3d bevy scene. This is a pretty common setup in other engines (unity, godot, etc). Useful for: 2d games using bevy's

null 46 Apr 24, 2023
Explicitly set sprite layers for sprites in Bevy games.

extol_sprite_layer lets you specify the drawing order for sprites in your Bevy game using a separate component rather than via the z-coordinate of you

Ash 5 May 2, 2023
A simple to use rust package to generate or parse Twitter snowflake IDs,generate time sortable 64 bits unique ids for distributed systems

A simple to use rust package to generate or parse Twitter snowflake IDs,generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)

houseme 5 Oct 6, 2022
Generate beautiful changelogs from your Git commit history

clog-cli A conventional changelog for the rest of us About clog creates a changelog automatically from your local git metadata. See the clogs changelo

Clog 776 Dec 30, 2022
Generate CPU FlameGraphs based on DWARF Debug Info

torch A script that glues perf CPU sampling and Brendan Gregg's visualizer to generate FlameGraphs. Requirements Usage Examples License Requirements L

Rui Hu 125 Oct 29, 2022
Generate PDF files with JavaScript and WASM (WebAssembly)

WASM-PDF Generates PDF files directly in the browser with JavaScript and WASM (WebAssembly). Idea here is to push all the work involved in creating a

Jussi Niinikoski 369 Jan 2, 2023
(Read-only) Generate n-grams

N-grams Documentation This crate takes a sequence of tokens and generates an n-gram for it. For more information about n-grams, check wikipedia: https

Paul Woolcock 26 Dec 30, 2022
Generate unique, yet sortable identifiers

ulid-lite About An implementation of the ULID ("Universally Unique Lexicographically Sortable Identifier") standard. A ULID is 128-bit compatible with

Tim McNamara 17 Aug 20, 2022
Generate a Python module from a single Rust file.

cargo-single-pyo3 Utility to build Python modules from a single Rust files via pyo3. Inspired by cargo-single. Installation cargo install cargo-single

Will Crichton 6 Dec 30, 2022