-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move samples out of piet
and into local crate
#502
base: main
Are you sure you want to change the base?
Conversation
I might end up moving |
Note the fonts are uploaded in the crate: https://docs.rs/crate/piet/latest/source/ |
Okay i think this makes sense, and is actually closer to a design we had previously, where we had a I'd also like a README in that folder, just explaining that these are a set of tests files that are run against backends for testing, and that the 'snapshots' submodule contains the expected outputs for different backends. Otherwise thanks for taking the time to sort this out!
oh interesting that's definitely a mistake, I think they were ignored at some point but maybe they were moved. |
Awesome, this is the line of thinking I'm going down too. I'll move it into |
The reason I named it samples for the time being is it is close enough to examples, which I would look at for a sample of what I can output with the library. Moving all the stuff into |
That's fair, but I think it's going to cause more confusion, since it isn't clear how to run these samples, and people have opened issues about that before. I'd prefer to avoid that confusion. (I'd also like to move the |
This was almost exactly the next change I was going to propose ha! |
83863c3
to
1acf490
Compare
- Cargo manifests have been cleaned up a bit - `piet` now no longer includes fonts within the crate published, making it smaller - `piet::Error::InvalidSampleArgs` is removed, which is specific to samples
Quick note perhaps for further discussion. If the |
|
@avitex any interest in reviving this or should we close it? |
piet
now no longer includes fonts within the crate published, making it smallerpiet::Error::InvalidSampleArgs
is removed, which is specific to samples