mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
Make AuthorizationService client available in Rust
Summary: Added "rust" to the languages in the if-service and its dependent targets, added a unique `rust_crate_name` to each one. Adjusted import names in the dependent code. Reviewed By: dtolnay Differential Revision: D19818989 fbshipit-source-id: d1cf5c5f7b82dd64d7c045e50b304b7a58cf2ffc
This commit is contained in:
parent
4f82775a4b
commit
180fdcfad6
@ -5,7 +5,7 @@
|
||||
* GNU General Public License version 2.
|
||||
*/
|
||||
|
||||
use if_ as acl_constants;
|
||||
use infrasec_authorization as acl_constants;
|
||||
|
||||
use aclchecker::{AclChecker, Identity};
|
||||
use anyhow::{bail, Error};
|
||||
|
@ -10,7 +10,7 @@
|
||||
#![allow(deprecated)]
|
||||
#![feature(never_type)]
|
||||
|
||||
use if_ as acl;
|
||||
use infrasec_authorization as acl;
|
||||
|
||||
mod connection_acceptor;
|
||||
mod errors;
|
||||
|
Loading…
Reference in New Issue
Block a user