-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
libservo: Clean up Servo exports and export more at the root #40951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <mrobinson@igalia.com>
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.