2 releases

0.16.7 Feb 17, 2026
0.16.5 Feb 10, 2026

#1361 in Text processing


Used in acquery

MIT/Apache

93KB
2.5K SLoC

An Access Control Abstract for Caitsith

About

ACLNeko is a Rust binding for caitsith policy language.

Features

  • Single Acl struct for a valid bundle of caitsith's policy blocks and rules. You can list, search, add, remove, merge, unmerge or report statics of policy blocks with its simple builtin methods.
  • Builtin syntax checker. Any invalid inputs for policy headers or rules are rejected to be applied.
  • Enhanced search. Any policy blocks in Acl object can be searched with its priority, operation or regex pattern of the line.
  • I/O support. You can read policy from a file or plain text, and write policy into file, plain text or JSON.

Usage Example

Limitation

Warning

Not for production.

This is an artifact of a PoC project in three years ago. Its syntax tree is built with regex and has poor performance to analyze bigger policy files.

Author

youmeim

Dependencies

~2.3–4MB
~77K SLoC