2020-03-03 07:13:43 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-casbin-example"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Chojan Shang <psiace@outlook.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-09-12 17:49:45 +02:00
|
|
|
actix-web = "3"
|
2022-01-04 12:41:17 +01:00
|
|
|
# from v2.0.6 on casbin only supports tokio 1 which conflicts with actix-web 3,
|
|
|
|
# see see https://github.com/casbin/casbin-rs#installation
|
|
|
|
casbin = "=2.0.5"
|
|
|
|
# these rhai deps are needed for casbin v2.0.5
|
|
|
|
rhai = "=0.19.14"
|
|
|
|
rhai_codegen = "=0.3.3"
|
2020-04-20 00:52:00 +02:00
|
|
|
loge = {version = "0.4", default-features = false, features = ["colored", "chrono"]}
|
2022-01-19 20:49:57 +01:00
|
|
|
tokio = { version = "0.2.22", features = ["sync"] }
|