Skip to content

Commit

Permalink
Showing 10 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/matrix-sdk-base/src/lib.rs
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))]
#![cfg_attr(test, allow(unexpected_cfgs))] // Triggered by the init_tracing_for_tests!() invocation.
#![warn(missing_docs, missing_debug_implementations)]

pub use matrix_sdk_common::*;
1 change: 0 additions & 1 deletion crates/matrix-sdk-crypto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(missing_docs, missing_debug_implementations)]
#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))]
#![cfg_attr(test, allow(unexpected_cfgs))] // Triggered by the init_tracing_for_tests!() invocation.

pub mod backups;
mod ciphers;
1 change: 0 additions & 1 deletion crates/matrix-sdk-sqlite/src/lib.rs
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@
not(any(feature = "state-store", feature = "crypto-store", feature = "event-cache")),
allow(dead_code, unused_imports)
)]
#![cfg_attr(test, allow(unexpected_cfgs))] // Triggered by the init_tracing_for_tests!() invocation.

#[cfg(feature = "crypto-store")]
mod crypto_store;
2 changes: 0 additions & 2 deletions crates/matrix-sdk-ui/src/lib.rs
Original file line number Diff line number Diff line change
@@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#![cfg_attr(test, allow(unexpected_cfgs))] // Triggered by the init_tracing_for_tests!() invocation.

use ruma::html::HtmlSanitizerMode;

mod events;
2 changes: 0 additions & 2 deletions crates/matrix-sdk-ui/tests/integration/main.rs
Original file line number Diff line number Diff line change
@@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#![allow(unexpected_cfgs)] // Triggered by the init_tracing_for_tests!() invocation.

use itertools::Itertools as _;
use matrix_sdk::deserialized_responses::TimelineEvent;
use ruma::{events::AnyStateEvent, serde::Raw, EventId, RoomId};
1 change: 0 additions & 1 deletion crates/matrix-sdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
#![warn(missing_debug_implementations, missing_docs)]
#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(test, allow(unexpected_cfgs))] // Triggered by the init_tracing_for_tests!() invocation.

pub use async_trait::async_trait;
pub use bytes;
1 change: 0 additions & 1 deletion crates/matrix-sdk/tests/integration/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// The http mocking library is not supported for wasm32
#![cfg(not(target_arch = "wasm32"))]
#![allow(unexpected_cfgs)] // Triggered by the init_tracing_for_tests!() invocation.
use matrix_sdk::{config::SyncSettings, test_utils::logged_in_client_with_server, Client};
use matrix_sdk_test::test_json;
use serde::Serialize;
1 change: 0 additions & 1 deletion testing/matrix-sdk-integration-testing/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![cfg(test)]
#![allow(unexpected_cfgs)] // Triggered by the init_tracing_for_tests!() invocation.

matrix_sdk_test::init_tracing_for_tests!();

2 changes: 1 addition & 1 deletion testing/matrix-sdk-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ serde = { workspace = true }
serde_json = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ctor = "0.2.0"
ctor = "0.2.9"
tokio = { workspace = true, features = ["rt", "macros"] }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
wiremock = { workspace = true }

0 comments on commit ba58813

Please sign in to comment.