#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

#875 in Encoding

Download history 20/week @ 2024-07-01 5/week @ 2024-07-15 23/week @ 2024-07-29 8/week @ 2024-08-05 5/week @ 2024-09-16 17/week @ 2024-09-23 10/week @ 2024-09-30 13/week @ 2024-10-07 15/week @ 2024-10-14

56 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.3–1MB
~21K SLoC