summaryrefslogtreecommitdiffstats
path: root/crates/rebel-runner
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-20 14:32:37 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-20 14:38:17 +0200
commit71763deb61745972f2fc700ca7264c99e2838754 (patch)
tree3709e6fced3582ebfefe81887e03ccdd895dde93 /crates/rebel-runner
parente9bf0fc40c0eb7e9d4228b804d62f31b0a136528 (diff)
downloadrebel-71763deb61745972f2fc700ca7264c99e2838754.tar
rebel-71763deb61745972f2fc700ca7264c99e2838754.zip
Reference local packages by their actual names
Diffstat (limited to 'crates/rebel-runner')
-rw-r--r--crates/rebel-runner/Cargo.toml2
-rw-r--r--crates/rebel-runner/src/init.rs2
-rw-r--r--crates/rebel-runner/src/jobserver.rs2
-rw-r--r--crates/rebel-runner/src/lib.rs2
-rw-r--r--crates/rebel-runner/src/ns.rs2
-rw-r--r--crates/rebel-runner/src/paths.rs2
-rw-r--r--crates/rebel-runner/src/tar.rs2
-rw-r--r--crates/rebel-runner/src/task.rs2
-rw-r--r--crates/rebel-runner/src/util/fs.rs2
-rw-r--r--crates/rebel-runner/src/util/unix.rs2
10 files changed, 10 insertions, 10 deletions
diff --git a/crates/rebel-runner/Cargo.toml b/crates/rebel-runner/Cargo.toml
index 076e47a..3df06f8 100644
--- a/crates/rebel-runner/Cargo.toml
+++ b/crates/rebel-runner/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-common = { path = "../rebel-common", package = "rebel-common" }
+rebel-common = { path = "../rebel-common" }
bincode = "1.3.3"
blake3 = { version = "1.3.0", features = ["traits-preview"] }
diff --git a/crates/rebel-runner/src/init.rs b/crates/rebel-runner/src/init.rs
index ede8fd8..0172a01 100644
--- a/crates/rebel-runner/src/init.rs
+++ b/crates/rebel-runner/src/init.rs
@@ -1,6 +1,6 @@
use nix::mount::{self, MsFlags};
-use common::error::*;
+use rebel_common::error::*;
use crate::{paths, util::fs};
diff --git a/crates/rebel-runner/src/jobserver.rs b/crates/rebel-runner/src/jobserver.rs
index b0b88cd..7c3f2f7 100644
--- a/crates/rebel-runner/src/jobserver.rs
+++ b/crates/rebel-runner/src/jobserver.rs
@@ -5,7 +5,7 @@ use std::{
use nix::{errno::Errno, fcntl::OFlag, poll, unistd};
-use common::error::*;
+use rebel_common::error::*;
use super::util::unix;
diff --git a/crates/rebel-runner/src/lib.rs b/crates/rebel-runner/src/lib.rs
index ab90420..7dde05d 100644
--- a/crates/rebel-runner/src/lib.rs
+++ b/crates/rebel-runner/src/lib.rs
@@ -29,7 +29,7 @@ use nix::{
};
use uds::UnixSeqpacketConn;
-use common::{error::*, types::*};
+use rebel_common::{error::*, types::*};
use jobserver::Jobserver;
use util::{checkable::Checkable, clone, steal::Steal, unix};
diff --git a/crates/rebel-runner/src/ns.rs b/crates/rebel-runner/src/ns.rs
index 4a8e3e7..986aa80 100644
--- a/crates/rebel-runner/src/ns.rs
+++ b/crates/rebel-runner/src/ns.rs
@@ -4,7 +4,7 @@ use nix::{
unistd::{self, Gid, Pid, Uid},
};
-use common::error::*;
+use rebel_common::error::*;
use super::util::clone;
diff --git a/crates/rebel-runner/src/paths.rs b/crates/rebel-runner/src/paths.rs
index 4b3a126..84f9c4d 100644
--- a/crates/rebel-runner/src/paths.rs
+++ b/crates/rebel-runner/src/paths.rs
@@ -36,7 +36,7 @@
//! └── rootfs/ # rootfs overlay mountpoint
//! ```
-use common::string_hash::*;
+use rebel_common::string_hash::*;
pub const DOWNLOADS_DIR: &str = "build/downloads";
pub const PIN_DIR: &str = "build/pinned";
diff --git a/crates/rebel-runner/src/tar.rs b/crates/rebel-runner/src/tar.rs
index 1a66408..891c603 100644
--- a/crates/rebel-runner/src/tar.rs
+++ b/crates/rebel-runner/src/tar.rs
@@ -11,7 +11,7 @@ use nix::{
sys::wait,
};
-use common::{error::*, string_hash::ArchiveHash};
+use rebel_common::{error::*, string_hash::ArchiveHash};
use super::{
ns,
diff --git a/crates/rebel-runner/src/task.rs b/crates/rebel-runner/src/task.rs
index 19b74f4..5bb253a 100644
--- a/crates/rebel-runner/src/task.rs
+++ b/crates/rebel-runner/src/task.rs
@@ -17,7 +17,7 @@ use nix::{
use serde::Serialize;
use tee_readwrite::{TeeReader, TeeWriter};
-use common::{error::*, string_hash::*, types::*};
+use rebel_common::{error::*, string_hash::*, types::*};
use walkdir::WalkDir;
use super::{
diff --git a/crates/rebel-runner/src/util/fs.rs b/crates/rebel-runner/src/util/fs.rs
index 5efd159..9e33eb7 100644
--- a/crates/rebel-runner/src/util/fs.rs
+++ b/crates/rebel-runner/src/util/fs.rs
@@ -11,7 +11,7 @@ use nix::{
unistd,
};
-use common::error::*;
+use rebel_common::error::*;
pub fn open<P: AsRef<Path>>(path: P) -> Result<fs::File> {
fs::File::open(path.as_ref())
diff --git a/crates/rebel-runner/src/util/unix.rs b/crates/rebel-runner/src/util/unix.rs
index 08884ec..a97b1db 100644
--- a/crates/rebel-runner/src/util/unix.rs
+++ b/crates/rebel-runner/src/util/unix.rs
@@ -6,7 +6,7 @@ use nix::{
unistd::Pid,
};
-use common::error::*;
+use rebel_common::error::*;
use super::fs;