Skip to content

Latest commit

 

History

History
 
 

cluster_management

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Aurora DSQL Rust code examples

Overview

The code examples in this topic show you how to use DSQL with Rust sqlx.

Run the examples

Prerequisites

  • Rust version >=1.80 is needed

Setup test running environment

Ensure you are authenticated with AWS credentials. No other setup is needed besides having Rust installed.

Run the example tests

In a terminal run the following command from the sqlx_example:

# Use the account credentials dedicated for rust
cargo test

# you can also execute the binary
cargo build
./target/debug/crud

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

SPDX-License-Identifier: MIT-0