From 8295bf3c2dc310aeae293dc7287e2efe8d651abd Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 24 Dec 2015 15:43:39 +0100 Subject: [PATCH] chore(rustup): no wildcards in dependencies Also version specifications in dependencies were chosen to provide maximum flexibility for users of the libraries. CLIs on the other hand specify last known-to-work major and minor versions to prevent breakage --- etc/api/type-api.yaml | 2 +- etc/api/type-cli.yaml | 6 +++--- src/mako/Cargo.toml.mako | 8 ++++---- src/md/.DS_Store | Bin 0 -> 6148 bytes 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 src/md/.DS_Store diff --git a/etc/api/type-api.yaml b/etc/api/type-api.yaml index 854ab941fd..f5cac492d5 100644 --- a/etc/api/type-api.yaml +++ b/etc/api/type-api.yaml @@ -29,4 +29,4 @@ cargo: build_script: src/build.rs keywords: [protocol, web, api] dependencies: - - url = "*" + - url = ">= 0.5" diff --git a/etc/api/type-cli.yaml b/etc/api/type-cli.yaml index ec86be019d..b24978eeb8 100644 --- a/etc/api/type-cli.yaml +++ b/etc/api/type-cli.yaml @@ -26,6 +26,6 @@ cargo: keywords: [cli] is_executable: YES dependencies: - - strsim = "*" - - yup-hyper-mock = ">=1.0.0" - - clap = ">= 1.0.3" + - strsim = "0.4" + - yup-hyper-mock = "1.0" + - clap = "1.5" diff --git a/src/mako/Cargo.toml.mako b/src/mako/Cargo.toml.mako index 0b00fd0e2c..af39c13c7f 100644 --- a/src/mako/Cargo.toml.mako +++ b/src/mako/Cargo.toml.mako @@ -26,19 +26,19 @@ name = "${util.program_name()}" % endif [dependencies] -hyper = "0.7.0" +hyper = "0.7" ## Must match the one hyper uses, otherwise there are duplicate similarly named `Mime` structs mime = "0.1.0" serde = ">= 0.6.0" serde_json = ">= 0.6.0" -yup-oauth2 = "*" +yup-oauth2 = "0.5" % for dep in cargo.get('dependencies', list()): ${dep} % endfor [build-dependencies] -syntex = { version = "*" } -serde_codegen = { version = "*" } +syntex = { version = ">= 0.23" } +serde_codegen = { version = ">= 0.6" } % if make.depends_on_suffix is not None: diff --git a/src/md/.DS_Store b/src/md/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..d035e6347ba012b0c74fe2681081a146125253c7 GIT binary patch literal 6148 zcmeHK%}T>S5Z-O8rh18}Ab8oU&_lIKJ;tg>p-^cNm70)17iv