【Rust日报】 2019-06-30

in #rust6 years ago

cbs - 在命令行中管理剪贴板

可以在 Linux,macOS 和 Windows(暂不确定)上工作。如何使用:

  • copy text to clipboard: cbs -c "Text to be copied to clipboard"
  • paste copied text: cbs -p
  • copy from stdin: cat exmaple-file.txt | cbs

Repo

例子:使用 Rust Async/Await 和 Epoll 配合使用写一个简单的 http 服务器

这个例子写得非常清晰,详细,是作者为了学习 Rust 异步开发的一个尝试。强烈推荐学习。当然,它只能在 Linux 上运行(因为 epoll)。

另外,Reddit 上的大神们给了一些改进建议

Repo

basic-http-server - 另一个静态 http 服务器的示例教程

由 brson 大佬维护,代码中给了详尽的注释,是很好的学习教项目。其实平时测试时也是可以用的:

cargo install basic-http-server

Repo

Jonhoo 要在线开问答了

对,就是那个 MIT 博士生,之前在 youtube 上录过超长时间 Rust 教程讲异步的那位小青年。他真的很热心。开问答的时间是:

01:00
Sunday, June 30
China Standard Time

不过,好像我们这边在睡眠中。

Repo

下面这个帖子的跟帖很有价值。

Read More


From 日报小组 Mike

日报订阅地址:

独立日报订阅地址:

社区学习交流平台订阅:

Sort:  

Congratulations @blackanger! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published a post every day of the week

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!