fix: fix server start (#16)

* fix: fix server start

* fix: fmt
5 files changed
tree: 4a53d32bd9701969dfc246412f46b08078eb271b
  1. .github/
  2. api/
  3. config/
  4. examples/
  5. src/
  6. .gitignore
  7. build.rs
  8. Cargo.toml
  9. LICENSE
  10. README.md
README.md

casbin-grpc

Casbin-gRPC provides gRPC interface for Casbin authorization which is implemented with Rust.

How to use?

Prerequisites

Protobuf (if not installed): As Casbin-Server uses gRPC, you need to install Protocol Buffers first to generate the .proto file, it will auto execute by build.rs.

Start server

cargo run --bin casbin-server