Skip to content

Commit 581b1fe

Browse files
committed
Update README
`obj-rs` is now uploaded to https://crates.io, no more `git = ".."`.
1 parent 4bcede0 commit 581b1fe

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ obj-rs [![cargo-i][]][cargo-a] [![travis-i][]][travis-a]
55
formats. [Documentation][docs]
66

77
```toml
8-
[dependencies.obj-rs]
9-
git = "https://github.com/simnalamburt/obj-rs"
10-
features = ["glium-support"]
8+
[dependencies]
9+
obj-rs = "*"
1110
```
1211
```rust
1312
use std::fs::File;
@@ -33,8 +32,13 @@ Glium support
3332

3433
**obj-rs** supports [glium][] out of the box. See [example][] for further details.
3534

35+
```toml
36+
[dependencies]
37+
obj-rs = { version = "*", features = ["glium-support"] }
38+
```
3639
```rust
3740
use glium::*;
41+
use obj::*;
3842

3943
let input = BufReader::new(File::open("rilakkuma.obj").unwrap());
4044
let bear: Obj = load_obj(input).unwrap();

0 commit comments

Comments
 (0)