sailfish/docs/en/docs/installation.md

19 lines
468 B
Markdown
Raw Normal View History

2020-06-09 08:19:59 -04:00
# Installation
In order to use sailfish templates, you have add two dependencies in your `Cargo.toml`.
``` toml
2020-06-09 08:19:59 -04:00
[dependencies]
sailfish = "0.8.3"
2020-06-09 08:19:59 -04:00
```
## Feature Flags
Sailfish accepts the following feature flags
|Feature|Description|
|--|--|
|derive|enable derive macros (enabled by default)|
|json|enable `json` filter|
|perf-inline|Add more `#[inline]` attributes. This may improve rendering performance, but generates a bit larger binary (enabled by default)|