-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
30 lines (23 loc) · 897 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[package]
name = "casbin-grpc"
version = "0.1.0"
authors = ["hackerchai <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]] # Bin to run the Casbin gRPC server
name = "casbin-server"
path = "src/main.rs"
[dependencies]
tonic = "0.8.0"
prost = "0.11.0"
bytes = "1.2.1"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.6.1", features = ["full", "rt-multi-thread", "macros"] }
futures = "0.3.23"
casbin = { version = "2.0.9", default-features = true, features = ["incremental", "cached"] }
serde_json = "1.0"
regex = "1.5.4"
# sqlx-adapter = { version = "0.4.2", features = ["postgres"] }
# casbin = { path = "/home/siddhesh/Desktop/Siddhesh/Casbin/casbin-rs/casbin-rs", default-features = true, features = ["incremental", "cached"]}
[build-dependencies]
tonic-build = "0.8.0"