# 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 = "iotscape" version = "0.5.6" authors = ["Gordon Stein"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library for creating IoTScape services for NetsBlox in Rust" homepage = "https://github.com/gsteinLTU/iotscape-rs" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/gsteinLTU/iotscape-rs" [lib] name = "iotscape" crate-type = ["lib"] path = "src/lib.rs" [[example]] name = "example_service" path = "examples/example_service.rs" [[example]] name = "example_service_tokio" path = "examples/example_service_tokio.rs" [[test]] name = "iotscape" path = "tests/iotscape.rs" [dependencies.futures] version = "0.3" optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.no-std-net] version = "0.6" [dependencies.no_deadlocks] version = "1.3" optional = true [dependencies.reqwest] version = "0.12" features = ["blocking"] optional = true default-features = false [dependencies.serde] version = "1" features = [ "derive", "alloc", ] default-features = false [dependencies.serde_json] version = "1" features = ["alloc"] default-features = false [dependencies.tokio] version = "1" features = ["net"] optional = true default-features = false [dev-dependencies.base64] version = "0.22" [dev-dependencies.reqwest] version = "0.12" features = [ "blocking", "json", "rustls-tls", ] default-features = false [dev-dependencies.simple_logger] version = "5.0.0" [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [ "std", "tokio", "http", ] http = [ "http_announce", "http_response", ] http_announce = [ "std", "dep:reqwest", ] http_response = [ "std", "dep:reqwest", ] no_deadlocks = [ "std", "dep:no_deadlocks", ] std = [] tokio = [ "std", "dep:tokio", "dep:futures", ]