Skip to content

Commit 2bf5012

Browse files
(GH-1153) Rename pal to dsc-lib-pal
This change renames the `pal` crate to `dsc-lib-pal`. This is to support eventual publishing of the crates. When we implement the Rust RDK, we will need to publish the library crates, and this ensures the naming is both consistent and easily discoverable. This change makes the requisite updates to cargo manifests, Rust code, and the build script.
1 parent dbaa039 commit 2bf5012

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ members = [
88
"resources/dscecho",
99
"lib/dsc-lib-osinfo",
1010
"resources/osinfo",
11-
"lib/pal",
11+
"lib/dsc-lib-pal",
1212
"resources/process",
1313
"resources/registry",
1414
"lib/registry_lib",
@@ -30,7 +30,7 @@ default-members = [
3030
"resources/dscecho",
3131
"lib/dsc-lib-osinfo",
3232
"resources/osinfo",
33-
"lib/pal",
33+
"lib/dsc-lib-pal",
3434
"resources/process",
3535
"resources/registry",
3636
"lib/registry_lib",
@@ -54,7 +54,7 @@ Windows = [
5454
"resources/dscecho",
5555
"lib/dsc-lib-osinfo",
5656
"resources/osinfo",
57-
"lib/pal",
57+
"lib/dsc-lib-pal",
5858
"resources/process",
5959
"resources/registry",
6060
"lib/registry_lib",

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ if (!$SkipBuild) {
347347
New-Item -ItemType Directory $target -ErrorAction Ignore > $null
348348

349349
# make sure dependencies are built first so clippy runs correctly
350-
$windows_projects = @("lib/pal", "lib/registry_lib", "resources/registry", "resources/reboot_pending", "adapters/wmi", "configurations/windows", 'extensions/appx')
350+
$windows_projects = @("lib/dsc-lib-pal", "lib/registry_lib", "resources/registry", "resources/reboot_pending", "adapters/wmi", "configurations/windows", 'extensions/appx')
351351
$macOS_projects = @("resources/brew")
352352
$linux_projects = @("resources/apt")
353353

File renamed without changes.

lib/pal/Cargo.toml renamed to lib/dsc-lib-pal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) Microsoft Corporation. All rights reserved.
22

33
[package]
4-
name = "pal"
4+
name = "dsc-lib-pal"
55
version = "0.1.0"
66
edition = "2021"
77

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)