[prev in list] [next in list] [prev in thread] [next in thread]
List: avro-commits
Subject: (avro) 01/01: AVRO-3948: [Rust] Re-export bigdecimal::BigDecimal as apache_avro::BigDecimal
From: mgrigorov () apache ! org
Date: 2024-02-27 8:23:56
Message-ID: 20240227082355.C511A4407C4 () gitbox2-he-fi ! apache ! org
[Download RAW message or body]
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 <mgrigorov@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 <mgrigorov@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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic