# 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" rust-version = "1.72.0" name = "astarte-device-sdk" version = "0.9.2" build = false include = [ "/LICENSES", "/examples", "/migrations", "/queries", "/src", "/CHANGELOG.md", "/LICENSE", "/README.md", "!*.sqlite*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A library that provides communication and pairing primitives to an Astarte Cluster" homepage = "https://astarte.cloud/" documentation = "https://docs.rs/astarte-device-sdk" readme = "README.md" keywords = [ "sdk", "iot", "astarte", ] categories = [ "embedded", "api-bindings", ] license = "Apache-2.0" repository = "https://github.com/astarte-platform/astarte-device-sdk-rust" [package.metadata.docs.rs] all-features = true rustc-args = ["--cfg=docsrs"] [lib] name = "astarte_device_sdk" path = "src/lib.rs" [[example]] name = "individual_datastream" path = "examples/individual_datastream/main.rs" [[example]] name = "individual_properties" path = "examples/individual_properties/main.rs" [[example]] name = "object_datastream" path = "examples/object_datastream/main.rs" [[example]] name = "registration" path = "examples/registration/main.rs" [[example]] name = "retention" path = "examples/retention/main.rs" [dependencies.ahash] version = "0.8.8" [dependencies.astarte-device-sdk-derive] version = "=0.9.2" optional = true [dependencies.astarte-message-hub-proto] version = "0.7.0" optional = true [dependencies.async-trait] version = "0.1.67" [dependencies.base64] version = "0.22.0" [dependencies.bson] version = "2.7.0" features = ["chrono-0_4"] [dependencies.bytes] version = "1.5.0" [dependencies.chrono] version = "0.4.20" features = ["serde"] [dependencies.flate2] version = "1.0.0" [dependencies.flume] version = "0.11.0" features = ["async"] [dependencies.futures] version = "0.3.0" [dependencies.http] version = "1.0.0" [dependencies.itertools] version = "0.11.0" [dependencies.once_cell] version = "1.18.0" [dependencies.openssl] version = "0.10.46" optional = true [dependencies.rand_core] version = "0.6.4" features = ["getrandom"] [dependencies.rcgen] version = "0.13.1" [dependencies.reqwest] version = "0.12.0" features = [ "json", "rustls-tls", ] [dependencies.rumqttc] version = "0.24.0-devpatch" features = ["use-rustls"] package = "rumqttc-dev-patched" [dependencies.rusqlite] version = "0.29.0" [dependencies.rustls] version = "0.22.2" [dependencies.rustls-native-certs] version = "0.7.0" [dependencies.rustls-pemfile] version = "2.1.0" [dependencies.serde] version = "1.0.184" features = ["derive"] [dependencies.serde_json] version = "1.0.85" [dependencies.sync_wrapper] version = "1.0.0" [dependencies.thiserror] version = "1.0.35" [dependencies.time] version = "0.3.35" [dependencies.tokio] version = "1.36.0" features = [ "parking_lot", "macros", "fs", ] [dependencies.tracing] version = "0.1.37" [dependencies.url] version = "2.2.2" features = ["serde"] [dependencies.uuid] version = "1.1.2" features = [ "v4", "v5", ] [dev-dependencies.astarte-device-sdk-derive] version = "=0.9.2" [dev-dependencies.env_logger] version = "0.11.0" [dev-dependencies.mockall] version = "0.12.1" [dev-dependencies.mockito] version = "1.4.0" [dev-dependencies.tempfile] version = "3.6.0" [dev-dependencies.tokio] version = "1.36.0" features = [ "rt", "rt-multi-thread", "signal", ] [dev-dependencies.tokio-stream] version = "0.1.0" features = ["net"] [features] default = [ "interface-strict", "sqlite-trace", "tokio-multi-thread", ] derive = ["dep:astarte-device-sdk-derive"] interface-doc = [] interface-strict = [] message-hub = ["dep:astarte-message-hub-proto"] openssl = ["dep:openssl"] sqlite-trace = ["rusqlite/trace"] tokio-multi-thread = ["tokio/rt-multi-thread"]