-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Cargo.toml
[dependencies]
rusoto_core = "0.46"
dynomite = "0.10.0"
src/main.rs
use rusoto_core::Region;
use dynomite::{
dynamodb::{
DynamoDbClient
},
};
fn main() {
let client = DynamoDbClient::new(Region::default());
}
error[E0308]: mismatched types
--> src/main.rs:9:36
|
9 | let client = DynamoDbClient::new(Region::default());
| ^^^^^^^^^^^^^^^^^ expected enum `rusoto_signature::region::Region`, found enum `Region`
|
= note: perhaps two different versions of crate `rusoto_signature` are being used?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
🐛 Bug description
There seems to be a dependency version issue with dynomite and rusoto_core. Using code from the examples, pared down, does not compile because of mismatched types.
🤔 Expected Behavior
I expected this code to compile.
👟 Steps to reproduce
Create the Cargo.toml and main.rs that I have provided and run cargo check
🌍 Your environment
Ubuntu 20.04
dynomite version: 0.10
rustc version:
rustc 1.49.0 (e1884a8e3 2020-12-29)
cargo 1.49.0 (d00d64df9 2020-12-05)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels