[librsvg/rustify-rsvg-convert: 30/78] Export the LegacySize crate from c_api just for rsvg_convert
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert: 30/78] Export the LegacySize crate from c_api just for rsvg_convert
- Date: Wed, 3 Feb 2021 10:18:30 +0000 (UTC)
commit dbe6f73f545c080b0337cc6d05b42159a2262c06
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 a143c3d0..b59fe8b1 100644
--- a/src/c_api/mod.rs
+++ b/src/c_api/mod.rs
@@ -53,4 +53,4 @@ mod color_utils;
mod dpi;
pub mod handle;
pub mod pixbuf_utils;
-mod sizing;
+pub mod sizing;
diff --git a/src/lib.rs b/src/lib.rs
index 736ba7f4..14ffb8a5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -154,3 +154,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]