2 releases

0.1.1 Mar 25, 2020
0.1.0 Mar 19, 2019

#193 in macOS and iOS APIs


Used in xpc-connection

MIT license

3KB

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

No runtime deps

~0–2MB
~36K SLoC