pu369com

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 33 下一页

2021年8月19日

rust遇到了error[E0554]: `#![feature]` may not be used on the stable release channel(切换nightly版本)

摘要: 参考:https://blog.51cto.com/u_14256460/2627326 从错误信息`#![feature]` may not be used on the stable release channel可以看出当前编译使用的channel还没有包含#![feature]功能,那咋办呢 阅读全文

posted @ 2021-08-19 12:48 pu369com 阅读(4878) 评论(0) 推荐(1)

2021年8月18日

利用github免费建立静态网站

摘要: 安装git并在cmd中执行: set https_proxy=127.0.0.1:1080 set http_proxy=127.0.0.1:1080 set GIT_SSL_NO_VERIFY=true 1 在github注册用户名、密码。 2 比如用户名是XX就在github上建立名为XX.gi 阅读全文

posted @ 2021-08-18 16:52 pu369com 阅读(181) 评论(0) 推荐(0)

rust之#[derive(Debug)]

摘要: 参考:https://rust-by-example.budshome.com/hello/print/print_debug.html cargo new hello main.rs #[derive(Debug)] struct Person<'a> { name: &'a str, age: 阅读全文

posted @ 2021-08-18 16:29 pu369com 阅读(2607) 评论(0) 推荐(0)

rust创建自己的库文件

摘要: 参考 https://blog.csdn.net/quicmous/article/details/113829830 1 创建工程 选择合适的文件夹,执行下面的命令: cargo new hello cargo new hellolib --lib 2. 源代码 hellolib/src/lib. 阅读全文

posted @ 2021-08-18 15:28 pu369com 阅读(383) 评论(0) 推荐(0)

Rust 的宏

摘要: 参考https://www.cnblogs.com/praying/p/14457360.html https://zhuanlan.zhihu.com/p/342408254 (Rust过程宏入门(一)及后续) https://dengjianping.github.io/2019/02/28/% 阅读全文

posted @ 2021-08-18 12:54 pu369com 阅读(94) 评论(0) 推荐(0)

2021年8月17日

Rust 学习之 Package、Crate、Module

摘要: Shesh's blog的那篇Clear explanation of Rust’s module system写的太好了。 详见http://www.sheshbabu.com/posts/rust-module-system/ 为加深理解,实际操作一下,直接做成最终版本项目结构: 1 执行 ca 阅读全文

posted @ 2021-08-17 18:10 pu369com 阅读(233) 评论(0) 推荐(0)

2021年8月16日

如何从Rust发出HTTP请求

摘要: 参考 https://blog.csdn.net/weixin_34902131/article/details/112822347 1、在https://docs.rs/ 搜索 hyper , 例子中说 有一个 full client example. 2、github被q, 到https://h 阅读全文

posted @ 2021-08-16 18:48 pu369com 阅读(1285) 评论(0) 推荐(0)

2021年8月13日

rust hello world --引入第三方库或 crates

摘要: 1 hello world 的例子可参考 https://kaisery.github.io/trpl-zh-cn/ 及 https://rust-by-example.budshome.com/index.html 2、下面参考 https://www.twle.cn/c/yufei/rust/r 阅读全文

posted @ 2021-08-13 19:16 pu369com 阅读(1518) 评论(0) 推荐(0)

2021年8月12日

github连接超时

摘要: 参考 https://blog.csdn.net/weixin_45942304/article/details/106655158 1 修改 C:\Windows\System32\drivers\etc\host 加入以下内容 #github192.30.255.112 github.com g 阅读全文

posted @ 2021-08-12 16:51 pu369com 阅读(90) 评论(0) 推荐(0)

2021年8月11日

win10下 Rust 环境搭建

摘要: 参考 菜鸟教程 https://www.runoob.com/rust/cargo-tutorial.html 1、安装最新版的 Rust 编译工具和 Visual Studio Code。 Rust 编译工具:https://www.rust-lang.org/zh-CN/tools/instal 阅读全文

posted @ 2021-08-11 18:40 pu369com 阅读(474) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 33 下一页

导航