mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
docs: update installation
This commit is contained in:
parent
d0f4083eb3
commit
2c94883bfc
6 changed files with 17 additions and 10 deletions
4
rules.md
4
rules.md
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue