amPerl / egui-phosphor

Phosphor icons for egui
Apache License 2.0
98 stars 25 forks source link

Instructions for running examples #21

Closed Resonanz closed 1 month ago

Resonanz commented 2 months ago

Please add instructions for running the examples.

cargo run --release --features="thin light regular bold fill" --example multiple_variants

bircni commented 2 months ago

This is already fixed in a PR #20

amPerl commented 1 month ago

running an example is part of cargo's documentation. as far as the required features go, it tells you when you try to run it

❯ cargo run --example multiple_variants
error: target `multiple_variants` in package `egui-phosphor` requires the features: `thin`, `light`, `regular`, `bold`, `fill`   
Consider enabling them by passing, e.g., `--features="thin light regular bold fill"`