惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Rust

如何理解 rust 闭包的借用值机制? 被借用的值在闭包内到底是什么类型? [开源] Best of RS - 一个由 Rust 编写的追踪 Rust 开源趋势的全栈 web 项目 Rust 真是非常适合 AI vibe coding 的语言 Pumpkin - 使用 Rust 开发的高性能 Minecraft 服务端 开源这两天 Vibe 的 Rust 重写的 OpenClaw 用 rust 写了一个非常简单的局域网文本同步的小玩意 Contributions to Rust and LLVM in 2025 Linux 内核中的 rust 2025 年度 Rust 语言社区调查 已经发布 rust 让我抓狂、擦汗 推荐一款我写的动态配置语言: Faml 如何看待 Rust? Rust Web 开发脚手架 v0.6 发布啦! rathole 这个项目是不维护了吗? 之前那个 rust 贡献大佬找到工作了,找他的团队还不少 太快了! Rust 太快了! 介绍一个 like rails 的 rust 框架。 性能和开发速度都快。 除了写小工具外再也不想用 Rust 了 rust 我想你了 rust 程序员的硬盘是多大的? nodejs 继任者? rust 练手写的,仿 uv 包管理器 av Rust 的安全神话?为何在关键系统如数据库、大模型代码中仍选 C++ rust 实现的抓包存盘的程序 nsave 有人使用 Rust 重构过旧项目吗? 使用 WebAssembly 构建的高性能在线计算工具 很奇怪,为什么使用 Rust 开发的软件,作者喜欢把 Rust 作为宣传点之一 tikio 里面的代码怎么调试呢 有人在用 rust 写 web api 吗? rust 来得快去得也快 rust 的有没有什么好的论坛? 这里搞 Rust 的多吗? 目前 Rust 最好的开发工具是哪个? rust 编译报错函数重复定义 Rust 学习几个月之后,真正要自己写的时候就懵逼 关于 rust axum 中使用 gprc 的一个疑惑 std::net::UdpSocket 的 shutdown 机制是我理解出了问题么? 写了一个从 modelscope 下载模型的 crate 看到这样的 rust 代码要懵逼了,不知道咋入手,求指导 Rust 两次入门后,尝试写一个 web 项目,懵逼中~ 求帮打包个 exe Rust HTTP Client, Golang tls-client/utls 的完美替代品 Rust 编写的高性能 HTTP/HTTPS/SOCKS5 代理服务器 Rust API 开发脚手架 FnOne 特征是至少调用一次还是只能调用一次? 大佬们,一人来一道 Rust 面试题,准备年后跳槽 请教 rust 如何做到交叉编译 理了一下手上惯用的一些命令行小工具,发现蛮多是 rust 写的。是不是 rust 也适合做这种小工具 rust 怎么不通过管理员权限的情况下拿到 windows 用户所有的 uwp 应用名称,图标和路径 统计下放弃 RUST 的人的数量=== 关于 Rust 所有权,如果对 mut 变量进行嵌套 mut 引用该怎么理解?
[寻求帮助 Linux ] 用 rust 写了一个跨平台输入监听库(鼠标键盘)
lete · 2026-01-15 · via Rust

lete

V2EX  ›  Rust

 

lete · 1 月 15 日 · 2376 次点击

这是一个创建于 131 天前的主题,其中的信息可能已经有所发展或是发生改变。

如题,目前实现了 windows 、macos

主要功能

  1. 拦截输入
  2. 监听输入
  3. 模拟输入
  4. 显示器信息

我对 linux 不是很了解(含桌面端),可视化图形界面框架不统一 x11 ,Wayland ...还有其他?

看了一些资料,说 x11 虽然开放,但逐步淘汰且不安全,wayland 安全且封闭是新标准,看了一下基本上都需要 root 用户或 input 权限用户才有可能实现这些功能

发帖想问问大佬们有没有什么思路,还是说只有这条路线可行?

目前打算先搁置 linux 平台功能,后续如果有好的方案再写(因为还没有准备好该这么做更好)。如果有大佬感兴趣的话可以一起写哈哈哈

GitHub: https://github.com/lete114/raw-input