Rename garage_core to garage_model
This commit is contained in:
parent
f0918b377e
commit
bec26a1312
23 changed files with 32 additions and 32 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -339,7 +339,7 @@ dependencies = [
|
||||||
"futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"garage_api 0.1.0",
|
"garage_api 0.1.0",
|
||||||
"garage_core 0.1.0",
|
"garage_model 0.1.0",
|
||||||
"garage_rpc 0.1.0",
|
"garage_rpc 0.1.0",
|
||||||
"garage_table 0.1.0",
|
"garage_table 0.1.0",
|
||||||
"garage_util 0.1.0",
|
"garage_util 0.1.0",
|
||||||
|
@ -365,7 +365,7 @@ dependencies = [
|
||||||
"crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"futures 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"futures-util 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"garage_core 0.1.0",
|
"garage_model 0.1.0",
|
||||||
"garage_table 0.1.0",
|
"garage_table 0.1.0",
|
||||||
"garage_util 0.1.0",
|
"garage_util 0.1.0",
|
||||||
"hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -383,7 +383,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "garage_core"
|
name = "garage_model"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arc-swap 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"arc-swap 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -3,7 +3,7 @@ members = [
|
||||||
"src/util",
|
"src/util",
|
||||||
"src/rpc",
|
"src/rpc",
|
||||||
"src/table",
|
"src/table",
|
||||||
"src/core",
|
"src/model",
|
||||||
"src/api",
|
"src/api",
|
||||||
"src/garage",
|
"src/garage",
|
||||||
]
|
]
|
||||||
|
|
|
@ -12,7 +12,7 @@ path = "lib.rs"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
garage_util = { path = "../util" }
|
garage_util = { path = "../util" }
|
||||||
garage_table = { path = "../table" }
|
garage_table = { path = "../table" }
|
||||||
garage_core = { path = "../core" }
|
garage_model = { path = "../model" }
|
||||||
|
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
hex = "0.3"
|
hex = "0.3"
|
||||||
|
|
|
@ -9,7 +9,7 @@ use hyper::{Body, Method, Request, Response, Server};
|
||||||
|
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
|
|
||||||
use crate::http_util::*;
|
use crate::http_util::*;
|
||||||
use crate::signature::check_signature;
|
use crate::signature::check_signature;
|
||||||
|
|
|
@ -8,10 +8,10 @@ use garage_table::*;
|
||||||
use garage_util::data::*;
|
use garage_util::data::*;
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_core::block_ref_table::*;
|
use garage_model::block_ref_table::*;
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::object_table::*;
|
use garage_model::object_table::*;
|
||||||
use garage_core::version_table::*;
|
use garage_model::version_table::*;
|
||||||
|
|
||||||
use crate::http_util::*;
|
use crate::http_util::*;
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@ use hyper::{Body, Request, Response};
|
||||||
use garage_util::data::*;
|
use garage_util::data::*;
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::object_table::*;
|
use garage_model::object_table::*;
|
||||||
|
|
||||||
use crate::encoding::*;
|
use crate::encoding::*;
|
||||||
use crate::http_util::*;
|
use crate::http_util::*;
|
||||||
|
|
|
@ -9,8 +9,8 @@ use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_table::EmptyKey;
|
use garage_table::EmptyKey;
|
||||||
|
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::object_table::*;
|
use garage_model::object_table::*;
|
||||||
|
|
||||||
use crate::http_util::*;
|
use crate::http_util::*;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ use hyper::Response;
|
||||||
|
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
|
|
||||||
use crate::encoding::*;
|
use crate::encoding::*;
|
||||||
use crate::http_util::*;
|
use crate::http_util::*;
|
||||||
|
|
|
@ -9,11 +9,11 @@ use garage_table::*;
|
||||||
use garage_util::data::*;
|
use garage_util::data::*;
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_core::block::INLINE_THRESHOLD;
|
use garage_model::block::INLINE_THRESHOLD;
|
||||||
use garage_core::block_ref_table::*;
|
use garage_model::block_ref_table::*;
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::object_table::*;
|
use garage_model::object_table::*;
|
||||||
use garage_core::version_table::*;
|
use garage_model::version_table::*;
|
||||||
|
|
||||||
use crate::encoding::*;
|
use crate::encoding::*;
|
||||||
use crate::http_util::*;
|
use crate::http_util::*;
|
||||||
|
|
|
@ -8,8 +8,8 @@ use sha2::{Digest, Sha256};
|
||||||
use garage_table::*;
|
use garage_table::*;
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::key_table::*;
|
use garage_model::key_table::*;
|
||||||
|
|
||||||
use crate::encoding::uri_encode;
|
use crate::encoding::uri_encode;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ path = "main.rs"
|
||||||
garage_util = { path = "../util" }
|
garage_util = { path = "../util" }
|
||||||
garage_rpc = { path = "../rpc" }
|
garage_rpc = { path = "../rpc" }
|
||||||
garage_table = { path = "../table" }
|
garage_table = { path = "../table" }
|
||||||
garage_core = { path = "../core" }
|
garage_model = { path = "../model" }
|
||||||
garage_api = { path = "../api" }
|
garage_api = { path = "../api" }
|
||||||
|
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
|
|
|
@ -10,9 +10,9 @@ use garage_table::*;
|
||||||
use garage_rpc::rpc_client::*;
|
use garage_rpc::rpc_client::*;
|
||||||
use garage_rpc::rpc_server::*;
|
use garage_rpc::rpc_server::*;
|
||||||
|
|
||||||
use garage_core::bucket_table::*;
|
use garage_model::bucket_table::*;
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::key_table::*;
|
use garage_model::key_table::*;
|
||||||
|
|
||||||
use crate::repair::Repair;
|
use crate::repair::Repair;
|
||||||
use crate::*;
|
use crate::*;
|
||||||
|
|
|
@ -2,10 +2,10 @@ use std::sync::Arc;
|
||||||
|
|
||||||
use tokio::sync::watch;
|
use tokio::sync::watch;
|
||||||
|
|
||||||
use garage_core::block_ref_table::*;
|
use garage_model::block_ref_table::*;
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_core::object_table::*;
|
use garage_model::object_table::*;
|
||||||
use garage_core::version_table::*;
|
use garage_model::version_table::*;
|
||||||
use garage_table::*;
|
use garage_table::*;
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ use garage_util::config::*;
|
||||||
use garage_util::error::Error;
|
use garage_util::error::Error;
|
||||||
|
|
||||||
use garage_api::api_server;
|
use garage_api::api_server;
|
||||||
use garage_core::garage::Garage;
|
use garage_model::garage::Garage;
|
||||||
use garage_rpc::rpc_server::RpcServer;
|
use garage_rpc::rpc_server::RpcServer;
|
||||||
|
|
||||||
use crate::admin_rpc::*;
|
use crate::admin_rpc::*;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "garage_core"
|
name = "garage_model"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Alex Auvolat <alex@adnab.me>"]
|
authors = ["Alex Auvolat <alex@adnab.me>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
Loading…
Reference in a new issue