egui-phosphor icon indicating copy to clipboard operation
egui-phosphor copied to clipboard

Instructions for running examples

Open White-Rabbit-Scientific opened this issue 1 year ago • 1 comments

Please add instructions for running the examples.

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

White-Rabbit-Scientific avatar Jul 31 '24 01:07 White-Rabbit-Scientific

This is already fixed in a PR #20

bircni avatar Jul 31 '24 18:07 bircni

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"`

amPerl avatar Aug 23 '24 11:08 amPerl