Move samples out of piet and into local crate#502
Move samples out of piet and into local crate#502avitex wants to merge 1 commit intolinebender:mainfrom
piet and into local crate#502Conversation
|
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? |
pietnow no longer includes fonts within the crate published, making it smallerpiet::Error::InvalidSampleArgsis removed, which is specific to samples