[librsvg/rustify-rsvg-convert: 11/41] Export the LegacySize crate from c_api just for rsvg_convert
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert: 11/41] Export the LegacySize crate from c_api just for rsvg_convert
- Date: Sun, 17 Jan 2021 16:57:04 +0000 (UTC)
commit 99a89968e9f272b228baad053c9d695f18483671
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Nov 6 13:16:06 2020 -0600
Export the LegacySize crate from c_api just for rsvg_convert
src/c_api/mod.rs | 2 +-
src/lib.rs | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/c_api/mod.rs b/src/c_api/mod.rs
index b7003df8..d437b56f 100644
--- a/src/c_api/mod.rs
+++ b/src/c_api/mod.rs
@@ -53,4 +53,4 @@ mod color_utils;
mod dpi;
mod handle;
pub mod pixbuf_utils;
-mod sizing;
+pub mod sizing;
diff --git a/src/lib.rs b/src/lib.rs
index 2d768f42..0e2595b5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -155,3 +155,8 @@ pub mod doctest_only {
pub use crate::length::{Both, CssLength, Horizontal, Length, LengthUnit, ULength, Vertical};
pub use crate::parsers::{Parse, ParseValue};
}
+
+#[doc(hidden)]
+pub mod rsvg_convert_only {
+ pub use crate::c_api::sizing::LegacySize;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]