2021-09-09 21:31:39 +00:00
|
|
|
[package]
|
|
|
|
name = "riven"
|
2021-09-28 02:49:11 +00:00
|
|
|
version = "2.0.0"
|
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"
|
2021-09-10 05:56:14 +00:00
|
|
|
include = [ "src/**", "../README.md" ]
|
2021-09-09 21:31:39 +00:00
|
|
|
keywords = [ "riot-games", "riot", "league", "league-of-legends" ]
|
|
|
|
categories = [ "api-bindings", "web-programming::http-client" ]
|
|
|
|
|
|
|
|
#[badges]
|
|
|
|
#travis-ci = { repository = "MingweiSamuel/Riven" }
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[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" ]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
lazy_static = "1.4"
|
|
|
|
log = "0.4"
|
|
|
|
num_enum = "0.5"
|
|
|
|
parking_lot = "0.11"
|
|
|
|
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"
|
|
|
|
strum = "0.20"
|
|
|
|
strum_macros = "0.20"
|
|
|
|
tokio = { version = "1", default-features = false, features = [ "time", "macros", "parking_lot" ] }
|
|
|
|
tracing = { version = "0.1", optional = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
colored = "2"
|
|
|
|
env_logger = "0.9"
|
|
|
|
fake_instant = "0.4"
|
|
|
|
tokio = { version = "1", default-features = false, features = [ "rt-multi-thread" ] }
|