system_configuration/lib.rs
1// Copyright 2017 Amagicom AB.
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! # SystemConfiguration bindings
10//!
11//! This crate is a high level binding to the Apple [SystemConfiguration] framework. For low level
12//! FFI bindings, check out the [`system-configuration-sys`] crate.
13//!
14//! This crate only implements a small part of the [SystemConfiguration] framework so far. If you
15//! need a yet unimplemented part, feel free to submit a pull request!
16//!
17//! [SystemConfiguration]: https://developer.apple.com/documentation/systemconfiguration?language=objc
18//! [`system-configuration-sys`]: https://crates.io/crates/system-configuration-sys
19
20#![deny(missing_docs)]
21
22/// CoreFoundation wrappers
23#[macro_use]
24pub extern crate core_foundation;
25/// Low-level SystemConfiguration bindings
26pub extern crate system_configuration_sys as sys;
27
28pub mod dynamic_store;
29pub mod network_configuration;
30pub mod network_reachability;
31pub mod preferences;