servo / pathfinder

A fast, practical GPU rasterizer for fonts and vector graphics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code does not match release

johnoneil opened this issue · comments

I'm having some difficulty leveraging your example code with your last crates.io release (0.5.0).
Could you tell me what hash maps to the 0.5.0 release? It's not tagged (tags preview, preview-2 etc. have no meaning for me).

I was able to hunt down the following commits:

commit d9a93a102c942e991038f0c3741e3d455b7914ad
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 13:54:26 2020 -0700

    Publish `pathfinder_svg` to crates.io

commit ef20671ab72c8d66606d3065979e63199fbed8f6
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 13:48:43 2020 -0700

    Publish `pathfinder_canvas` to crates.io

commit 686773224cb0c3609932535818674c7a7da875ce
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 13:42:25 2020 -0700

    Publish `pathfinder_text` to crates.io

commit 1cd5966d3d7c3d395b6886d1ed63eb7b306f9be3
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 13:10:39 2020 -0700

    Publish `pathfinder_content` and `pathfinder_renderer` to crates.io

commit ccf9822e11f10afa26138943f48546607cfabec8
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 13:03:18 2020 -0700

    Fix `pathfinder_metal` crate description

commit adf87d76361688483ad254c95ade669fadb14d24
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 12:45:35 2020 -0700

    Bump the `pathfinder_color` version to 0.5 to match other crates

commit a91da6fdb43cdb6be2e7e958feb58c713ac4954b
Author: Patrick Walton <pcwalton@mimiga.net>
Date:   Fri Apr 17 12:30:14 2020 -0700

    Publish `pathfinder_resources` to crates.io

You might want to tag those in the future.

Additionally I'd add some instructions on the README so that clients who want to point to the git repo can update their Cargo.toml in a recommended way, Your repo seems on the rare side in that it contains many crates in subdirectories. I had to research how to point my Cargo.toml to this git repo for all the necessary sub crates in the git repo. In this case the provided example code Cargo.toml files are not appropriate.

You can close this.