Skip to content

Commit 90dbd43

Browse files
committed
prepared cargo workspace, as discussed in PR #79
1 parent aea1672 commit 90dbd43

File tree

16 files changed

+69
-34
lines changed

16 files changed

+69
-34
lines changed

Cargo.toml

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
1-
[package]
2-
name = "multiboot2"
3-
description = """
4-
Library that helps you to parse the multiboot information structure (mbi) from
5-
Multiboot2-compliant bootloaders, like GRUB. It supports all tags from the specification
6-
including full support for the sections of ELF-64. This library is `no_std` and can be
7-
used in a Multiboot2-kernel.
8-
"""
9-
version = "0.12.1"
10-
authors = [
11-
"Philipp Oppermann <[email protected]>",
12-
"Calvin Lee <[email protected]>",
13-
"Isaac Woods",
14-
"Philipp Schuster <[email protected]>"
1+
[workspace]
2+
members = [
3+
"multiboot2", # MBI
4+
"multiboot2-header",
155
]
16-
license = "MIT/Apache-2.0"
17-
edition = "2018"
18-
categories = [
19-
"no-std",
20-
"parsing",
21-
]
22-
keywords = [
23-
"Multiboot2",
24-
"kernel",
25-
"boot",
26-
]
27-
# without this, sometimes crates.io doesn't show the preview of the README
28-
# I expeciended this multiple times in the past
29-
readme = "README.md"
30-
homepage = "https://github.com/rust-osdev/multiboot2"
31-
repository = "https://github.com/rust-osdev/multiboot2"
32-
documentation = "https://docs.rs/multiboot2"
33-
34-
[dependencies]
35-
bitflags = "1"

multiboot2-header/Cargo.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[package]
2+
name = "multiboot2-header"
3+
description = """
4+
Library with type definitions and parsing functions for Multiboot2 headers.
5+
This library is `no_std` and can be used in bootloaders.
6+
"""
7+
version = "0.0.0"
8+
authors = [
9+
"Philipp Schuster <[email protected]>"
10+
]
11+
license = "MIT/Apache-2.0"
12+
edition = "2018"
13+
categories = [
14+
"parsing",
15+
]
16+
keywords = [
17+
"Multiboot2",
18+
"kernel",
19+
"boot",
20+
"bootloader",
21+
]
22+
# without this, sometimes crates.io doesn't show the preview of the README
23+
# I expeciended this multiple times in the past
24+
readme = "README.md"
25+
homepage = "https://github.com/rust-osdev/multiboot2-header"
26+
repository = "https://github.com/rust-osdev/multiboot2"
27+
documentation = "https://docs.rs/multiboot2-header"
28+
29+
[dependencies]

multiboot2-header/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//! TODO

multiboot2/Cargo.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[package]
2+
name = "multiboot2"
3+
description = """
4+
Library that helps you to parse the multiboot information structure (mbi) from
5+
Multiboot2-compliant bootloaders, like GRUB. It supports all tags from the specification
6+
including full support for the sections of ELF-64. This library is `no_std` and can be
7+
used in a Multiboot2-kernel.
8+
"""
9+
version = "0.12.1"
10+
authors = [
11+
"Philipp Oppermann <[email protected]>",
12+
"Calvin Lee <[email protected]>",
13+
"Isaac Woods",
14+
"Philipp Schuster <[email protected]>"
15+
]
16+
license = "MIT/Apache-2.0"
17+
edition = "2018"
18+
categories = [
19+
"no-std",
20+
"parsing",
21+
]
22+
keywords = [
23+
"Multiboot2",
24+
"kernel",
25+
"boot",
26+
]
27+
# without this, sometimes crates.io doesn't show the preview of the README
28+
# I expeciended this multiple times in the past
29+
readme = "README.md"
30+
homepage = "https://github.com/rust-osdev/multiboot2"
31+
repository = "https://github.com/rust-osdev/multiboot2"
32+
documentation = "https://docs.rs/multiboot2"
33+
34+
[dependencies]
35+
bitflags = "1"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)