# 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 = "2021" name = "armonik" version = "3.21.0-beta-3" authors = ["Florian Lemaitre "] build = "build.rs" include = [ "**/*.rs", "Cargo.toml", "LICENSE", "README.md", "protos/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for the ArmoniK API" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/aneoconsulting/ArmoniK.Api" [lib] name = "armonik" path = "src/lib.rs" [[test]] name = "agent" path = "tests/agent.rs" required-features = [ "agent", "worker", ] [[test]] name = "applications" path = "tests/applications.rs" required-features = [ "client", "server", ] [[test]] name = "auth" path = "tests/auth.rs" required-features = [ "client", "server", ] [[test]] name = "events" path = "tests/events.rs" required-features = [ "client", "server", ] [[test]] name = "partitions" path = "tests/partitions.rs" required-features = [ "client", "server", ] [[test]] name = "results" path = "tests/results.rs" required-features = [ "client", "server", ] [[test]] name = "sessions" path = "tests/sessions.rs" required-features = [ "client", "server", ] [[test]] name = "submitter" path = "tests/submitter.rs" required-features = [ "client", "server", ] [[test]] name = "tasks" path = "tests/tasks.rs" required-features = [ "client", "server", ] [[test]] name = "versions" path = "tests/versions.rs" required-features = [ "client", "server", ] [[test]] name = "worker" path = "tests/worker.rs" required-features = [ "agent", "worker", ] [dependencies.futures] version = "0.3" [dependencies.hyper] version = "1.5" features = [ "client", "http1", "http2", ] optional = true [dependencies.hyper-rustls] version = "0.27" features = [ "http1", "http2", ] optional = true [dependencies.prost] version = "0.13" [dependencies.prost-types] version = "0.13" [dependencies.rustls] version = "0.23" features = ["ring"] optional = true [dependencies.snafu] version = "0.8" [dependencies.tokio] version = "1.42" optional = true default-features = false [dependencies.tokio-util] version = "0.7" optional = true [dependencies.tonic] version = "0.12" features = [ "codegen", "prost", ] default-features = false [dependencies.tracing] version = "0.1" [dev-dependencies.async-stream] version = "0.3" [dev-dependencies.eyre] version = "0.6" [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.hyper-util] version = "0.1" features = [ "client", "http1", ] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.serial_test] version = "3.1" [dev-dependencies.tokio] version = "1.41" features = [ "rt-multi-thread", "macros", "sync", "time", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [build-dependencies.tonic-build] version = "0.12" [features] _gen-client = [ "tonic/channel", "dep:rustls", "dep:hyper-rustls", "dep:hyper", ] _gen-server = [ "tonic/server", "dep:tokio-util", "dep:tokio", ] agent = [ "_gen-client", "_gen-server", ] client = ["_gen-client"] default = ["client"] server = ["_gen-server"] worker = [ "_gen-client", "_gen-server", ]