$ system-configuration
v0.7.0MAJOR UPDATEBindings to SystemConfiguration framework for macOS
Latest Update Summary
Crate
Name: system-configuration New version: 0.7.0 Release date: 2025-12-02T16:19:39.317584Z
Crate readme
Short description A derive macro library to automatically implement traits for your structs and enums.
Long description
The derive_more crate allows developers to derive common Rust traits for their custom types, simplifying the implementation of traits such as Add, Display, and From. This library is particularly useful for applying these traits to simple structures like newtypes while avoiding repetitive code. It supports generating various conversion, formatting, error-handling, and operator overloading traits. It requires Rust version 1.81 or higher.
Features • no_std compatibility • MSRV support for Rust 1.81+ • Cargo feature flags for specific derives
Code Examples Basic usage
use derive_more::{Add, Display, From};
#[derive(PartialEq, From, Add)]
struct MyInt(i32);
#[derive(PartialEq, From, Into)]
struct Point2D {
x: i32,
y: i32,
};
#[derive(PartialEq, From, Add, Display)]
enum MyEnum {
#[display("int: {_0}")]
Int(i32),
Uint(u32),
#[display("nothing")]
Nothing,
};
Cargo.toml dependency
[dependencies]
derive_more = { version = "2", features = ["from", "add", "into_iterator"] }
Links • https://crates.io/crates/derive_more • https://docs.rs/derive_more
Release info
Release version:
Release description
Code Examples
Minor update: 0.6.1 → 0.7.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add system-configurationOr add to Cargo.toml: system-configuration = "0.7.0"