Closed 0xethsign closed 2 years ago
This should be caused by actix-web
, there is no good way for the time being
actix-casbin-auth
uses actix-web 4.0.0-beta.6
. The code is working fine.
I had to use actix-casbin-auth = { git = "https://github.com/casbin-rs/actix-casbin-auth", branch = "master" }
in the Cargo.toml of actix-casbin
, because the tests were failing when downloaded from crates.io. Can this be used? (I'm asking if this is allowed as per the coding standards)
Of course. But if you use github directly, you will be temporarily unable to release a new version to crates.io. It may require you to pay more attention to maintenance.
@hackerchai
Should be resolved by #33. actix-web 4.0 depends on actix-rt 2.7, that depends on tokio 1.13.
actix-casbin-auth uses tokio 1.5.0, but the webpage on crates.io shows 0.2. - Also few other dependencies like actix-rt also need to updated. Can this be manually done?