Skip to content

Commit

Permalink
Mentions need for Rust Nightly
Browse files Browse the repository at this point in the history
Direct dependency `serde_traitobject` 0.2.4 depends on `metatype` 0.2.0, which requires nightly.
  • Loading branch information
colindean authored Aug 13, 2020
1 parent 07c2e74 commit d3f5f78
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions user_guide/src/chapter_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,23 @@

## Getting started

### Installation
### Setting up Rust

Right now the framework lacks any sort of cluster manager of submit program/script.
Vega requires Rust Nightly channel because it depends on libraries that require Nightly (`serde_traitobject` -> `metatype`).
Ensure that you have and are using a Nightly toolchain when
building examples.

In order to use the framework you have to clone the repository and add the local dependency or add the upstream GitHub repository to your Rust project (the crate is not yet published on [crates.io](https://crates.io/)). E.g. add to your application Cargo.toml or:
rustup toolchain install nightly

Then set the default, or pass the toolchain in when invoking Cargo:

rustup default nightly

### Installing Vega

Right now, the framework lacks any sort of cluster manager of submit program/script.

In order to use the framework, you have to clone the repository and add the local dependency or add the upstream GitHub repository to your Rust project (the crate is not yet published on [crates.io](https://crates.io/)). E.g. add to your application Cargo.toml or:

```doc
[dependencies]
Expand All @@ -17,7 +29,7 @@ vega = { path = "/path/to/local/git/repo" }
vega = { git = "https://github.com/rajasekarv/vega", branch = "master }
```

Is not recommended to use the application for any sort of production code yet as it's under heavy development.
It is _not recommended_ to use the application for any sort of production code yet as it's under heavy development.

Check [examples](https://github.com/rajasekarv/vega/tree/master/examples) and [tests](https://github.com/rajasekarv/vega/tree/master/tests) in the source code to get a basic idea of how the framework works.

Expand Down

0 comments on commit d3f5f78

Please sign in to comment.