# 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.80.0" name = "irelia" version = "0.8.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust wrapper around the native LoL APIs" homepage = "https://github.com/AlsoSylv/Irelia" documentation = "https://docs.rs/irelia" readme = "README.md" keywords = [ "riot", "league", "league-of-legends", "lcu", "riot-games", ] categories = [ "api-bindings", "asynchronous", "api-bindings", ] license = "MIT" repository = "https://github.com/AlsoSylv/Irelia" [package.metadata.docs.rs] features = [ "full", "replay", ] [lib] name = "irelia" path = "src/lib.rs" [[example]] name = "in_game" path = "examples/in_game.rs" [[example]] name = "replay" path = "examples/replay.rs" required-features = ["replay"] [[example]] name = "rest" path = "examples/rest.rs" [[example]] name = "websocket" path = "examples/websocket.rs" [dependencies.hashlink] version = "0.9" features = ["serde_impl"] optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.hyper] version = "1.4" features = ["http1"] optional = true default-features = false [dependencies.hyper-rustls] version = "0.27" features = [ "http1", "rustls-native-certs", "ring", ] optional = true default-features = false [dependencies.hyper-util] version = "0.1" features = [ "client-legacy", "http1", ] optional = true default-features = false [dependencies.irelia_encoder] version = "0.1" [dependencies.rmp-serde] version = "1.3.0" [dependencies.rmpv] version = "1.3.0" features = ["with-serde"] default-features = false [dependencies.rustls] version = "0.23" default-features = false [dependencies.serde] version = "1.0" features = ["std"] default-features = false [dependencies.serde_derive] version = "1.0" optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["std"] optional = true default-features = false [dependencies.sysinfo] version = "0.31" features = ["system"] optional = true default-features = false [dependencies.time] version = "0.3" optional = true default-features = false [dependencies.tungstenite] version = "0.23" features = ["__rustls-tls"] optional = true [dev-dependencies.base64] version = "0.22.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde_json] version = "1.0" features = ["std"] default-features = false [dev-dependencies.tokio] version = "1.37" features = [ "sync", "rt", "macros", "rt-multi-thread", ] [build-dependencies.prettyplease] version = "0.2.20" [build-dependencies.quote] version = "1.0.36" [build-dependencies.rustls-pemfile] version = "2.1" features = [] default-features = false [build-dependencies.rustls-webpki] version = "0.102.4" default-features = false [build-dependencies.syn] version = "2.0.72" [features] default = ["full"] encoder_nightly = ["irelia_encoder/nightly"] encoder_simd = ["irelia_encoder/simd"] full = [ "rest", "in_game", "ws", ] in_game = [ "dep:hyper", "dep:hyper-util", "dep:http-body-util", "dep:serde_derive", "dep:hyper-rustls", "dep:time", ] replay = ["in_game"] rest = [ "dep:serde_derive", "dep:hyper", "dep:hyper-util", "dep:http-body-util", "dep:hyper-rustls", "dep:sysinfo", "dep:hashlink", ] rest_schema = ["serde_json"] ws = [ "dep:tungstenite", "dep:sysinfo", "dep:serde_derive", "serde_json", ]