aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-24 10:10:01 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-24 10:10:01 +0000
commitd8f5e643bcee95969b59c309809710a38b0661e3 (patch)
tree9bb179f351f60fc0396db731cb8ca0fe25dde17e /Cargo.toml
parent51fb3799a153a0db990fc74a37563ec612e20fc2 (diff)
downloadgarage-d8f5e643bcee95969b59c309809710a38b0661e3.tar.gz
garage-d8f5e643bcee95969b59c309809710a38b0661e3.zip
Split code for modular compilation
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml50
1 files changed, 9 insertions, 41 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 13033694..b3043acd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,44 +1,12 @@
-[package]
-name = "garage"
-version = "0.1.0"
-authors = ["Alex Auvolat <alex@adnab.me>"]
-edition = "2018"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
-[dependencies]
-bytes = "0.4"
-rand = "0.7"
-hex = "0.3"
-sha2 = "0.8"
-arc-swap = "0.4"
-gethostname = "0.2"
-err-derive = "0.2.3"
-log = "0.4"
-pretty_env_logger = "0.4"
-
-sled = "0.31"
-
-structopt = { version = "0.3", default-features = false }
-toml = "0.5"
-rmp-serde = "0.14.3"
-serde = { version = "1.0", default-features = false, features = ["derive", "rc"] }
-serde_bytes = "0.11"
-serde_json = "1.0"
-
-async-trait = "0.1.30"
-futures = "0.3"
-futures-core = "0.3"
-futures-util = "0.3"
-tokio = { version = "0.2", default-features = false, features = ["rt-core", "rt-threaded", "io-driver", "net", "tcp", "time", "macros", "sync", "signal", "fs"] }
-
-http = "0.2"
-hyper = "0.13"
-rustls = "0.17"
-tokio-rustls = "0.13"
-hyper-rustls = { version = "0.20", default-features = false }
-webpki = "0.21"
-
+[workspace]
+members = [
+ "src/util",
+ "src/rpc",
+ "src/table",
+ "src/core",
+ "src/api",
+ "src/garage",
+]
[profile.dev]
lto = "off"