casbin-axum-casbin
Axum authorization middleware based on Casbin
파일 탐색기
최종 버전 다운로드 (.zip)- ci.yml
- coverage.yml
- release.yml
- rbac_model.conf
- rbac_policy.csv
- rbac_with_domains_model.conf
- rbac_with_domains_policy.csv
- rbac_with_pattern_model.conf
- rbac_with_pattern_policy.csv
- lib.rs
- middleware.rs
- common.rs
- test_middleware.rs
- test_middleware_domain.rs
- test_set_enforcer.rs
- .gitignore
- asf.yaml
- Cargo.toml
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/apache/casbin-axum-casbin
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd casbin-axum-casbin
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Rust
보통 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
// repository documentation
Was this content helpful?
(0 ratings)
