summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 0d5d81b596a5c3521d2b882b2e8f7154512b456d (plain) (blame)
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
46
47
48
49
50
51
52
[package]
name = "pandascore"
description = "A Rust client for the Pandascore API"
authors = ["Anshul Gupta <ansg191@anshulg.com>"]
version = "0.5.1"
repository = "https://github.com/ansg191/pandascore"
documentation = "https://docs.rs/pandascore"
license = "MIT"
edition = "2021"
rust-version = "1.75.0"

[dependencies]
bon = "2.2.0"
compact_str = { version = "0.8.0", features = ["serde"] }
linkify = "0.10.0"
petgraph = "0.6.5"
regex = "1.10.6"
reqwest = { version = "0.12.7", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
serde_path_to_error = "0.1.16"
thiserror = "1"
time = { version = "0.3", features = ["formatting", "parsing", "serde", "macros"] }
tower = { version = "0.5.0", features = ["util"] }
url = "2.5"

[dev-dependencies]
anyhow = "1"
http = "1"
reqwest = "0.12.7"
tokio = { version = "1.39.3", features = ["macros", "rt", "rt-multi-thread"] }

[lints.rust]

[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -2 }

as_underscore = "warn"
clone_on_ref_ptr = "warn"
format_push_string = "warn"
str_to_string = "warn"
renamed_function_params = "warn"

multiple_unsafe_ops_per_block = "deny"
undocumented_unsafe_blocks = "deny"

module_name_repetitions = "allow"
struct_excessive_bools = "allow"

missing_errors_doc = "warn"
missing_panics_doc = "warn"