зеркало из https://github.com/mozilla/gecko-dev.git
4f380cfe7d
This patch rewrites the rust-url-capi crate as the mozurl crate, which provides a threadsafe MozURL object which is compatible with the previous MozURL class. Creating a MozURL this way performs a single allocation, which contains only a rust-url Url object and an atomic refcnt, however it is fully compatible with the C++ RefPtr type. This patch also exposes methods for accessing dependent substrings of the serialized spec, meaning that string copies can be avoided in many situations when inspecting attributes of the MozURL. --HG-- rename : netwerk/base/rust-url-capi/.gitignore => netwerk/base/mozurl/.gitignore |
||
---|---|---|
.. | ||
shared | ||
Cargo.toml | ||
gkrust-features.mozbuild | ||
lib.rs | ||
moz.build |