I think I've got the workspace thing figured out..how the Cargo.toml files should reference each other
This commit is contained in:
+7
-3
@@ -1,8 +1,12 @@
|
||||
[package]
|
||||
name = "server"
|
||||
version = "0.2.0"
|
||||
edition = "2024"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
clap = { workspace = true }
|
||||
common = { workspace = true }
|
||||
common = { workspace = true }
|
||||
|
||||
[[bin]]
|
||||
name = "saslauthd"
|
||||
path = "src/main.rs"
|
||||
@@ -42,7 +42,7 @@ mod tests {
|
||||
use common::request::Request;
|
||||
use std::io::Cursor;
|
||||
|
||||
const TEST_PATH: &str = "./test_passwords";
|
||||
const TEST_PATH: &str = "../test_passwords";
|
||||
|
||||
#[test]
|
||||
fn it_handles_a_request() {
|
||||
|
||||
@@ -43,7 +43,7 @@ mod tests {
|
||||
use crate::repository::PasswordDirectory;
|
||||
use common::request::Request;
|
||||
|
||||
const TEST_PATH: &str = "./test_passwords";
|
||||
const TEST_PATH: &str = "../test_passwords";
|
||||
|
||||
#[test]
|
||||
fn it_checks_good_password() {
|
||||
|
||||
Reference in New Issue
Block a user