#mac #macOS #xpc

sys xpc-connection-sys

XPC connection bindings for Rust

2 releases

✓ Uses Rust 2018 edition

new 0.1.1 Mar 25, 2020
0.1.0 Mar 19, 2019

#56 in Operating systems


Used in xpc-connection

MIT license

2KB

xpc-connection-rs

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.

Supported Data Types

  • array: Vec<Message>
  • data: Vec<u8>
  • dictionary: HashMap<String, Message>
  • error: MessageError
  • int64: int64
  • string: String
  • uuid: Vec<u8>

Yet to Be Supported Data Types

  • activity
  • bool
  • connection
  • date
  • double
  • endpoint
  • fd
  • null
  • shmem
  • uint64

No runtime deps

~0–1.3MB
~29K SLoC