gecko-dev/toolkit/library/rust
Nika Layzell 4f380cfe7d Bug 1444151 - Part 3: Only create a single allocation for MozURL objects, which is managed by rust, r=valentin
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
2018-04-10 17:49:50 -04:00
..
shared Bug 1444151 - Part 3: Only create a single allocation for MozURL objects, which is managed by rust, r=valentin 2018-04-10 17:49:50 -04:00
Cargo.toml Bug 1381576 - Use a Cargo workspace for rust crates. r=ted 2018-03-01 14:33:35 -08:00
gkrust-features.mozbuild Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj 2018-03-21 19:13:26 +01:00
lib.rs
moz.build Bug 1373878 - part 3 - add stylo_tests as a RustTest; r=rillian 2017-10-02 09:21:22 -04:00