From 0be7c0ea39e9b99c6d01dd3e0aa896cd4809816a Mon Sep 17 00:00:00 2001 From: mosure Date: Thu, 13 Nov 2025 16:26:03 -0600 Subject: [PATCH 1/2] feat: optional nightly --- Cargo.toml | 4 ++++ README.md | 6 ++++-- src/lib.rs | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa493093..3b5ab2c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,8 @@ default = [ # "morph_particles", "morph_interpolate", + "nightly_generic_alias", + "sort_bitonic", "sort_radix", # TODO: fix macos radix sort "sort_rayon", @@ -80,6 +82,8 @@ material_noise = ["noise", "dep:noise"] morph_particles = [] morph_interpolate = [] +nightly_generic_alias = [] + noise = [] sh0 = [] diff --git a/README.md b/README.md index b78f07b0..ea5d3f3c 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,15 @@ bevy gaussian splatting render pipeline plugin. view the [live demo](https://mos ![Alt text](docs/go.gif) -## install cli +## install ```bash -cargo install bevy_gaussian_splatting +cargo +nightly install bevy_gaussian_splatting bevy_gaussian_splatting --input-cloud [file://gaussian.ply | https://mitchell.mosure.me/go_trimmed.ply] ``` +> note: default bevy_gaussian_splatting features require nightly rust for generic associated types. to use on stable, disable default features and enable `nightly_generic_alias` feature + ## capabilities diff --git a/src/lib.rs b/src/lib.rs index 0a1d716c..abfe39fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![allow(incomplete_features)] -#![feature(lazy_type_alias)] +#![cfg_attr(feature = "nightly_generic_alias", feature(lazy_type_alias))] use bevy::prelude::*; pub use bevy_interleave::prelude::*; From 7a4fe68734c8a64f578aa08afc596a8ca4a6412a Mon Sep 17 00:00:00 2001 From: mosure Date: Thu, 13 Nov 2025 16:27:31 -0600 Subject: [PATCH 2/2] docs: correction --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea5d3f3c..a3030804 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ cargo +nightly install bevy_gaussian_splatting bevy_gaussian_splatting --input-cloud [file://gaussian.ply | https://mitchell.mosure.me/go_trimmed.ply] ``` -> note: default bevy_gaussian_splatting features require nightly rust for generic associated types. to use on stable, disable default features and enable `nightly_generic_alias` feature +> 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 ## capabilities