From e74662473f8105318ec860ee4e0dbf70954ce6fc Mon Sep 17 00:00:00 2001 From: Hyeon Kim Date: Mon, 8 Dec 2014 23:56:42 +0900 Subject: [PATCH] Use default requirements instead of tilde requirements Supposing that cargos use the semantic versioning, caret requirements(^) is the perfect default option to show since tilde requirements(~) can be somewhat unnecessarily strict Since Cargo treates caret as default requirements, no sigil is needed in this position References: https://github.com/rust-lang/semver#requirements https://github.com/rust-lang/crates.io/pull/92 --- app/templates/crate/index.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/crate/index.hbs b/app/templates/crate/index.hbs index e43db577376..c53659ff98d 100644 --- a/app/templates/crate/index.hbs +++ b/app/templates/crate/index.hbs @@ -49,7 +49,7 @@ {{/if}}
Cargo.toml
- {{ name }} = "~{{ currentVersion.num }}" + {{ name }} = "{{ currentVersion.num }}"