Welcome to 2018!

[?]
Dec 6, 2018, 7:32 PM
3GEU7TC7VMBZOSUXQ7II5IGRDGGQCJOLBKFZYUIOGWTKM56ETINQC

Dependencies

  • [2] BTOZT4JP Use failure
  • [3] UIQTC2NT Update dependencies
  • [4] 5A5UVGNM Move receiver closing logic out of xmpp processing
  • [5] L77O4T7M Formatting and fixes
  • [6] VS6AHRWI Move XMPP to separate dir
  • [7] FVVPKFTL Initial commit
  • [8] HKSQO7JZ Enable hyper http server and configuration
  • [9] FV6BJ5K6 Send self-presence and store account info in Rc so it willbe used in some future in parallel

Change contents

  • replacement in src/xmpp/stanzas.rs at line 0
    [3.13][3.14:35]()
    use config::Account;
    [3.13]
    [3.35]
    use crate::config::Account;
  • replacement in src/xmpp/mod.rs at line 6
    [3.198][3.198:210]()
    use config;
    [3.198]
    [3.420]
    use crate::config;
  • replacement in src/xmpp/mod.rs at line 104
    [3.1072][3.1072:1101](),[3.1072][3.1072:1101]()
    }).join(
    [3.1072]
    [3.1101]
    })
    .join(
  • replacement in src/xmpp/mod.rs at line 112
    [3.1484][3.1484:1560](),[3.1484][3.1484:1560]()
    }).and_then(|(event, stream)| match event {
    [3.1484]
    [3.1560]
    })
    .and_then(|(event, stream)| match event {
  • replacement in src/xmpp/mod.rs at line 135
    [3.2947][3.2947:3069](),[3.2947][3.2947:3069]()
    }).map_err(|e| format!("waiting self-presence: {}", e)),
    ).then(|r| match r {
    [3.2947]
    [3.3069]
    })
    .map_err(|e| format!("waiting self-presence: {}", e)),
    )
    .then(|r| match r {
  • replacement in src/xmpp/mod.rs at line 202
    [2.194][3.5051:5120](),[3.5051][3.5051:5120]()
    }).map(|f| (f, conn))
    })).then(|r| {
    [2.194]
    [3.5120]
    })
    .map(|f| (f, conn))
    }))
    .then(|r| {
  • replacement in src/xmpp/mod.rs at line 236
    [3.6627][3.54:125]()
    }).and_then(|(opt_cmd_recv, _conn): (Option<S>, XmppConnection)| {
    [3.6627]
    [3.125]
    })
    .and_then(|(opt_cmd_recv, _conn): (Option<S>, XmppConnection)| {
  • replacement in src/main.rs at line 31
    [3.4109][3.4109:4129](),[3.4109][3.4109:4129]()
    use config::Config;
    [3.4109]
    [3.4129]
    use crate::config::Config;
  • replacement in src/main.rs at line 34
    [3.4140][3.4140:4179](),[3.4140][3.4140:4179]()
    use xmpp::{xmpp_process, XmppCommand};
    [3.4140]
    [3.1558]
    use crate::xmpp::{xmpp_process, XmppCommand};
  • replacement in src/main.rs at line 37
    [3.1583][3.1583:1622]()
    use stoppable_receiver::stop_receiver;
    [3.1583]
    [3.4179]
    use crate::stoppable_receiver::stop_receiver;
  • replacement in src/main.rs at line 52
    [3.4557][3.4557:4582]()
    ).get_matches();
    [3.4557]
    [3.4582]
    )
    .get_matches();
  • replacement in src/main.rs at line 55
    [3.4583][3.4583:4671]()
    let config = Config::new(args.value_of("config").expect("Mandatory option config"))
    [3.4583]
    [3.4671]
    let config = Config::read(args.value_of("config").expect("Mandatory option config"))
  • replacement in src/main.rs at line 85
    [3.5833][3.5833:5895]()
    }).with_graceful_shutdown(ctrl_c.clone().map(|_| ()))
    [3.5833]
    [3.5895]
    })
    .with_graceful_shutdown(ctrl_c.clone().map(|_| ()))
  • replacement in src/config.rs at line 17
    [3.1681][3.1681:1745]()
    pub fn new<P: AsRef<Path>>(path: P) -> io::Result<Config> {
    [3.1681]
    [3.1745]
    pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Self> {
  • edit in Cargo.toml at line 6
    [3.12171]
    [3.12171]
    edition = "2018"
  • replacement in Cargo.lock at line 392
    [3.19199][3.19199:19218](),[3.19199][3.19199:19218](),[3.19199][3.19199:19218](),[3.19199][3.19199:19218]()
    version = "0.1.13"
    [3.19199]
    [3.19218]
    version = "0.1.14"
  • replacement in Cargo.lock at line 441
    [3.21010][2.3096:3116]()
    version = "0.12.16"
    [3.21010]
    [3.21030]
    version = "0.12.17"
  • replacement in Cargo.lock at line 447
    [3.21342][3.21342:21412](),[3.21342][3.21342:21412](),[3.21342][3.21342:21412](),[3.21342][3.21342:21412]()
    "h2 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
    [3.21342]
    [2.3191]
    "h2 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
  • replacement in Cargo.lock at line 537
    [3.24918][3.24918:24936](),[3.24918][3.24918:24936]()
    version = "1.2.0"
    [3.24918]
    [3.24936]
    version = "1.2.1"
  • replacement in Cargo.lock at line 634
    [3.28393][3.28393:28468](),[3.28393][3.28393:28468](),[3.28393][3.28393:28468](),[3.28393][3.28393:28468]()
    "lazycell 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
    [3.28393]
    [2.4070]
    "lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
  • replacement in Cargo.lock at line 1100
    [2.8816][2.8816:8890]()
    "hyper 0.12.16 (registry+https://github.com/rust-lang/crates.io-index)",
    [2.8816]
    [2.8890]
    "hyper 0.12.17 (registry+https://github.com/rust-lang/crates.io-index)",
  • replacement in Cargo.lock at line 1109
    [3.42369][2.9115:9186]()
    "toml 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)",
    [3.42369]
    [3.42440]
    "toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
  • replacement in Cargo.lock at line 1577
    [3.60952][2.14072:14090]()
    version = "0.4.9"
    [3.60952]
    [3.60970]
    version = "0.4.10"
  • replacement in Cargo.lock at line 1883
    [3.76963][3.76963:77109](),[3.76963][3.76963:77109](),[3.76963][3.76963:77109](),[3.76963][3.76963:77109]()
    "checksum h2 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "7dd33bafe2e6370e6c8eb0cf1b8c5f93390b90acde7e9b03723f166b28b648ed"
    [3.76963]
    [3.77109]
    "checksum h2 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "1ac030ae20dee464c5d0f36544d8b914a6bc606da44a57e052d2b0f5dae129e0"
  • replacement in Cargo.lock at line 1888
    [2.16909][2.16909:17059]()
    "checksum hyper 0.12.16 (registry+https://github.com/rust-lang/crates.io-index)" = "0aeedb8ca5f0f96be00f84073c6d0d5f962ecad020ef543dff99a7c12717a60e"
    [2.16909]
    [3.77861]
    "checksum hyper 0.12.17 (registry+https://github.com/rust-lang/crates.io-index)" = "c49a75385d35ff5e9202755f09beb0b878a05c4c363fcc52b23eeb5dcb6782cc"
  • replacement in Cargo.lock at line 1898
    [3.16214][3.79209:79360](),[2.17366][3.79209:79360](),[3.16519][3.79209:79360](),[3.79209][3.79209:79360]()
    "checksum lazycell 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ddba4c30a78328befecec92fc94970e53b3ae385827d28620f0f5bb2493081e0"
    [2.17366]
    [2.17367]
    "checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
  • replacement in Cargo.lock at line 2009
    [3.95390][2.22410:22557]()
    "checksum toml 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)" = "19782e145d5abefb03758958f06ea35f7b1d8421b534140e0238fd3d0bfd66e3"
    [3.95390]
    [3.95537]
    "checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f"