[package]
name = "gitgud_badge"
version = "0.1.0"
edition = "2021"
license = "MIT"
publish = false
[lib]
name = "gitgud_badge"
path = "src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
rustler = "0.34"
# Rasterizes a badge's SVG to PNG. Badges never contain <text> (their
# lettering arrives as outlines, below), so the font stack is left out:
# no `text`, no `system-fonts`, no fontconfig, nothing for either image
# to install. `raster-images` would decode embedded JPEG/GIF/WebP, which
# a badge doesn't have.
resvg = { version = "0.45", default-features = false }
# Reads glyph outlines from the bundled B612 Mono. A badge's SVG carries
# its lettering as paths, so it looks the same in an <img> on another
# site (which can't fetch web fonts) as in the PNG.
ttf-parser = "0.25"
neiam
/gitgud
Git Gud
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
1
Log in to mark this repository.
788 B · text
History
b868907