#serialization #json #serde #file-format

no-std ls_rules

A Little Snitch .lsrules file format model

5 releases (3 breaking)

0.4.0 Oct 3, 2023
0.3.1 Jun 30, 2022
0.3.0 Apr 3, 2022
0.2.0 Sep 27, 2021
0.1.0 May 29, 2020

#1264 in Encoding

Download history 9/week @ 2024-02-19 26/week @ 2024-02-26 9/week @ 2024-03-04 20/week @ 2024-03-11 8/week @ 2024-03-18 16/week @ 2024-03-25

55 downloads per month

MIT/Apache

25KB
676 lines

LsRules

Little Snitch is like an application based firewall. It allows a user to control what connections can be made to and from local applications. You can choose to allow or deny connections based on a set of rules (such as the domain or hostname being connected to, the ports used, the application receiving or making the connection, etc.).

LsRules is a file format which specifies rules which Little Snitch can use. This library is a Serde model for serializing and deserializing .lsrules files.

Installation

[dependencies]
ls_rules = "0.4.0"

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.4–1MB
~23K SLoC