refactor: rename to gpcommon

This commit is contained in:
Kevin Yue
2023-05-24 10:07:42 +08:00
parent ec0bff1e36
commit f42f0d248e
28 changed files with 30 additions and 30 deletions

View File

@@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
common = { path = "../common" }
gpcommon = { path = "../gpcommon" }
tokio = { version = "1", features = ["full"] }
env_logger = "0.10"
log = "0.4"
@@ -15,4 +15,4 @@ log = "0.4"
# procfs = "0.15"
[build-dependencies]
common = { path = "../common" }
gpcommon = { path = "../gpcommon" }

View File

@@ -1,4 +1,4 @@
use common::sha256_digest;
use gpcommon::sha256_digest;
use std::path::Path;
use std::{env, fs};

View File

@@ -1,7 +1,7 @@
include!(concat!(env!("OUT_DIR"), "/client_hash.rs"));
// use aes_gcm::{aead::OsRng, Aes256Gcm, KeyInit};
use common::{server, SOCKET_PATH};
use gpcommon::{server, SOCKET_PATH};
use env_logger::Env;
use log::error;
use tokio::signal;