Skip to content

Commit 11a1a5e

Browse files
authored
feat: optional nightly (#221)
* feat: optional nightly * docs: correction
1 parent a017cd7 commit 11a1a5e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ default = [
5757
# "morph_particles",
5858
"morph_interpolate",
5959

60+
"nightly_generic_alias",
61+
6062
"sort_bitonic",
6163
"sort_radix", # TODO: fix macos radix sort
6264
"sort_rayon",
@@ -80,6 +82,8 @@ material_noise = ["noise", "dep:noise"]
8082
morph_particles = []
8183
morph_interpolate = []
8284

85+
nightly_generic_alias = []
86+
8387
noise = []
8488

8589
sh0 = []

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ bevy gaussian splatting render pipeline plugin. view the [live demo](https://mos
1010
![Alt text](docs/go.gif)
1111

1212

13-
## install cli
13+
## install
1414

1515
```bash
16-
cargo install bevy_gaussian_splatting
16+
cargo +nightly install bevy_gaussian_splatting
1717
bevy_gaussian_splatting --input-cloud [file://gaussian.ply | https://mitchell.mosure.me/go_trimmed.ply]
1818
```
1919

20+
> note: default bevy_gaussian_splatting features require nightly rust for generic associated types. to use on stable, disable default features and `nightly_generic_alias` feature
21+
2022

2123
## capabilities
2224

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![allow(incomplete_features)]
2-
#![feature(lazy_type_alias)]
2+
#![cfg_attr(feature = "nightly_generic_alias", feature(lazy_type_alias))]
33

44
use bevy::prelude::*;
55
pub use bevy_interleave::prelude::*;

0 commit comments

Comments
 (0)