We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcede0 commit 581b1feCopy full SHA for 581b1fe
README.md
@@ -5,9 +5,8 @@ obj-rs [![cargo-i][]][cargo-a] [![travis-i][]][travis-a]
5
formats. [Documentation][docs]
6
7
```toml
8
-[dependencies.obj-rs]
9
-git = "https://github.com/simnalamburt/obj-rs"
10
-features = ["glium-support"]
+[dependencies]
+obj-rs = "*"
11
```
12
```rust
13
use std::fs::File;
@@ -33,8 +32,13 @@ Glium support
33
32
34
**obj-rs** supports [glium][] out of the box. See [example][] for further details.
35
+```toml
36
37
+obj-rs = { version = "*", features = ["glium-support"] }
38
+```
39
40
use glium::*;
41
+use obj::*;
42
43
let input = BufReader::new(File::open("rilakkuma.obj").unwrap());
44
let bear: Obj = load_obj(input).unwrap();
0 commit comments