Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust nigthly & dependency fixes (#15)
* Add rust-toolchain.toml file This file tells cargo (and other tools, like vscode rust-analyzer plugin) to use the nightly toolchain by default. This is needed to correctly open the project in vscode with rust-analyzer. We should probably fix a nigthly version, but for now leave it as a generic `nightly`. * Use feature(generic_associated_types) as in stable The feature(generic_associated_types) has been recently stabilized and does not need to be listed in the `#![feature(...)]` block. Also, move the `where` clauses on GAT impls to after the type assignment, taking advantage of a syntax change described here: rust-lang/rust#89122 * Update bitvec to 1.0.1 bitvec-0.22.3 depends on yanked funty-1.2.0 and no longer builds. Update to bitvec-1.0.1 as this is the most recent version. Change a few API calls as they have been renamed. Move the framebuffer BitArray size to a constant so that it is not repeated. * Fix a typo in settings.toml * Invoke `cargo fmt` on the whole workspace * Fix apex-ctl clap usage and update it Update clap to 4.0.26. Enable the `derive` feature to fix compilation. Change the derive attributes to work with newer version of clap. Drop apex_hardware::FareBuffer use. * Fix `debug` feature Make `src/render/debug.rs` buildable. * Fix `coindesk` section in `settings.toml` It was called `crypto`, but the provider is called `coindesk` instead. * fixup! Update bitvec to 1.0.1
- Loading branch information
Showing
21 changed files
with
75 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#![feature(generic_associated_types, type_alias_impl_trait)] | ||
#![feature(type_alias_impl_trait)] | ||
mod engine; | ||
pub use engine::{Engine, HEARTBEAT, REMOVE_EVENT, REMOVE_GAME}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#![feature(generic_associated_types, type_alias_impl_trait, async_iterator)] | ||
#![feature(type_alias_impl_trait, async_iterator)] | ||
mod generated; | ||
mod player; | ||
pub use player::{Metadata, Player, MPRIS2}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#![feature(generic_associated_types, type_alias_impl_trait,async_iterator)] | ||
#![feature(type_alias_impl_trait, async_iterator)] | ||
mod music; | ||
pub use music::Player; | ||
pub use music::Metadata; | ||
pub use music::{Metadata, Player}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[toolchain] | ||
channel = "nightly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.