[package]
edition = "2021"
name = "sindit-senml"
version = "0.3.0"
authors = ["Antoine Pultier <antoine.pultier@sintef.no>"]
build = false
include = [
"README.md",
"src/*.rs",
"Cargo.toml",
"Cargo.lock",
"LICENSE",
"tests/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the SenML RFC8428 proposed standard"
documentation = "https://docs.rs/sindit-senml"
readme = "README.md"
keywords = [
"iot",
"senml",
"rfc8428",
"json",
"sensor",
]
license = "Apache-2.0"
repository = "https://github.com/SINTEF/sindit-senml/"
[features]
default = ["float_roundtrip"]
float_roundtrip = ["serde_json/float_roundtrip"]
stream = []
[lib]
name = "sindit_senml"
path = "src/lib.rs"
[[test]]
name = "float_roundtrip_test"
path = "tests/float_roundtrip_test.rs"
[[test]]
name = "senml_specification_examples"
path = "tests/senml_specification_examples.rs"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.once_cell]
version = "1.18"
[dependencies.regex]
version = "1.5"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.struson]
version = "0.7"
features = ["serde"]
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.lazy_static]
version = "1.4"