2个不稳定版本

0.2.0 2024年8月5日
0.1.0 2024年8月5日

#1773 in 网络编程

Download history 246/week @ 2024-08-05

每月 246 下载

MIT 许可证

34KB
400

Async NNG-rs

此Crate提供了利用nng-rs Crate的包装类型,以在NNG套接字上提供异步await操作。

入门

您可以通过cargo将库添加到项目中

$ cargo add async-nng

然后,您需要查看Rust文档以获取有关如何使用库的更多信息。

开发

如果您想向库添加测试或功能,请注意以下事项

  • 此项目广泛使用clippy,并且通常不允许代码库中的lint警告或错误。
  • 所有文件在保存/提交之前必须使用rustfmt(默认设置)格式化。
  • 我们有一个非常严格的提交风格。有关更多信息,请参阅贡献文档

许可证

此Crate和相关代码根据MIT许可证分发,以匹配nng-rs Crate使用的许可证。

Copyright (c) 2024 Jeremy Steward

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

依赖项

~4MB
~101K SLoC