#file-format #serialization #json #serde-json #serde

no-std ls_rules

A Little Snitch .lsrules file format model

2 releases

0.4.1 May 15, 2024
0.4.0 Oct 3, 2023
0.3.1 Jun 30, 2022
0.3.0 Apr 3, 2022
0.1.0 May 29, 2020

#966 in Encoding

28 downloads per month

MIT/Apache

25KB
675 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.1"

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
~22K SLoC