You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-19 00:26:27 +03:00
Enable clippy lints on a workspace level
This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
This commit is contained in:
@@ -7,6 +7,9 @@ license.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
async-graphql = { version = "6.0.11", features = ["chrono", "url"] }
|
||||
@@ -29,3 +32,4 @@ mas-storage = { path = "../storage" }
|
||||
|
||||
[[bin]]
|
||||
name = "schema"
|
||||
doc = false
|
||||
|
||||
@@ -12,19 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(
|
||||
clippy::all,
|
||||
clippy::str_to_string,
|
||||
rustdoc::broken_intra_doc_links,
|
||||
clippy::future_not_send
|
||||
)]
|
||||
#![warn(clippy::pedantic)]
|
||||
#![allow(
|
||||
clippy::module_name_repetitions,
|
||||
clippy::missing_errors_doc,
|
||||
clippy::unused_async
|
||||
)]
|
||||
#![deny(clippy::future_not_send)]
|
||||
#![allow(clippy::module_name_repetitions, clippy::unused_async)]
|
||||
|
||||
use async_graphql::EmptySubscription;
|
||||
use mas_data_model::{BrowserSession, Session, User};
|
||||
|
||||
Reference in New Issue
Block a user