How do I use an on disk glifparser.rlib
?
#244
-
I'm trying to work on this issue, but in order to do that, I think I need to make changes to So I edited the ## Our crates
# parses .glif files and gives us a place to put arbitrary data
#glifparser = { git = "https://github.com/MFEK/glifparser.rlib", branch = "master", features=["skia", "mfek"] }
glifparser = { path = "../glifparser.rlib", features=["skia", "mfek"] } # for development However, after doing that I can't build
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is a general Rust question, not an MFEKglif bug, so I am moving it to Discussions 😄. Basically, you have to download all of MFEKglif's dependencies which require glifparser, and make them also use your on-disk glifparser (that's why all our Cargo.toml's have all these "for dev" lines). MFEKmath needs it— Line 87 in 72e118d So does glifrenderer— Line 94 in 72e118d |
Beta Was this translation helpful? Give feedback.
This is a general Rust question, not an MFEKglif bug, so I am moving it to Discussions 😄. Basically, you have to download all of MFEKglif's dependencies which require glifparser, and make them also use your on-disk glifparser (that's why all our Cargo.toml's have all these "for dev" lines).
MFEKmath needs it—
glif/Cargo.toml
Line 87 in 72e118d
So does glifrenderer—
glif/Cargo.toml
Line 94 in 72e118d