diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-01-29 02:40:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 07:40:25 +0000 |
commit | a6218b42eafa9a1e6f845d7f709a108005ed58a8 (patch) | |
tree | fa3c1bf16caad7f45cdf2f700b7007965952d10b /components/script_bindings/lib.rs | |
parent | 1188d2b2e7c18434f06df5505bed7cfd859f47e2 (diff) | |
download | servo-a6218b42eafa9a1e6f845d7f709a108005ed58a8.tar.gz servo-a6218b42eafa9a1e6f845d7f709a108005ed58a8.zip |
bindings: Move string-related bindings code to script_bindings. (#35172)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script_bindings/lib.rs')
-rw-r--r-- | components/script_bindings/lib.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/components/script_bindings/lib.rs b/components/script_bindings/lib.rs index daa3e8897c2..835999bab88 100644 --- a/components/script_bindings/lib.rs +++ b/components/script_bindings/lib.rs @@ -1,3 +1,19 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ + +#[macro_use] +extern crate jstraceable_derive; +#[macro_use] +extern crate log; +#[macro_use] +extern crate malloc_size_of_derive; + +pub mod conversions; +pub mod str; +mod trace; + +// These trait exports are public, because they are used in the DOM bindings. +// Since they are used in derive macros, +// it is useful that they are accessible at the root of the crate. +pub(crate) use js::gc::Traceable as JSTraceable; |