1 个不稳定版本
0.1.0 | 2019年8月21日 |
---|
#27 in #serving
24 每月下载量
在 async-coap-tokio 中使用
670KB
12K SLoC
rust-async-coap:一个实验性的异步 CoAP 库
简介
rust-async-coap
是一个用于使用和提供约束应用协议 (CoAP) 资源的实验性异步Rust库。
此库提供了一个用于使用和提供 CoAP 资源的灵活、异步接口。包括一个后端,它围绕 Rust 的标准 UdpSocket
封装,但可以被支持 DTLS、SMS 或其他任何您可能想到的后端所替换。
有关更多信息,请参阅 crate 文档。
使用
将此内容添加到您的 Cargo.toml
[dependencies]
async-coap = "0.1.0"
现在,您可以使用 rust-async-coap
use async_coap::prelude::*;
许可证
rust-async-coap 在 Apache 2.0 许可证 下发布。
Copyright (c) 2019 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://apache.ac.cn/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
免责声明
这不是一个官方支持的 Google 产品。
依赖关系
~8MB
~152K SLoC