data-url has a Mime class distinct from the one in https://crates.io/crates/mime and it's looking like using data-url in servo as a replacement for https://crates.io/crates/base64 might mean redundantly parsing the mime type into both classes.
Could data-url:
migrate to that mime class, or
offer a codepath that just skips the mime-type parsing entirely, for use by client code that is already parsing its own mime type?
data-url has a Mime class distinct from the one in https://crates.io/crates/mime and it's looking like using data-url in servo as a replacement for https://crates.io/crates/base64 might mean redundantly parsing the mime type into both classes.
Could data-url: