-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (40 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "unisock"
version = "1.0.0"
edition = "2021"
authors = ["Jiening Yu <[email protected]>"]
description = "Unified socket with different implementations"
repository = "https://codeberg.org/DM-Earth/unisock"
license = "AGPL-3.0-or-later"
keywords = ["socket", "unisock"]
categories = ["network-programming", "asynchronous"]
[dependencies]
[lints]
workspace = true
[workspace]
members = ["impl/*"]
[workspace.lints.rust]
missing-docs = "warn"
missing-debug-implementations = "warn"
let-underscore-drop = "warn"
single-use-lifetimes = "warn"
trivial-numeric-casts = "warn"
elided-lifetimes-in-paths = "deny"
unused-lifetimes = "forbid"
unused-macro-rules = "warn"
unused-qualifications = "warn"
variant-size-differences = "warn"
dyn-drop = "forbid"
ellipsis-inclusive-range-patterns = "forbid"
exported-private-dependencies = "forbid"
uncommon-codepoints = "deny"
[workspace.lints.clippy]
cloned-instead-of-copied = "warn"
if-not-else = "warn"
if-then-some-else-none = "warn"
impl-trait-in-params = "warn"
macro-use-imports = "forbid"
str-to-string = "warn"
use-debug = "warn"
iter-without-into-iter = "warn"
decimal-literal-representation = "warn"