Skip to content

Commit 50d63e6

Browse files
committed
Fix reexports
1 parent d9565c1 commit 50d63e6

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

packages/std/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub use cosmwasm_core as core;
112112
pub use cosmwasm_core::CoreError as StdError;
113113
pub use cosmwasm_core::CoreResult as StdResult;
114114
pub use cosmwasm_core::{
115-
assert_approx_eq, from_base64, from_hex, instantiate2_address, to_base64, to_hex, Addr, Binary,
115+
from_base64, from_hex, instantiate2_address, to_base64, to_hex, Addr, Binary,
116116
CanonicalAddr, CheckedFromRatioError, CheckedMultiplyFractionError, CheckedMultiplyRatioError,
117117
CoinFromStrError, CoinsError, ConversionOverflowError, Decimal, Decimal256,
118118
Decimal256RangeExceeded, DecimalRangeExceeded, DivideByZeroError, DivisionError, Fraction,
@@ -122,4 +122,7 @@ pub use cosmwasm_core::{
122122
Uint512, Uint64, VerificationError,
123123
};
124124

125+
#[cfg(not(target_arch = "wasm32"))]
126+
pub use cosmwasm_core::assert_approx_eq;
127+
125128
pub use cosmwasm_derive::entry_point;

packages/std/src/pagination.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use schemars::JsonSchema;
22
use serde::{Deserialize, Serialize};
33

4-
use crate::prelude::*;
54
use crate::Binary;
65

76
/// Simplified version of the PageRequest type for pagination from the cosmos-sdk

packages/std/src/results/empty.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
use schemars::JsonSchema;
22
use serde::{Deserialize, Serialize};
33

4-
use crate::prelude::*;
5-
64
/// An empty struct that serves as a placeholder in different places,
75
/// such as contracts that don't set a custom message.
86
///

packages/std/src/timestamp.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ use cosmwasm_core::Uint64;
33
use schemars::JsonSchema;
44
use serde::{Deserialize, Serialize};
55

6-
use crate::prelude::*;
7-
86
/// A point in time in nanosecond precision.
97
///
108
/// This type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.

0 commit comments

Comments
 (0)