Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ updates:
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]
- package-ecosystem: cargo
directory: "/integration-test/bins"
schedule:
interval: monthly
open-pull-requests-limit: 10
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]
- package-ecosystem: github-actions
directory: "/"
schedule:
Expand Down
125 changes: 124 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 32 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,53 @@
[workspace]
resolver = "2"
members = [
"integration-test/bins/multiboot2_chainloader",
"integration-test/bins/multiboot2_payload",
"integration-test/bins/util",
"multiboot2",
"multiboot2-common",
"multiboot2-header",
]
exclude = [
"integration-test"
# Default members are all members without special Rust runtime attributes, such
# as panic_handler and global_allocator. This way, `cargo test` et al. will work
# smoothley while the workspace still contains the integration tests.
default-members = [
"multiboot2",
"multiboot2-common",
"multiboot2-header",
]
package.rust-version = "1.85.0"
package.edition = "2024"
package.license = "MIT/Apache-2.0"

[workspace.dependencies]
bitflags = "2.9.1"
# Dependencies of multiboot2 et al.
bitflags = { version = "2.9", default-features = false }
log = { version = "~0.4", default-features = false }
ptr_meta = { version = "~0.3", default-features = false, features = ["derive"] }
thiserror = { version = "2.0.12", default-features = false }
ptr_meta = { version = "~0.3", default-features = false }
thiserror = { version = "2.0", default-features = false }
uefi-raw = { version = "~0.11", default-features = false }

# Intra-workspace dependencies of upstream crates: always point to the latest
# stable version
# Dependencies for integration tests
anyhow = { version = "1.0", default-features = false }
multiboot = { version = "0.8", default-features = false }
elf_rs = { version = "0.3", default-features = false }
good_memory_allocator = { version = "0.1", default-features = false }
integration-test-util = { path = "./integration-test/bins/util" }
qemu-exit = { version = "3.0", default-features = false }

# Intra-workspace dependencies of upstream crates
multiboot2 = { version = "0.24.0", default-features = false }
multiboot2-common = { version = "0.3.0", default-features = false }
multiboot2-header = { version = "0.7.0", default-features = false }

[profile.release-integration-test]
inherits = "release"
panic = "abort"
opt-level = "s"

# This way, the corresponding crate dependency can be normalley referenced by
# version, while still the repository version is used transparently during local
# development.
# Force the local versions of the multiboot2 crates, i.e., override any
# dependency to a crates.io version.
[patch.crates-io]
multiboot2 = { path = "multiboot2" }
multiboot2-common = { path = "multiboot2-common" }
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ Licensed under either of

at your option.

### Contribution
## Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.

## Run Integration Tests

- `$ nix develop --command bash -c "run-integrationtest"`
11 changes: 0 additions & 11 deletions integration-test/bins/.cargo/config.toml

This file was deleted.

Loading