libservo: Clean up Servo exports and export more at the root#40951
libservo: Clean up Servo exports and export more at the root#40951mrobinson merged 1 commit intoservo:mainfrom
Conversation
55a121e to
c3d43e3
Compare
|
🔨 Triggering try run (#19782896398) for OpenHarmony |
|
This one is ready for review. |
|
|
c3d43e3 to
719dc41
Compare
|
🔨 Triggering try run (#19783210541) for OpenHarmony |
|
✨ Try run (#19783210541) succeeded. |
| //! This is a very simple library that wires all of Servo's components | ||
| //! together as type `Servo`, along with a generic client | ||
| //! implementing the `WindowMethods` trait, to create a working web |
There was a problem hiding this comment.
None of texts are actually changed. The blame might look bad.
But some texts below are actually changed.
There was a problem hiding this comment.
Yes. I have also removed some out of date information here, which I forgot to mention in the description of the PR. All of the documentation for the API needs a lot of work.
719dc41 to
f79c2aa
Compare
|
🔨 Triggering try run (#19786191511) for Windows |
|
|
f79c2aa to
4492c9a
Compare
|
🔨 Triggering try run (#19786309566) for Windows |
|
✨ Try run (#19786309566) succeeded. |
This change makes it easier for embedders to embed the types that they need by exporting almost everything necessary to use Servo at the root of libservo, apart from a few exceptions. In addition, the `Servo` is moved to its own file so that public exports can be more easily spotted from `components/servo/lib.rs`. Signed-off-by: Martin Robinson <[email protected]>
4492c9a to
96b42b9
Compare
|
🔨 Triggering try run (#19786716293) for Android |
|
✨ Try run (#19786716293) succeeded. |
This change makes it easier for embedders to embed the types that they
need by exporting almost everything necessary to use Servo at the root
of libservo, apart from a few exceptions. In addition, the
Servois movedto its own file so that public exports can be more easily spotted from
components/servo/lib.rs.Testing: This should not change behavior and is thus covered by existing tests.
Fixes: #18475.