Skip to content

Commit

Permalink
Update dependencies to the latest versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmycuadra committed Jul 27, 2017
1 parent 78d7c7e commit 5b2d119
Show file tree
Hide file tree
Showing 10 changed files with 278 additions and 302 deletions.
549 changes: 263 additions & 286 deletions Cargo.lock

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@ name = "kaws"
readme = "README.md"
repository = "https://github.com/InQuicker/kaws"
version = "0.7.0"

[dependencies]
ansi_term = "0.9.0"
clap = "2.25.1"
env_logger = "0.4.3"
hyper = "0.11.1"
hyper = "0.10.12"
log = "0.3.8"
rusoto_core = "0.27.0"
rusoto_kms = "0.27.0"
rustc-serialize = "0.3.24"
serde = "1.0.10"
serde_derive = "1.0.10"
serde_json = "1.0.2"
tempdir = "0.3.5"

[dependencies.rusoto]
features = ["kms"]
version = "0.24.0"
2 changes: 1 addition & 1 deletion src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fs::create_dir_all;
use std::process::Command;

use clap::ArgMatches;
use rusoto::ChainProvider;
use rusoto_core::ChainProvider;

use aws::credentials_provider;
use encryption::Encryptor;
Expand Down
2 changes: 1 addition & 1 deletion src/aws.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use rusoto::{ChainProvider, ProfileProvider};
use rusoto_core::{ChainProvider, ProfileProvider};

pub fn credentials_provider(path: Option<&str>, profile: Option<&str>) -> ChainProvider {
let mut profile_provider = ProfileProvider::new().expect(
Expand Down
2 changes: 1 addition & 1 deletion src/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fs::{create_dir_all, File};
use std::io::Write;

use clap::ArgMatches;
use rusoto::ChainProvider;
use rusoto_core::ChainProvider;

use aws::credentials_provider;
use encryption::Encryptor;
Expand Down
5 changes: 3 additions & 2 deletions src/encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ use std::fs::{File, remove_file};
use std::io::{ErrorKind, Read, Write};

use hyper::Client as HyperClient;
use rusoto::{
use rusoto_core::{
ChainProvider,
DispatchSignedRequest,
ProvideAwsCredentials,
Region,
default_tls_client,
};
use rusoto::kms::{
use rusoto_kms::{
DecryptError,
DecryptRequest,
DecryptResponse,
EncryptError,
EncryptRequest,
EncryptResponse,
Kms,
KmsClient,
};
use rustc_serialize::base64::{FromBase64, STANDARD, ToBase64};
Expand Down
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use std::fmt::{Debug, Display, Formatter};
use std::fmt::Error as FmtError;
use std::str::Utf8Error;

use rusoto::ParseRegionError;
use rusoto::kms::{DecryptError, EncryptError};
use rusoto_core::ParseRegionError;
use rusoto_kms::{DecryptError, EncryptError};
use rustc_serialize::base64::FromBase64Error;
use serde_json::Error as SerdeJsonError;

Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ extern crate clap;
#[macro_use]
extern crate log;
extern crate hyper;
extern crate rusoto;
extern crate rusoto_core;
extern crate rusoto_kms;
extern crate rustc_serialize;
extern crate serde;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion src/pki.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::io::{Read, Write};
use std::process::{Command, Stdio};

use hyper::Client;
use rusoto::ChainProvider;
use rusoto_core::ChainProvider;
use serde_json::{from_slice, to_vec};
use tempdir::TempDir;

Expand Down
2 changes: 1 addition & 1 deletion src/terraform.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::process::{Command, Stdio};

use clap::ArgMatches;
use rusoto::{ChainProvider, ProvideAwsCredentials};
use rusoto_core::{ChainProvider, ProvideAwsCredentials};

use aws::credentials_provider;
use error::{KawsError, KawsResult};
Expand Down

0 comments on commit 5b2d119

Please sign in to comment.