Despite all efforts for compatibility, rust-web/twig and twigPHP differ in the following aspects:
-
Encoding - Twig Rust only supports UTF8 encoded templates. Templates must be converted prior usage.
-
Not yet implemented - the following functionality is not yet implemented, but about to come.
-
... almost everything. But stay tuned.
- Rust - twig-rust extensions must be written in rust, instead of php. (see
src/api
in the documentation for details)