-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
21 lines (16 loc) · 943 Bytes
/
clippy.toml
File metadata and controls
21 lines (16 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
allowed-wildcard-imports = [
"sea_orm", "sea_orm_migration", "sea_query",
"axum_s3", "serde_s3",
]
disallowed-methods = [
# { path = "sea_query::query::on_conflict::OnConflict::column", replacement = "sea_query::query::on_conflict::OnConflict::columns" },
# { path = "sea_query::query::on_conflict::OnConflict::update_column", replacement = "sea_query::query::on_conflict::OnConflict::update_columns" },
# { path = "sea_query::query::on_conflict::OnConflict::value", replacement = "sea_query::query::on_conflict::OnConflict::values" },
]
disallowed-names = ["crc32c", "crc64nvme", "etag"]
disallowed-types = [
{ path = "std::sync::Mutex", replacement = "parking_lot::Mutex" },
{ path = "futures::AsyncRead", replacement = "tokio::io::AsyncRead" },
{ path = "futures::AsyncWrite", replacement = "tokio::io::AsyncWrite" },
{ path = "axum::extract::Query", replacement = "axum_extra::extract::Query" },
]