19 |
19 |
20 ### Installing dependencies |
20 ### Installing dependencies |
21 |
21 |
22 Most dependencies are managed by the Cargo build system of [Rust]. You will |
22 Most dependencies are managed by the Cargo build system of [Rust]. You will |
23 only need to install the “nightly” Rust compiler and the |
23 only need to install the “nightly” Rust compiler and the |
24 [GNU Scientific Library] manually. At the time of writing this README, |
24 [GNU Scientific Library] manually. |
25 [alg_tools] also needs to be downloaded separately. |
|
26 |
25 |
27 1. Install the [Rust] infrastructure (including Cargo) with [rustup]. |
26 1. Install the [Rust] infrastructure (including Cargo) with [rustup]. |
28 2. Install a “nightly” release of the Rust compiler. With rustup, installed in |
27 2. Install a “nightly” release of the Rust compiler. With rustup, installed in |
29 the previous step, this can be done with |
28 the previous step, this can be done with |
30 ```console |
29 ```console |
36 brew install gsl |
35 brew install gsl |
37 ``` |
36 ``` |
38 For other operating systems, suggestions are available in the [rust-GSL] |
37 For other operating systems, suggestions are available in the [rust-GSL] |
39 crate documentation. On Windows, you will likely need to pass extra |
38 crate documentation. On Windows, you will likely need to pass extra |
40 `RUSTFLAGS` options to Cargo in the following steps to locate the library. |
39 `RUSTFLAGS` options to Cargo in the following steps to locate the library. |
41 |
|
42 4. Download [alg_tools] and unpack it under the same directory as this |
|
43 package. |
|
44 |
40 |
45 [rustup]: https://rustup.rs |
41 [rustup]: https://rustup.rs |
46 [alg_tools]: https://tuomov.iki.fi/software/alg_tools/ |
42 [alg_tools]: https://tuomov.iki.fi/software/alg_tools/ |
47 [Rust]: https://www.rust-lang.org/ |
43 [Rust]: https://www.rust-lang.org/ |
48 [GNU Scientific Library]: https://www.gnu.org/software/gsl/ |
44 [GNU Scientific Library]: https://www.gnu.org/software/gsl/ |
93 The `cargo-d` script ensures that KaTeX mathematics is rendered in the |
89 The `cargo-d` script ensures that KaTeX mathematics is rendered in the |
94 generated documentation through an ugly workaround. Unfortunately, |
90 generated documentation through an ugly workaround. Unfortunately, |
95 `rustdoc`, akin to Rust largely itself, is stuck in 80's 7-bit gringo ASCII |
91 `rustdoc`, akin to Rust largely itself, is stuck in 80's 7-bit gringo ASCII |
96 world, and does not support modern markdown features, such as mathematics. |
92 world, and does not support modern markdown features, such as mathematics. |
97 |
93 |
|
94 ## Source repository |
|
95 |
|
96 A Mercurial repository is available; see |
|
97 https://tuomov.iki.fi/software/pointsource_algs/. |