Closed 0xd-0 closed 2 months ago
you're using an incompatible version of deadpool-redis, session v0.10 supports deadpool-redis v0.16 so you should use that for now
- deadpool-redis = "0.17.2"
+ deadpool-redis = "0.16"
Confirmed, thank you. Shouldn't there be a dependency restriction flagging/preventing this when doing a cargo upgrade?
"cargo update" does this correctly, I'm not sure what "cargo upgrade" is.
Lesson learned, apparently it does an explicit upgrade, not sure why I did that instead of update. Thanks again!
Your issue may already be reported! Please search on the actix-extras issue tracker before creating one.
Expected Behavior
Using the simple example referenced in the docs:
Current Behavior
Steps to Reproduce (for bugs)
See above.
Context
These are breaking changes for latest versions of deadpool_redis/actix-session
Your Environment
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
Cargo.toml [package] name = "actix-redis-test" version = "0.1.0" edition = "2021"
[dependencies] actix-session = { version = "0.10.1", features = ["redis-pool", "redis-session"] } deadpool-redis = "0.17.2"