Skip to content

Commit

Permalink
Rename example, update Rust edition (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
GitGhillie authored Sep 17, 2023
1 parent 1d92a2f commit 86eee35
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "bevy_fmod"
description = "Idiomatic FMOD in Bevy"
authors = ["Fabian 'Salzian' Fritzsche <bevy_fmod@salzian.dev>"]
edition = "2021"
repository = "https://github.com/salzian/bevy_fmod"
version = "0.2.0"
license = "MIT OR Apache-2.0"
Expand All @@ -17,4 +18,4 @@ libfmod = "2.2.607"
bevy = "0.11.2"

[[example]]
name = "hello_world"
name = "minimal"
3 changes: 0 additions & 3 deletions examples/hello_world.rs → examples/minimal.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
extern crate bevy;
extern crate bevy_fmod;

use bevy::prelude::EventWriter;
use bevy::DefaultPlugins;
use bevy::{app::App, prelude::Startup};
Expand Down
5 changes: 0 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
extern crate anyhow;
extern crate bevy;
extern crate bevy_mod_sysfail;
extern crate libfmod;

mod play_sound_event;
mod plugin;

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use crate::PlaySoundEvent;
use bevy::app::{App, Plugin};
use bevy::log::{debug, trace};
use bevy::prelude::{EventReader, NonSend, PostUpdate, Resource, Startup, Update, World};
use bevy_mod_sysfail::sysfail;
use libfmod::ffi::{FMOD_INIT_NORMAL, FMOD_STUDIO_INIT_NORMAL, FMOD_STUDIO_LOAD_BANK_NORMAL};
use libfmod::{EventDescription, Studio};
use play_sound_event::PlaySoundEvent;
use std::env::var;
use std::fs::{canonicalize, read_dir};
use std::path::{Path, PathBuf};
Expand Down

0 comments on commit 86eee35

Please sign in to comment.