17 breaking releases

✓ Uses Rust 2018 edition

0.42.0 Nov 20, 2019
0.40.0 Jun 29, 2019
0.37.0 Mar 15, 2019
0.36.0 Dec 11, 2018
0.27.0 Jun 25, 2017

#7 in Network programming

Download history 13126/week @ 2019-10-04 10052/week @ 2019-10-11 12187/week @ 2019-10-18 11879/week @ 2019-10-25 12978/week @ 2019-11-01 12468/week @ 2019-11-08 12219/week @ 2019-11-15 13971/week @ 2019-11-22 13889/week @ 2019-11-29 15688/week @ 2019-12-06 12858/week @ 2019-12-13 7636/week @ 2019-12-20 5533/week @ 2019-12-27 10076/week @ 2020-01-03 10264/week @ 2020-01-10

52,311 downloads per month
Used in 236 crates (227 directly)

MIT license


Rusoto Core

Linux / OS X pipelines-badge
Windows appveyor-badge
api-docs-badge crates-io license-badge

Rusoto is an AWS SDK for Rust

You may be looking for:


Rusoto is available on crates.io. To use Rusoto in your Rust program built with Cargo, add it as a dependency and rusoto_$SERVICENAME for any supported AWS service you want to use.

For example, to include only S3 and SQS:

rusoto_core = "0.42.0"
rusoto_sqs = "0.42.0"
rusoto_s3 = "0.42.0"

Migration notes

Breaking changes and migration details are documented at https://rusoto.org/migrations.html.


Rusoto has a crate for each AWS service, containing Rust types for that service's API. A full list of these services can be found here. All other public types are reexported to the crate root. Consult the rustdoc documentation for full details by running cargo doc or visiting the online documentation for the latest crates.io release.

A simple example of using Rusoto's DynamoDB API to list the names of all tables in a database:

extern crate rusoto_core;
extern crate rusoto_dynamodb;

use rusoto_core::Region;
use rusoto_dynamodb::{DynamoDb, DynamoDbClient, ListTablesInput};

fn main() {
    let client = DynamoDbClient::new(Region::UsEast1);
    let list_tables_input: ListTablesInput = Default::default();

    match client.list_tables(list_tables_input).sync() {
        Ok(output) => {
            match output.table_names {
                Some(table_name_list) => {
                    println!("Tables in database:");

                    for table_name in table_name_list {
                        println!("{}", table_name);
                None => println!("No tables in database!"),
        Err(error) => {
            println!("Error: {:?}", error);

Usage with rustls

If you do not want to use OpenSSL, you can replace it with rustls by editing your Cargo.toml:

rusoto_core = { version="0.42.0", default_features=false, features=["rustls"] }
rusoto_sqs = { version="0.42.0", default_features=false, features=["rustls"] }
rusoto_s3 = { version="0.42.0", default_features=false, features=["rustls"] }


For more information on Rusoto's use of AWS credentials such as priority and refreshing, see AWS Credentials.

Semantic versioning

Rusoto complies with semantic versioning 2.0.0. Until reaching 1.0.0 the API is to be considered unstable. See Cargo.toml or rusoto on crates.io for current version.


Information on release schedules and procedures are in RELEASING.



Supported OSs and Rust versions

Linux, OSX and Windows are supported and tested via Azure Pipelines and Appveyor.

Rust stable, beta and nightly are supported.


Rusoto is distributed under the terms of the MIT license.

See LICENSE for details.


~246K SLoC