volta-cli/volta

Create a simple template crate to support URL template hooks.

Open

#260 创建于 2019年2月7日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Rust (189 fork)batch import
code qualitygood first issue

仓库指标

Star
 (8,309 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Currently, the URL Template hooks introduced in #241 use a simple string replace to resolve a template. Going forward, we should make this into a separate crate and add some additional functionality, such as escaping the brace characters.

We likely don't need a fully-fledged templating engine, since we are only dealing with URLs, but having the logic in a separate crate will make it easier to iterate on the behavior.

贡献者指南