PackageTrack
Sign in Get early access

system-configuration-sys

Low level bindings to SystemConfiguration framework for macOS

0.6.0 172M downloads/mo #563 most downloaded on crates.io mullvad/system-configuration-rs

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships fairly regularly

a new release about every 12 months

Nearly every release is documented

notes for 6 of 6 stable releases

1 version withdrawn

withdrawn after publishing

9 years old

7 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Feb 2018 to Jan 2024
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 7
  1. 0.6.0 31 Jan 2024
    Release notes

    Changed

    • Bump minimum supported Rust version (MSRV) to 1.64.0.
    • Breaking: Mark SCNetworkReachability::schedule_with_runloop and unschedule_from_runloop as unsafe. They accept a raw pointer that it dereferences. Figuring out a safe API around this is left as an exercise for the future.
    • Breaking: ReachabilityFlags no longer implements Ord or PartialOrd. It also replaces the from_bits_unchecked constructor with other (safe) from_bits_* constructors.

    Fixed

    • Fix memory leak in SCNetworkReachability::set_callback.
    • Fix builds on iOS by removing references to deprecated interface type kSCNetworkInterfaceTypeIrDA. Also remove constant for bridge network interfaces (kSCNetworkInterfaceTypeBridge).
    Open source →
  2. 0.5.0 04 Jan 2022
    Release notes

    Changed

    • Upgrade crates to Rust 2021 edition.
    • Bump minimum supported Rust version (MSRV) to 1.56.0.
    • Upgrade core-foundation to 0.9 and core-foundation-sys to 0.8. This is a breaking change since those crates are publicly re-exported from these crates.
    Open source →
  3. 0.4.1 04 Jun 2020
    Release notes

    Fixed

    • Bump the required libc version from 0.2.0 to 0.2.49 to fix the build
    Open source →
  4. 0.4.0 04 Jun 2020 withdrawn
    Release notes

    Added

    • Add bindings for SCNetworkInterface.
    • Add bindings for SCNetworkReachability and related types.

    Changed

    • Bump minimum supported Rust version to 1.36
    • Update core-foundation dependency to 0.7

    Fixed

    • Move SCNetworkReachability and related types from network_configuration into their own module in the system-configuration-sys crate.
    Open source →
  5. 0.3.0 16 Oct 2019
    Release notes

    Added

    • Re-generate bindings using macOS 10.15 headers.

    Changed

    • Use core::ffi::c_void instead of libc::c_void (new minimum supported Rust version: 1.30).
    • Define some ffi types as struct TheType(c_void) instead of type TheType = c_void.
    • Upgrade crates to Rust 2018 edition, increasing minimum supported Rust version to 1.31
    Open source →
  6. 0.2.0 23 Oct 2018
    Release notes

    Added

    • Publicly re-export libc and core_foundation_sys from system_configuration_sys.
    • Publicly re-export core_foundation from system_configuration
    • Add low level FFI bindings to SCPreferences and SCNetworkConfiguration.
    • Add bare minimal safe high level SCPreferences type.
    • Add low level FFI bindings to SCSchemaDefinitions.

    Changed

    • Make system_configuration_sys a #[no_std] crate.
    • Publicly re-export system_configuration_sys as system_configuration::sys instead of re-exporting each sys module under their corresponding safe level module.
    • Raise minimum Rust version to 1.25 in order to use nested import groups.
    • Upgrade core-foundation dependency from 0.5 to 0.6.
    Open source →
  7. 0.1.0 01 Feb 2018
    Release notes

    Added

    • Initial release. Supports most SCDynamicStore operations.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive