diff --git a/editoast/Cargo.lock b/editoast/Cargo.lock index 53346642ba9..ec29776fcf1 100644 --- a/editoast/Cargo.lock +++ b/editoast/Cargo.lock @@ -1328,6 +1328,7 @@ dependencies = [ "pretty_assertions", "rand 0.8.5", "rangemap", + "redis", "regex", "reqwest", "rstest", @@ -3750,11 +3751,13 @@ dependencies = [ "futures-util", "itertools", "itoa", + "native-tls", "num-bigint", "percent-encoding", "pin-project-lite", "ryu", "tokio", + "tokio-native-tls", "tokio-util", "url", ] diff --git a/editoast/Cargo.toml b/editoast/Cargo.toml index ccf7e1fd49d..2bdb6d81932 100644 --- a/editoast/Cargo.toml +++ b/editoast/Cargo.toml @@ -169,6 +169,11 @@ pathfinding = "4.14.0" postgis_diesel.workspace = true rand.workspace = true rangemap.workspace = true +# Make sure to use the same version as deadpool-redis +redis = { version = "0.27", default-features = false, features = [ + "tokio-comp", + "tokio-native-tls-comp", +] } regex.workspace = true reqwest.workspace = true serde = { workspace = true, features = ["derive"] }