[package] name = "mio_license" version = "0.0.1" authors = [ "Marc-Antoine Arnaud ", ] description = "License validator for Media-IO company" readme = "README.md" license = "MIT" edition = "2018" [lib] crate-type = ["cdylib", "rlib"] [registries] REGISTRY_NAME = { index = "https://dl.cloudsmith.io/fa9f4994c759c73ee008c108a0f2eab211795caa/marc-antoine-arnaud/mio_license/cargo/index.git" } [dependencies] async-trait = "0.1" base64 = "0.12" clap = "2.33" chrono = "0.4" futures = "0.3" futures-util = { version = "0.3", default-features = false, features = ["async-await", "sink", "std"] } hex = "0.4" log = "0.4" reqwest = {version = "0.10", features = ['json']} serde = "^1.0" serde_derive = "^1.0" serde_json = "^1.0" time = "0.2" url = "2.0.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] futures-channel = "0.3" native-tls = "0.2" tungstenite = "0.10" tokio-tungstenite = {version = "0.10", features = ["tls"]} tokio = { version = "0.2", default-features = false, features = ["io-std", "macros", "stream", "time"] } tokio-tls = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = "0.1" console_log = "0.2" js-sys = "0.3" wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" web-sys = {version = "0.3", features = ["Location", "WebSocket", "Window"]} [dev-dependencies] mockito = "0.26" params = "0.8.0" rusoto_credential = "0.44.0" rusoto_signature = "0.44.0" rusoto_s3 = "0.44.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] hmac = "0.8" iron = "0.6" jsonwebtoken = "7" mount = "0.4" router = "0.6" sha2 = "0.9" simple_logger = "1.5" [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3" [build-dependencies] built = "0.4"