You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by mg...@apache.org on 2024/02/27 08:23:55 UTC
(avro) branch avro-3948-re-export-BigDecimal created (now c0bac6563)
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a change to branch avro-3948-re-export-BigDecimal
in repository https://gitbox.apache.org/repos/asf/avro.git
at c0bac6563 AVRO-3948: [Rust] Re-export bigdecimal::BigDecimal as apache_avro::BigDecimal
This branch includes the following new commits:
new c0bac6563 AVRO-3948: [Rust] Re-export bigdecimal::BigDecimal as apache_avro::BigDecimal
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(avro) 01/01: AVRO-3948: [Rust] Re-export bigdecimal::BigDecimal as apache_avro::BigDecimal
Posted by mg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mgrigorov pushed a commit to branch avro-3948-re-export-BigDecimal
in repository https://gitbox.apache.org/repos/asf/avro.git
commit c0bac6563944a485b6fe3b1afea215ccdb5dde94
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Tue Feb 27 10:23:21 2024 +0200
AVRO-3948: [Rust] Re-export bigdecimal::BigDecimal as apache_avro::BigDecimal
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
lang/rust/avro/src/bigdecimal.rs | 2 +-
lang/rust/avro/src/lib.rs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/lang/rust/avro/src/bigdecimal.rs b/lang/rust/avro/src/bigdecimal.rs
index 65ddf9733..a4e503b13 100644
--- a/lang/rust/avro/src/bigdecimal.rs
+++ b/lang/rust/avro/src/bigdecimal.rs
@@ -21,7 +21,7 @@ use crate::{
types::Value,
Error,
};
-use bigdecimal::BigDecimal;
+pub use bigdecimal::BigDecimal;
use num_bigint::BigInt;
use std::io::Read;
diff --git a/lang/rust/avro/src/lib.rs b/lang/rust/avro/src/lib.rs
index 9d5dcb83c..34b037400 100644
--- a/lang/rust/avro/src/lib.rs
+++ b/lang/rust/avro/src/lib.rs
@@ -820,6 +820,7 @@ pub mod schema_equality;
pub mod types;
pub mod validator;
+pub use bigdecimal::BigDecimal;
pub use codec::Codec;
pub use de::from_value;
pub use decimal::Decimal;