2 个版本
0.1.1 | 2020 年 3 月 25 日 |
---|---|
0.1.0 | 2019 年 3 月 19 日 |
#157 在 macOS 和 iOS API 中
26 每月下载量
用于 xpc-connection
3KB
xpc-connection-rs
Rust 的 XPC 连接绑定。
什么是 XPC?
基于 Mac OS 的序列化属性列表的低级别(libSystem)进程间通信机制。更多内容请参阅 Apple 开发者网站。
功能
audit_token
允许检索客户端的审计令牌。这需要使用私有 API,但这是安全验证客户端的最简单方法。请参阅 CVE-2020-0984 和 这篇有用的博客文章。示例 echo 服务器使用了这个功能。
支持的数据类型
array
:Vec<Message>
bool
:bool
data
:Vec<u8>
date
:SystemTime
dictionary
:HashMap<String, Message>
double
:f64
error
:MessageError
fd
:RawFd
int64
:i64
string
:String
uint64
:u64
uuid
:Vec<u8>
null
尚未支持的数据类型
活动
端点
共享内存
无运行时依赖
~0–1.8MB
~34K SLoC