2021-09-09 21:31:39 +00:00
|
|
|
[package]
|
|
|
|
name = "riven"
|
2024-03-26 22:08:44 +00:00
|
|
|
version = "2.38.1"
|
2021-09-09 21:31:39 +00:00
|
|
|
authors = ["Mingwei Samuel <mingwei.samuel@gmail.com>"]
|
|
|
|
repository = "https://github.com/MingweiSamuel/Riven"
|
|
|
|
description = "Riot Games API Library"
|
2021-09-10 05:56:14 +00:00
|
|
|
readme = "../README.md"
|
2021-09-09 21:31:39 +00:00
|
|
|
license = "MIT"
|
|
|
|
edition = "2018"
|
2024-02-25 05:41:52 +00:00
|
|
|
include = [ "src/**", "../README.md", "/examples" ]
|
2021-09-09 21:31:39 +00:00
|
|
|
keywords = [ "riot-games", "riot", "league", "league-of-legends" ]
|
2024-02-25 15:38:25 +00:00
|
|
|
categories = [ "api-bindings", "web-programming::http-client", "wasm" ]
|
2021-09-09 21:31:39 +00:00
|
|
|
|
2024-02-24 08:28:22 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2021-09-09 21:31:39 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = [ "nightly" ]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = [ "default-tls" ]
|
|
|
|
|
|
|
|
nightly = [ "parking_lot/nightly" ]
|
|
|
|
|
|
|
|
default-tls = [ "reqwest/default-tls" ]
|
|
|
|
native-tls = [ "reqwest/native-tls" ]
|
|
|
|
rustls-tls = [ "reqwest/rustls-tls" ]
|
|
|
|
|
2022-06-21 03:43:15 +00:00
|
|
|
deny-unknown = [ "deny-unknown-fields", "deny-unknown-enum-variants" ]
|
|
|
|
# If enabled, extra unknown fields encountered during deserialization will
|
|
|
|
# cause an error instead of being ignored.
|
2022-02-11 01:00:21 +00:00
|
|
|
deny-unknown-fields = []
|
2022-06-21 03:43:15 +00:00
|
|
|
# If enabled, deserialization of unknown enum variants will cause an error
|
|
|
|
# instead of being deserialized to `UNKNOWN` or other integer variants.
|
|
|
|
deny-unknown-enum-variants = [ "deny-unknown-enum-variants-strings", "deny-unknown-enum-variants-integers" ]
|
|
|
|
deny-unknown-enum-variants-strings = []
|
|
|
|
deny-unknown-enum-variants-integers = []
|
2022-02-11 01:00:21 +00:00
|
|
|
|
2024-02-25 04:50:00 +00:00
|
|
|
__proxy = []
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "proxy"
|
|
|
|
required-features = [ "__proxy" ]
|
|
|
|
|
2021-09-09 21:31:39 +00:00
|
|
|
[dependencies]
|
2024-02-24 08:28:22 +00:00
|
|
|
futures = "0.3"
|
2021-09-09 21:31:39 +00:00
|
|
|
log = "0.4"
|
|
|
|
num_enum = "0.5"
|
2022-02-09 01:18:16 +00:00
|
|
|
parking_lot = "0.12"
|
2021-09-09 21:31:39 +00:00
|
|
|
reqwest = { version = "0.11", default-features = false, features = [ "gzip", "json" ] }
|
|
|
|
scan_fmt = { version = "0.2", default-features = false }
|
|
|
|
serde = { version = "1.0", features = [ "derive" ] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde_repr = "0.1"
|
2024-03-26 21:59:40 +00:00
|
|
|
slab = "0.4"
|
2021-09-09 21:31:39 +00:00
|
|
|
strum = "0.20"
|
|
|
|
strum_macros = "0.20"
|
|
|
|
tracing = { version = "0.1", optional = true }
|
|
|
|
|
2024-02-24 08:28:22 +00:00
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
|
|
|
tokio = { version = "1", default-features = false, features = [ "time" ] }
|
|
|
|
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
|
|
gloo-timers = { version = "0.3", features = [ "futures" ] }
|
|
|
|
web-time = "1.0.0"
|
|
|
|
|
2021-09-09 21:31:39 +00:00
|
|
|
[dev-dependencies]
|
2023-04-29 19:43:38 +00:00
|
|
|
env_logger = "0.10.0"
|
|
|
|
fake_instant = "0.5.0"
|
2024-01-21 03:31:54 +00:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.2"
|
2024-02-25 04:50:00 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
|
|
|
|
hyper = { version = "0.14", features = [ "server" ] }
|
|
|
|
tokio = { version = "1", features = [ "macros", "rt-multi-thread" ] }
|
|
|
|
tokio-shared-rt = "0.1"
|
|
|
|
|
|
|
|
[target.'cfg(target_family = "wasm")'.dev-dependencies]
|
|
|
|
console_error_panic_hook = "0.1"
|
|
|
|
console_log = "1.0"
|
|
|
|
wasm-bindgen = "0.2"
|
|
|
|
wasm-bindgen-test = "0.3"
|