README + formatting + argument checking

[?]
Jun 4, 2021, 1:55 PM
DSKXOP5Q6NRJDD5NNEX7G3L3NHZFJZJE3TZFX25HC7ZHW2T3V6NAC

Dependencies

Change contents

  • replacement in src/main.rs at line 34
    [2.966][2.966:1122]()
    .arg(clap::Arg::with_name("port").long("port").takes_value(true))
    .arg(clap::Arg::with_name("password").long("password").takes_value(true))
    [2.966]
    [2.1122]
    .arg(
    clap::Arg::with_name("port")
    .long("port")
    .required(true)
    .takes_value(true),
    )
    .arg(
    clap::Arg::with_name("password")
    .long("password")
    .required(true)
    .takes_value(true),
    )
  • edit in README.md at line 4
    [2.7321]
    ### The problem this solves
    PostgreSQL has multiple ways to operate in a "leader-replicae" mode. However, failover isn't automatic, and requires another protocol to decide which of the replicae becomes the leader when the previous leader fails.
    This crate solves this problem, in the particular configuration where one has an Etcd v3 server running, for example because of requirements from another server running on the same service.