Skip to content

Commit 580fc1d

Browse files
fix: remove traces of deprecated mocks-no-std feature (#825)
* fix: remove mocks-no-std leftovers * misc: add unclog * nit: typo
1 parent 5c48d15 commit 580fc1d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Remove traces of deprecated `mocks-no-std` feature
2+
([#819](https://github.com/cosmos/ibc-rs/issues/821))

crates/ibc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub mod clients;
5353
pub mod core;
5454
pub mod hosts;
5555

56-
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
56+
#[cfg(any(test, feature = "mocks"))]
5757
pub mod mock;
5858
#[cfg(any(test, feature = "mocks"))]
5959
pub mod test_utils; // Context mock, the underlying host chain, and client types: for testing all handlers.

crates/ibc/src/mock/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//! Implementation of mocks for context, host chain, and client.
22
3-
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
3+
#[cfg(any(test, feature = "mocks"))]
44
pub mod client_state;
5-
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
5+
#[cfg(any(test, feature = "mocks"))]
66
pub mod consensus_state;
77
#[cfg(any(test, feature = "mocks"))]
88
pub mod context;
9-
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
9+
#[cfg(any(test, feature = "mocks"))]
1010
pub mod header;
1111
#[cfg(any(test, feature = "mocks"))]
1212
pub mod host;
1313
#[cfg(any(test, feature = "mocks"))]
1414
pub mod ics18_relayer;
15-
#[cfg(any(test, feature = "mocks", feature = "mocks-no-std"))]
15+
#[cfg(any(test, feature = "mocks"))]
1616
pub mod misbehaviour;
1717
#[cfg(any(test, feature = "mocks"))]
1818
pub mod router;

0 commit comments

Comments
 (0)