forked from Deuxfleurs/garage
Alex Auvolat
c94406f428
- change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
[package]
|
|
name = "garage_api"
|
|
version = "0.5.0"
|
|
authors = ["Alex Auvolat <alex@adnab.me>"]
|
|
edition = "2018"
|
|
license = "AGPL-3.0"
|
|
description = "S3 API server crate for the Garage object store"
|
|
repository = "https://git.deuxfleurs.fr/Deuxfleurs/garage"
|
|
readme = "../../README.md"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
garage_model = { version = "0.5.0", path = "../model" }
|
|
garage_table = { version = "0.5.0", path = "../table" }
|
|
garage_util = { version = "0.5.0", path = "../util" }
|
|
|
|
base64 = "0.13"
|
|
bytes = "1.0"
|
|
chrono = "0.4"
|
|
crypto-mac = "0.10"
|
|
err-derive = "0.3"
|
|
hex = "0.4"
|
|
hmac = "0.10"
|
|
idna = "0.2"
|
|
log = "0.4"
|
|
md-5 = "0.9"
|
|
sha2 = "0.9"
|
|
|
|
futures = "0.3"
|
|
futures-util = "0.3"
|
|
tokio = { version = "1.0", default-features = false, features = ["rt", "rt-multi-thread", "io-util", "net", "time", "macros", "sync", "signal", "fs"] }
|
|
|
|
http = "0.2"
|
|
httpdate = "0.3"
|
|
http-range = "0.1"
|
|
hyper = { version = "0.14", features = ["server", "http1", "runtime", "tcp", "stream"] }
|
|
percent-encoding = "2.1.0"
|
|
roxmltree = "0.14"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
quick-xml = { version = "0.21", features = [ "serialize" ] }
|
|
url = "2.1"
|