5
5
** Features:**
6
6
7
7
* Cached ` multirust ` , Rust toolchain.
8
- * Auto-updating of toolchain.
8
+ * Caching of previous build artifacts to (potentially dramatically) speed up
9
+ similar builds.
10
+ * Configurable version selection inside of the ` Cargo.toml ` .
9
11
10
12
## Configuration
11
13
12
- Currently we abuse the ` Cargo.toml ` file and use a ` [target.heroku] ` item. By
13
- default the buildpack will use the latest ` nightly ` builds.
14
+ You can use any override you would pass ` multirust ` for this buildpack.
14
15
15
- You can use any override you would pass multirust here.
16
+ We currently (ab)use the ` cargo ` 's "target" feature to set the version desired.
17
+ Unfortunately because of this there are sometimes (harmless) ` cargo ` warnings
18
+ about an unused value in the ` toml ` file.
16
19
17
20
Example:
18
21
26
29
iron = " *"
27
30
28
31
[target .heroku ]
29
- override = " 1.3.0-beta "
32
+ version = " nightly "
30
33
```
31
34
32
35
## Instructions
@@ -86,7 +89,8 @@ application's `web` dyno with:
86
89
heroku ps:scale web=1
87
90
```
88
91
89
- Now you can visit [ ` https://$APP.herokuapp.com/ ` ] ( https://rust-buildpack-test.herokuapp.com/ ) and see your application!
92
+ Now you can visit [ ` https://$APP.herokuapp.com/ ` ] ( https://rust-buildpack-test.herokuapp.com/ )
93
+ and see your application!
90
94
91
95
## Testing
92
96
@@ -96,4 +100,5 @@ If you have Docker, you can test this buildpack by doing the following:
96
100
make
97
101
```
98
102
99
- The ` Makefile ` defines how to pull down the testrunner and build the appropriate docker container, then test the buildpack.
103
+ The ` Makefile ` defines how to pull down the testrunner and build the appropriate
104
+ docker container, then test the buildpack.
0 commit comments