# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75.0" name = "pandascore" version = "0.5.3" authors = ["Anshul Gupta "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust client for the Pandascore API" documentation = "https://docs.rs/pandascore" readme = "README.md" license = "MIT" repository = "https://github.com/ansg191/pandascore" [lib] name = "pandascore" path = "src/lib.rs" [[example]] name = "get_league" path = "examples/get_league.rs" [[example]] name = "get_league_matches" path = "examples/get_league_matches.rs" [[example]] name = "get_league_series" path = "examples/get_league_series.rs" [[example]] name = "get_player" path = "examples/get_player.rs" [[example]] name = "get_tournament_bracket" path = "examples/get_tournament_bracket.rs" [[example]] name = "list_leagues" path = "examples/list_leagues.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "leagues" path = "tests/leagues.rs" [[test]] name = "matches" path = "tests/matches.rs" [[test]] name = "players" path = "tests/players.rs" [[test]] name = "series" path = "tests/series.rs" [[test]] name = "teams" path = "tests/teams.rs" [[test]] name = "tests" path = "tests/tests.rs" [[test]] name = "tournaments" path = "tests/tournaments.rs" [dependencies.bon] version = "2.2.0" [dependencies.compact_str] version = "0.8.0" features = ["serde"] [dependencies.linkify] version = "0.10.0" [dependencies.petgraph] version = "0.6.5" [dependencies.regex] version = "1.10.6" [dependencies.reqwest] version = "0.12.7" default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_path_to_error] version = "0.1.16" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" features = [ "formatting", "parsing", "serde", "macros", ] [dependencies.tower] version = "0.5.0" features = ["util"] [dependencies.url] version = "2.5" [dev-dependencies.anyhow] version = "1" [dev-dependencies.http] version = "1" [dev-dependencies.reqwest] version = "0.12.7" [dev-dependencies.tokio] version = "1.39.3" features = [ "macros", "rt", "rt-multi-thread", ] [lints.clippy] as_underscore = "warn" clone_on_ref_ptr = "warn" format_push_string = "warn" missing_errors_doc = "warn" missing_panics_doc = "warn" module_name_repetitions = "allow" multiple_unsafe_ops_per_block = "deny" renamed_function_params = "warn" str_to_string = "warn" struct_excessive_bools = "allow" undocumented_unsafe_blocks = "deny" [lints.clippy.nursery] level = "warn" priority = -2 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust]