rust-iocp:用于Rust的Windows IOCP库

  • p4_535914
    了解作者
  • 5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-29 07:20
    上传日期
锈-IOCP Rust-IOCP是用Rust编写的Windows输入/输出完成端口(IOCP)库。 此板条箱仅在Windows中编译-在其他操作系统中,板条箱为空。 安装 从git仓库: [dependencies.iocp] git = " https://github.com/cyderize/rust-iocp.git " 从crates.io: [dependencies] iocp = " 0.0.6 " 并添加extern crate iocp; 到您的项目。 用法 参见示例```examples / main.rs``可以与 cargo run --example main 执照 MIT许可证(MIT) 版权所有(c)2014 Cyderize 特此免费授予获得此软件和相关文档文件(“软件”)副本的任何人无限制地处理软件的权利,包括但不限于使用,复制,修改,合
rust-iocp-master.zip
  • rust-iocp-master
  • src
  • lib.rs
    6.4KB
  • examples
  • main.rs
    1.8KB
  • Cargo.toml
    461B
  • README.md
    1.6KB
  • .gitignore
    20B
内容介绍
Rust-IOCP ============== Rust-IOCP is a Windows Input/Ouput completion port (IOCP) library written in Rust. The crate only compiles in Windows - in other operating systems the crate is simply empty. ## Installation From the git repository: ```INI [dependencies.iocp] git = "https://github.com/cyderize/rust-iocp.git" ``` From crates.io: ```INI [dependencies] iocp = "0.0.6" ``` And add ```extern crate iocp;``` to your project. ## Usage See the example ``` examples/main.rs`` which can be run with ``` cargo run --example main ``` ## License ### The MIT License (MIT) Copyright (c) 2014 Cyderize 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.
评论
    相关推荐