# 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 = "2018" name = "ya-runtime-api" version = "0.7.0" authors = ["Golem Factory "] description = "Communication API between the Runtime and ExeUnit Supervisor. Provides server implementation for Runtime and client implementation for Supervisor." homepage = "https://github.com/golemfactory/yagna/tree/master/exe-unit/runtime-api" license = "GPL-3.0" repository = "https://github.com/golemfactory/yagna" [[example]] name = "runtime-server-mock" required-features = ["server"] [dependencies.anyhow] version = "1.0.31" [dependencies.bytes] version = "1.0" [dependencies.futures] version = "0.3" optional = true [dependencies.log] version = "0.4" [dependencies.prost] version = "0.10" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1" features = [ "io-std", "rt", "process", "sync", ] optional = true [dependencies.tokio-util] version = "0.7" features = ["codec"] optional = true [dependencies.url] version = "2.3" [dev-dependencies.env_logger] version = "0.7" [dev-dependencies.tokio] version = "1" features = [ "macros", "time", ] [build-dependencies.prost-build] version = "0.10" [features] codec = [] default = ["server"] server = [ "prost", "futures", "tokio", "tokio-util", ]