Skip to content

Commit

Permalink
Merge pull request #274 from alteous/master
Browse files Browse the repository at this point in the history
Version 0.15
  • Loading branch information
alteous authored Jan 18, 2020
2 parents f489c26 + 5955e50 commit 0a2777d
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 9 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

The `gltf` crate adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased

## [0.15.0] - 2020-01-18

### Added

- Support for the `KHR_materials_unlit` extension, which adds an `unlit` field
to `Material`.
- `ExactSizeIterator` implementations for accessor iterators.

### Fixed

- Some lifetimes for accessing fields (e.g. `Node::children`) have been relaxed.
- `Accessor::buffer_view` is now optional for the benefit of sparse accessors.

### Removed

- `animation::Interpolation::CatmullRomSpline`

## [0.14.0] - 2019-10-06

### Added
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gltf"
version = "0.14.0"
version = "0.15.0"
authors = ["David Harvey-Macaulay <[email protected]>"]
description = "glTF 2.0 loader"
documentation = "https://docs.rs/gltf"
Expand All @@ -24,7 +24,7 @@ approx = "0.3"
[dependencies]
base64 = { optional = true, version = "0.10" }
byteorder = "1.1"
gltf-json = { path = "gltf-json", version = "0.14.0" }
gltf-json = { path = "gltf-json", version = "0.15.0" }
lazy_static = "1"

[dependencies.image]
Expand Down
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,33 @@ This crate is intended to load [glTF 2.0](https://www.khronos.org/gltf), a file

See the [crate documentation](https://docs.rs/gltf) for example usage.

### Extras and Names
### Features

#### Extras and names

By default, `gltf` ignores all `extras` and `names` included with glTF assets. You can negate this by enabling the `extras` and `names` features, respectively.

```toml
[dependencies.gltf]
version = "0.14"
version = "0.15"
features = ["extras", "names"]
```

#### glTF extensions

The following glTF extensions are supported by the crate:

* `KHR_lights_punctual`
* `KHR_materials_pbrSpecularGlossiness`
* `KHR_materials_unlit`

To use an extension, list its name in the `features` section.

```toml
[dependencies.gltf]
features = ["KHR_materials_unlit"]
```

### Examples

#### gltf-display
Expand Down
2 changes: 1 addition & 1 deletion gltf-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gltf-derive"
version = "0.14.0"
version = "0.15.0"
authors = ["David Harvey-Macaulay <[email protected]>"]
description = "Internal macros for the gltf crate"
repository = "https://github.com/gltf-rs/gltf"
Expand Down
4 changes: 2 additions & 2 deletions gltf-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "gltf-json"
version = "0.14.0"
version = "0.15.0"
authors = ["David Harvey-Macaulay <[email protected]>"]
description = "JSON parsing for the gltf crate"
repository = "https://github.com/gltf-rs/gltf"
license = "MIT/Apache-2.0"
edition = "2018"

[dependencies]
gltf-derive = { path = "../gltf-derive", version = "0.14.0" }
gltf-derive = { path = "../gltf-derive", version = "0.15.0" }
serde = "1.0"
serde_derive = "1.0"
serde_json = { features = ["raw_value"], version = "1.0" }
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
//!
//! # Installation
//!
//! Add `gltf` version 0.14 to your `Cargo.toml`.
//! Add `gltf` version 0.15 to your `Cargo.toml`.
//!
//! ```toml
//! [dependencies.gltf]
//! version = "0.14"
//! version = "0.15"
//! ```
//!
//! # Examples
Expand Down

0 comments on commit 0a2777d

Please sign in to comment.