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