docs: update installation

This commit is contained in:
iff 2024-12-08 17:46:43 +01:00
parent d0f4083eb3
commit 2c94883bfc
6 changed files with 17 additions and 10 deletions

View file

@ -1,10 +1,10 @@
# Writing Rules
Rule files placed under [rules](./rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules!
Rule files placed under [rules](./core/rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules!
For compile-time rules, if only rules are changed, cargo won't recompile the project because Rust code were intact. You will have to notify it manually by:
```shell
touch src/rules.rs && cargo build
touch core/src/rules.rs && cargo build
```
Runtime rules directories are searched with the following priority: