rust-skia

Rust Bindings for the Skia Graphics Library

MIT License

Downloads
1.7M
Stars
1.4K
Committers
39

Bot releases are visible (Hide)

rust-skia - 0.57.0

Published by pragmatrix almost 2 years ago

This release aligns rust-skia with Skia's milestone 108 (#712, Skia release notes)

Furthermore:

  • #736 updates depot tools.
  • We've added more prebuilt binaries for the Freya GUI library. Asked for by @marc2332 in #737.
rust-skia - 0.56.1

Published by pragmatrix almost 2 years ago

This patch release fixes a problem with 0.56.0 in which skia-binding's build script wasn't able to detect that it was running inside a crate, effectively causing all kinds of build errors.

The patch: bd893e83b309170b35e5f54c00295e375cf0ed3d

And

  • #727 Fixed a build error for Android SDKs > version 23 on arm64 platforms, contributed by @triniwiz
rust-skia - 0.56.0

Published by pragmatrix almost 2 years ago

This release aligns rust-skia with Skia's milestone 107 (#702, Skia release notes)

And:

  • #719 added documentation to the fields of Rect and IRect. Contributed by @tronical.
  • #713 updated bindgen to version 0.61.0.
  • #724 attempts to support docs.rs documentation builds, reported by @RReverser (which failed, see #720).
rust-skia - 0.55.0

Published by pragmatrix about 2 years ago

This release aligns rust-skia with Skia's milestone 106 (#683, Skia release notes)

Also notable:

  • #680 added documentation to core/path.rs.
  • #696 fixes a build error when an Android target was built on a Windows host. Reported by @Hpmason in #695.
  • #698 enables PDF document support for WASM. Reported by @igrekun in #694.
  • #701 adds support for Android NDK versions >= 22. Contributed by @Hpmason.
  • #699 switched the binaries build of macOS and IOS from Big Sur to Monterey.
  • #703 moves all platform specific build dependencies in single Rust files.
  • #707 adds binaries that are used by the Freya GUI library. Suggested by @marc2332 in #706.
rust-skia - 0.54.0

Published by pragmatrix about 2 years ago

This release aligns rust-skia with Skia's milestone 105 (#664)

Also:

  • Breaking: #671 Canvas:from_bitmap() now returns an Option, because of an issue reported by @iitalics in #669.
  • #675 renamed image functions prefixes from new_ to to_ when appropriate and the old functions got marked deprecated. The naming issue was reported by @toplinuxsir in https://github.com/rust-skia/rust-skia/discussions/673#discussioncomment-3387651.
  • #678 reviewed the documentation of core/bitmap.rs.
  • #677 added documentation to core/image.rs.
  • #679 added a comment converter tool that converts Skia C++ comments to Rust.
  • Epic: #681 added preliminary SVG rendering. Enable with the feature svg. Contributed by @triniwiz 🤗.
  • #684 made Windows binaries available with the feature set d3d,gl,textlayout. Contributed by @tronical.
rust-skia - 0.53.0

Published by pragmatrix about 2 years ago

This release aligns rust-skia with Skia's milestone 104 (#649, Skia release notes)

  • #662 fixes a broken link in CONTRIBUTING.md. Reported in #661 by @MultisampledNight.
  • #667 updates the winit dependencies to 0.27.0.
  • #668 adds support for building against a Yocto SDK, contributed by @tronical.
rust-skia - 0.52.0

Published by pragmatrix about 2 years ago

This release aligns rust-skia with Skia's milestone 103 (#639 and #642).

One of the more important changes in this release is that the build scripts now expect Python 3 to be installed.

  • #595 makes the switch from Python 2 to Python 3.
  • #641 fixes the homepage link in skia-bindings/Cargo.toml . Contributed by @marc2332.
  • #643 adds support building using Alpine (musl), requested in #356. Contributed by @samizdatco.
  • #650 enables a custom empty font manager in WASM to fix a problem with the typeface creation. Contributed by @tomb-msft.
  • #651 updates flake.nix to support darwin m1 builds. Contributed by @busti.
  • #655 adds support for cross-compilation for Windows arm64 in combination with crt-static. Contributed by @syrel.
rust-skia - 0.50.0

Published by pragmatrix over 2 years ago

This release updates Skia and the bindings to Milestone 101 (#626). In addition to that, @syrel contributed an example that shows how to use rust-skia with Metal in #623, and @tomb-msft added support for building wasm32-unknown-emscripten binaries in #638.

rust-skia - 0.49.1

Published by pragmatrix over 2 years ago

Thanks to the combined effort of @ln-12, @JayTee42, and @triniwiz in #629, this release adds prebuilt Skia binaries for the target aarch64-apple-ios-sim (#631).

rust-skia - 0.49.0

Published by pragmatrix over 2 years ago

This release updates the rust-skia wrappers to Skia's Milestone 100 (release notes), PRs #610, #620.

In addition to that we removed the clang-sys version requirement in #628 in response to a build problem reported by @Dushistov in #627.

rust-skia - WASM & Milestone 98

Published by pragmatrix over 2 years ago

This release adds WASM build support (#611) and updates Skia to Milestone 98 (#594).

In addition to that:

  • @ctrlcctrlv added documentation to the the PathMeasure API in #613 and #614.
  • #605 ports the skia-org rendering example application to clap's new declarative API
  • #607 implements PartialEq for RefHandle, which was missing and got reported by @ennis in #607.
  • 880982f3e4d62506a4bbcfe50c0ac2cb888416ae fixes the color constant Color::GRAY.

A big thank you to @flupke for finally making Skia compile to WASM, this is a great contribution!

rust-skia - 0.46.0

Published by pragmatrix almost 3 years ago

This release updates Skia and the Rust bindings to Milestone 97 #583, (Release Notes).

Additionally:

  • #588 makes the gl-example work with Wayland
  • #592 adds build support for Visual Studio 2022
rust-skia - 0.45.1

Published by pragmatrix almost 3 years ago

This release fixes a bug that caused a SIGSEGV when StyleMetrics were retrieved from LineMetrics.

  • #586 Reported by @romanzes in #585
rust-skia - 0.45.0

Published by pragmatrix almost 3 years ago

This version updates Skia to Milestone 96 (#561, #567).

  • #573 fixed a build problem with Homebrew LLVM 13 on macOS that was reported by @StewartCanva in #571.
  • #575 added a new feature embed-freetype that can be used to compile FreeType and embed it into the Skia library. This came out of a discussion with @samizdatco as a solution to support older Linux platforms in #570.
  • #576 made icu::init() thread safe and fixed a text rendering problem in Windows that appeared with link time optimizations set to thin or fat, it also fixed a compilation problem when the default feature embed-icudtl wasn't enabled.
rust-skia - 0.43.0

Published by pragmatrix about 3 years ago

This release updates Skia to Milestone 94 #558 (Skia Release Notes).

rust-skia -

Published by pragmatrix about 3 years ago

This is a hotfix release that fixes a text rendering problem with textlayout feature based Paragraphs on Windows: #565 Reported by @samizdatco

rust-skia - 0.42.0

Published by pragmatrix about 3 years ago

This version updates the rust-skia bindings to Milestone 93. #543

More changes:

  • #550 adds support for Catalyst iOS targets. #548 @colbyn
  • #555 fixes a bug that caused unnecessary rebuilds on macOS. #554 @colbyn
  • #556 adds qa and binary workflows for aarch64-apple-darwin targets (i.e. M1 Macs).
  • #486 removes the need to explicitly initialize ICU on Windows, this also means that there is no more icudtl.dat file needed in the directory of the final executable. This is only supported for integrated builds, if you build rust-skia based on a local build of Skia, take a look at the feature documentation of embed-icudtl.
rust-skia -

Published by pragmatrix about 3 years ago

This version updates the rust-skia bindings to Milestone 92 #523.

Additional changes:

  • #541 Adds support for Windows 32 bit builds. Suggested by @MyTDT-MySoft.
  • #539 Reduces the minimum macOS version the binaries are compatible with to 10.13 (High Sierra). Suggested by @samizdatco.
  • #542 Copies the required libraries to the output directory in a local build configuration.
  • #544 Replaces some repetitive code with macros.
  • #546 Updates Bindgen to version 0.59.0.
rust-skia - 0.40.2

Published by pragmatrix over 3 years ago

This is a maintenance release with the following changes:

  • #536 adds support for builds on aarch64 Linux hosts.
  • #533 updates glutin dependency to 0.27.
  • #531 updates the metal-rs dependency to 0.23.0.
  • #530 adds a supplemental GitHub Actions workflow to build rust-skia on Windows with all dead code linked in, see also #318.
  • #529 adds a supplemental GitHub Actions workflow that verifies if local Skia builds work.
  • #527 adds support for using a locally built Skia library. (@therealbnut)
  • #528 fixes Clippy beta 1.54 warnings.
  • #536 ports all Azure Pipelines builds to GitHub Actions.
  • #525 introduced the binary-cache feature, a default feature that - when switched off - can be used to disable the download of the binaries and reduces the crate's build dependencies, this is useful for customizing builds. (@therealbnut)
  • #534 fixes a deadlock when the window was closed in the OpenGL example.
rust-skia -

Published by pragmatrix over 3 years ago

This release updates rust-skia to match Skia's milestone 91. #498

  • #512 @therealbnut made is possible to parameterize the build process so that jpeg-turbo is used as a -sys library with the help of the crate mozjpeg-sys. This also fixes #507.

  • #521 implements the Debug trait for all public types, suggested by @ctrlcctrlv in #514.

  • #508 documents the Canvas type.

Package Rankings
Top 3.74% on Crates.io
Badges
Extracted from project README
crates.io license Windows QA Linux QA macOS QA Rust-skia icon