# 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" name = "pterodactyl_api" version = "0.2.0" description = "Library to interface with the Pterodactyl API" homepage = "https://github.com/Earthcomputer/pterodactyl_api" readme = "README.md" license = "MIT" repository = "https://github.com/Earthcomputer/pterodactyl_api" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-tungstenite] version = "0.28" optional = true [dependencies.bytes] version = "1.8" [dependencies.futures-core] version = "0.3" optional = true [dependencies.futures-io] version = "0.3" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.reqwest] version = "0.12" features = ["json"] [dependencies.serde] version = "1.0" features = ["serde_derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "2.0" [dependencies.time] version = "0.3" features = ["parsing"] [dependencies.urlencoding] version = "2.1" [dependencies.uuid] version = "1.11" features = ["serde"] [dev-dependencies.async-tungstenite] version = "0.28" features = [ "tokio-runtime", "tokio-native-tls", ] [dev-dependencies.tokio] version = "1.41" features = ["macros"] [features] stream = [ "reqwest/stream", "futures-core", ] websocket = [ "async-tungstenite", "futures-io", "futures-util", ]