Skip to content

Commit 09cc301

Browse files
committed
Add initial crates
1 parent 8f82d7f commit 09cc301

File tree

6 files changed

+43
-0
lines changed

6 files changed

+43
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Cargo.lock
2+
target/

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[workspace]
2+
members = [
3+
"system-configuration-sys",
4+
"system-configuration",
5+
]

system-configuration-sys/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "system-configuration-sys"
3+
version = "0.1.0"
4+
authors = ["Mullvad VPN <admin@mullvad.net>", "Linus Färnstrand <linus@mullvad.net>", "Andrej Mihajlov <and@mullvad.net>"]
5+
description = "Low level bindings to System Configuration framework for macOS"
6+
keywords = ["macos", "system", "configuration", "bindings"]
7+
categories = ["api-bindings", "external-ffi-bindings"]
8+
repository = "https://github.com/mullvad/system-configuration-rs"
9+
license = "MIT/Apache-2.0"
10+
11+
[dependencies]

system-configuration-sys/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
assert_eq!(2 + 2, 4);
6+
}
7+
}

system-configuration/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "system-configuration"
3+
version = "0.1.0"
4+
authors = ["Mullvad VPN <admin@mullvad.net>", "Linus Färnstrand <linus@mullvad.net>", "Andrej Mihajlov <and@mullvad.net>"]
5+
description = "Bindings to System Configuration framework for macOS"
6+
keywords = ["macos", "system", "configuration", "bindings"]
7+
categories = ["api-bindings", "external-ffi-bindings"]
8+
repository = "https://github.com/mullvad/system-configuration-rs"
9+
license = "MIT/Apache-2.0"
10+
11+
[dependencies]

system-configuration/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
assert_eq!(2 + 2, 4);
6+
}
7+
}

0 commit comments

Comments
 (0)