casbin-rs / actix-casbin-auth

Casbin Actix-web access control middleware
https://github.com/casbin/casbin-rs
55 stars 15 forks source link

Update dependencies on crates.io #31

Closed 0xethsign closed 2 years ago

0xethsign commented 3 years ago

actix-casbin-auth uses tokio 1.5.0, but the webpage on crates.io shows 0.2. - Screenshot from 2021-05-05 07-12-18 Also few other dependencies like actix-rt also need to updated. Can this be manually done?

PsiACE commented 3 years ago

This should be caused by actix-web , there is no good way for the time being

0xethsign commented 3 years ago

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)

PsiACE commented 3 years ago

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.

hsluoyz commented 3 years ago

@hackerchai

thespooler commented 2 years ago

Should be resolved by #33. actix-web 4.0 depends on actix-rt 2.7, that depends on tokio 1.13.