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