# These were created by running "cargo vendor" in the source tree
# and then making a tarball of just the following directories:
# vendor/concat-idents
-# vendor/io-uring
# vendor/memfd
# vendor/pci-driver
# vendor/winapi*
# Bundled dependencies
Provides: bundled(crate(concat-idents/default)) = 1.1.3
-Provides: bundled(crate(io-uring/default)) = 0.5.6
Provides: bundled(crate(memfd/default)) = 0.4.1
Provides: bundled(crate(pci-driver/default)) = 0.1.2
BuildRequires: crate(cfg-if/default)
# BuildRequires: crate(concat-idents...)
BuildRequires: crate(const-cstr/default)
-# BuildRequires: crate(io-uring...)
+BuildRequires: crate(io-uring/default)
BuildRequires: crate(lazy_static/default)
BuildRequires: crate(libc/default)
# BuildRequires: crate(memfd...)
cat >> Cargo.toml <<EOF
[patch.crates-io]
concat-idents = { path = 'vendor/concat-idents' }
-io-uring = { path = 'vendor/io-uring' }
memfd = { path = 'vendor/memfd' }
pci-driver = { path = 'vendor/pci-driver' }
winapi = { path = 'vendor/winapi' }