5 releases

0.2.3 Mar 25, 2020
0.2.2 Mar 19, 2019
0.2.1 Sep 30, 2018
0.2.0 Sep 29, 2018
0.1.0 Sep 26, 2018

#85 in macOS and iOS APIs

MIT license

15KB
298 lines

xpc-connection-rs

shield sys shield

XPC connection bindings for Rust.

What is XPC?

A low-level (libSystem) interprocess communication mechanism that is based on serialized property lists for Mac OS. Read more at the Apple Developer website.

Features

Supported Data Types

  • 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

Yet to Be Supported Data Types

  • activity
  • endpoint
  • shmem

Dependencies

~1–2.7MB
~52K SLoC