{"id":13623253,"url":"https://github.com/zzau13/yarte","last_synced_at":"2025-05-16T17:02:58.923Z","repository":{"id":35002898,"uuid":"195584638","full_name":"zzau13/yarte","owner":"zzau13","description":"Yarte stands for Yet Another Rusty Template Engine","archived":false,"fork":false,"pushed_at":"2025-04-08T07:32:08.000Z","size":3604,"stargazers_count":282,"open_issues_count":11,"forks_count":13,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-13T14:21:54.236Z","etag":null,"topics":["handlebars","rust","template-engine"],"latest_commit_sha":null,"homepage":"https://yarte.netlify.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zzau13.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-06T21:29:46.000Z","updated_at":"2025-04-30T10:49:53.000Z","dependencies_parsed_at":"2023-10-13T09:19:15.338Z","dependency_job_id":"c6199b1f-c135-455c-8bcd-dc755776394d","html_url":"https://github.com/zzau13/yarte","commit_stats":{"total_commits":1015,"total_committers":6,"mean_commits":"169.16666666666666","dds":0.03448275862068961,"last_synced_commit":"9784c85a9c71a9da36aad13fdefd9de0ccb5b33d"},"previous_names":["botika/yarte"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzau13%2Fyarte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzau13%2Fyarte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzau13%2Fyarte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzau13%2Fyarte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzau13","download_url":"https://codeload.github.com/zzau13/yarte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374533,"owners_count":22060614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["handlebars","rust","template-engine"],"created_at":"2024-08-01T21:01:29.593Z","updated_at":"2025-05-16T17:02:58.827Z","avatar_url":"https://github.com/zzau13.png","language":"Rust","funding_links":[],"categories":["Libraries","Rust","rust"],"sub_categories":["Template engine"],"readme":"\u003cbr/\u003e\n\n\u003ca href=\"https://commons.wikimedia.org/wiki/File:Logo_yarte.png\"\u003e\n\u003cimg align=\"left\" src=\"https://upload.wikimedia.org/wikipedia/commons/b/bb/Logo_yarte.png\" alt=\"Yet Another Rust Template Engine\" width=\"200\" height=\"200\"\u003e\n\u003c/a\u003e\n\n# Yarte [![Latest version](https://img.shields.io/crates/v/yarte.svg)](https://crates.io/crates/yarte) [![Netlify Status](https://api.netlify.com/api/v1/badges/1ccce8b0-cb08-41b1-a781-f883a6cc7767/deploy-status)](https://app.netlify.com/sites/yarte/deploys)\nYarte stands for **Y**et **A**nother **R**usty **T**emplate **E**ngine. Uses a Handlebars-like syntax, \nwell-known and intuitive for most developers. Yarte is an optimized, and easy-to-use \nrust crate, with which developers can create logic around their \nHTML templates using conditionals, loops, rust code and template composition. \n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\n## Documentation\nIn order to  fully understand Yarte's capabilities take a look at the following documentation:\n- [Tests](./yarte/tests)\n- [Our book](https://yarte.netlify.com/)\n- [Crate documentation](https://docs.rs/yarte/)\n\nOr, in nightly, just:\n```rust\n#[yarte] \"{{\u003e my_template }}\"\n```\n`bytes-buf` feature can produce **SIGILL**.\nMore details in https://github.com/botika/v_escape/issues/54.\n\nYarte is under development.\n\n### Is it really fast?\nRun `cargo bench` with rust nightly.\n\nResults in my `AMD Ryzen 9 5900HX`\n```\nTeams                   time:   [62.335 ns 62.704 ns 63.138 ns]\nBig table               time:   [28.546 µs 28.690 µs 28.873 µs]\n```\n\nSee it for yourself in the [TechEmpower benchmarks][bench] with [`actix`][actix] and [`ntex`][ntex]\n\n## Acknowledgment\nYarte is based on all previous templates engines, syntax as well as its documentation \nis highly influenced by [Handlebars][handlebars]. \nLogo adapted from [Creative Commons][commons] images\n\n[bench]: https://tfb-status.techempower.com/\n[handlebars]: https://handlebarsjs.com/\n[ntex]: https://github.com/ntex-rs/ntex\n[actix]: https://github.com/actix/actix-web\n[commons]: https://commons.wikimedia.org\n\n### Code of conduct\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n\n### License\nThis project is distributed under the terms of both the Apache License (Version 2.0) and the MIT license, specified in \n[LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzau13%2Fyarte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzau13%2Fyarte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzau13%2Fyarte/lists"}