# 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 = "roblib-client" version = "0.1.0" authors = [ "Beni69 (https://github.com/beni69)", "Kris030 (https://github.com/Kris030)", ] description = "A client library for a dank engine" homepage = "https://github.com/kareszklub/roblib-rs" readme = "README.md" license = "LGPL-2.1-or-later" repository = "https://github.com/kareszklub/roblib-rs" [[example]] name = "latency" required-features = ["default"] [[example]] name = "simple" required-features = [ "default", "roland", ] [[example]] name = "blink" required-features = [ "default", "gpio", ] [[example]] name = "gpio_in" required-features = [ "default", "gpio", ] [[example]] name = "controller" required-features = [ "default", "roland", "gpio", "camloc", ] [[example]] name = "sensor" required-features = [ "default", "roland", ] [[example]] name = "circle" required-features = [ "default", "roland", ] [[example]] name = "async" required-features = [ "roland", "async", "tcp", "http", "ws", ] [[example]] name = "gpio_in_async" required-features = [ "default", "gpio", "async", ] [[example]] name = "servo" required-features = [ "default", "roland", "async", ] [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" optional = true [dependencies.bincode] version = "1.3" [dependencies.env_logger] version = "0.10" [dependencies.futures] version = "0.3" optional = true [dependencies.log] version = "0.4" [dependencies.reqwest] version = "0.11" features = [] optional = true default_features = false [dependencies.roblib] version = "0.1.0" [dependencies.serde] version = "1" [dependencies.tokio] version = "1.29" features = [ "net", "rt", "macros", "sync", "time", "io-util", ] optional = true default_features = false [dependencies.tokio-tungstenite] version = "0.20" optional = true [features] all = [ "roland", "gpio", "camloc", "async", "tcp", "udp", "http", "ws", ] async = [ "roblib/async", "dep:async-trait", "dep:tokio", ] camloc = ["roblib/camloc"] default = ["tcp"] gpio = ["roblib/gpio"] http = [ "async", "dep:reqwest", ] roland = ["roblib/roland"] tcp = [] udp = [] ws = [ "async", "dep:tokio-tungstenite", "dep:futures", ]