Skip to content

Commit c901eda

Browse files
phip1611nicholasbishop
authored andcommitted
workspace: adapted files
1 parent 0b21b2d commit c901eda

File tree

5 files changed

+6
-53
lines changed

5 files changed

+6
-53
lines changed

Cargo.toml

+2-41
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,5 @@
1-
[package]
2-
name = "uefi"
3-
version = "0.18.0"
4-
authors = ["Gabriel Majeri <[email protected]>"]
5-
readme = "README.md"
6-
edition = "2021"
7-
exclude = [
8-
".cargo/**",
9-
"template/**",
10-
"uefi-macros/**",
11-
"uefi-services/**",
12-
"uefi-test-runner/**",
13-
"xtask/**",
14-
]
15-
description = "Safe and easy-to-use wrapper for building UEFI apps"
16-
repository = "https://github.com/rust-osdev/uefi-rs"
17-
keywords = ["uefi", "efi"]
18-
categories = ["embedded", "no-std", "api-bindings"]
19-
license = "MPL-2.0"
20-
21-
[features]
22-
default = ["panic-on-logger-errors"]
23-
alloc = []
24-
exts = []
25-
logger = []
26-
# Ignore text output errors in logger as a workaround for firmware issues that
27-
# were observed on the VirtualBox UEFI implementation (see uefi-rs#121).
28-
# In those cases, this feature can be excluded by removing the default features.
29-
panic-on-logger-errors = []
30-
31-
[dependencies]
32-
bitflags = "1.3.1"
33-
log = { version = "0.4.5", default-features = false }
34-
ucs2 = "0.3.2"
35-
uefi-macros = "0.9.0"
36-
371
[workspace]
2+
resolver = "2"
383
members = [
394
"template",
405
"uefi-macros",
@@ -44,10 +9,6 @@ members = [
449
]
4510

4611
[patch.crates-io]
12+
uefi = { path = "uefi" }
4713
uefi-macros = { path = "uefi-macros" }
4814
uefi-services = { path = "uefi-services" }
49-
uefi = { path = "." }
50-
51-
[package.metadata.docs.rs]
52-
all-features = true
53-
rustdoc-args = ["--cfg", "docsrs"]

uefi-test-runner/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish = false
66
edition = "2021"
77

88
[dependencies]
9-
uefi = { path = "..", features = ['exts'] }
9+
uefi = { path = "../uefi", features = ['exts'] }
1010
uefi-services = { path = "../uefi-services" }
1111

1212
log = { version = "0.4.11", default-features = false }

uefi/Cargo.toml

-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ version = "0.18.0"
44
authors = ["Gabriel Majeri <[email protected]>"]
55
readme = "README.md"
66
edition = "2021"
7-
exclude = [
8-
".cargo/**",
9-
"template/**",
10-
"uefi-macros/**",
11-
"uefi-services/**",
12-
"uefi-test-runner/**",
13-
"xtask/**",
14-
]
157
description = "Safe and easy-to-use wrapper for building UEFI apps"
168
repository = "https://github.com/rust-osdev/uefi-rs"
179
keywords = ["uefi", "efi"]

uefi/src/proto/device_path/device_path_gen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This file was automatically generated with:
44
// `cargo xtask gen-code`
55
//
6-
// See //xtask/src/device_path/README.md for more details.
6+
// See `/xtask/src/device_path/README.md` for more details.
77

88
use crate::data_types::UnalignedSlice;
99
use crate::proto::device_path::{

xtask/src/device_path/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use syn::{File, Item};
1212
use util::rustfmt_string;
1313

1414
const INPUT_PATH: &str = "xtask/src/device_path/spec.rs";
15-
const OUTPUT_PATH: &str = "src/proto/device_path/device_path_gen.rs";
15+
const OUTPUT_PATH: &str = "uefi/src/proto/device_path/device_path_gen.rs";
1616

1717
fn gen_code_as_string(groups: &[NodeGroup]) -> Result<String> {
1818
let packed_modules = groups.iter().map(NodeGroup::gen_packed_module);
@@ -63,7 +63,7 @@ fn gen_code_as_string(groups: &[NodeGroup]) -> Result<String> {
6363
// This file was automatically generated with:
6464
// `cargo xtask gen-code`
6565
//
66-
// See //xtask/src/device_path/README.md for more details.
66+
// See `/xtask/src/device_path/README.md` for more details.
6767
6868
{code}"
6969
);

0 commit comments

Comments
 (0)