Skip to content

Commit

Permalink
Fix some publishing issues and adding badges
Browse files Browse the repository at this point in the history
Signed-off-by: Amjad Alsharafi <[email protected]>
  • Loading branch information
Amjad50 committed Oct 19, 2024
1 parent 171b71c commit eb21003
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<p align="center">
<a href="https://github.com/Amjad50/plastic"><img alt="plastic" src="images/logo.svg" width="60%"></a>
<!-- Really ugly workaround, but the image isn't working in crates.io without this -->
<a href="https://github.com/Amjad50/plastic"><img alt="plastic" src="https://raw.githubusercontent.com/Amjad50/plastic/refs/heads/master/images/logo.svg" width="60%"></a>
<p align="center">NES emulator in <em>Rust</em></p>
</p>

Expand All @@ -8,6 +9,13 @@
[![codecov](https://codecov.io/gh/Amjad50/plastic/branch/master/graph/badge.svg)](https://codecov.io/gh/Amjad50/plastic)
[![dependency status](https://deps.rs/repo/github/Amjad50/plastic/status.svg)](https://deps.rs/repo/github/Amjad50/plastic)
[![license](https://img.shields.io/github/license/Amjad50/plastic)](./LICENSE)
<br>
[![Crates.io Version](https://img.shields.io/crates/v/plastic_core?label=plastic_core)](https://crates.io/crates/plastic_core)
[![docs.rs](https://img.shields.io/docsrs/plastic_core)](https://docs.rs/plastic_core/latest/plastic_core/)
<br>
[![Crates.io Version](https://img.shields.io/crates/v/plastic?label=plastic)](https://crates.io/crates/plastic)
[![Crates.io Version](https://img.shields.io/crates/v/plastic_tui?label=plastic_tui)](https://crates.io/crates/plastic_tui)


**plastic** is a [NES][NES-wiki] emulator built from scratch using [Rust][Rust].

Expand Down
2 changes: 1 addition & 1 deletion plastic_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plastic_core"
version = "0.3.0"
version = "0.3.1"
authors = ["Amjad Alsharafi <[email protected]>"]
edition = "2021"
description = "An accurate NES emulator. The backend emulation for plastic and plastic-tui"
Expand Down
4 changes: 2 additions & 2 deletions plastic_tui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plastic_tui"
version = "0.3.0"
version = "0.3.1"
authors = ["Amjad Alsharafi <[email protected]>"]
edition = "2021"
description = "An accurate NES emulator. Front-end terminal interface (TUI) for plastic-core"
Expand All @@ -11,7 +11,7 @@ keywords = ["nes", "nintendo", "tui", "emulator"]
categories = ["emulators"]

[dependencies]
plastic_core = { path = "../plastic_core", version = "0.3.0", features = ["frontend_misc"] }
plastic_core = { path = "../plastic_core", version = "0.3", features = ["frontend_misc"] }

crossterm = "0.28"
gilrs = "0.11"
Expand Down
4 changes: 2 additions & 2 deletions plastic_ui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plastic"
version = "0.3.0"
version = "0.3.1"
authors = ["Amjad Alsharafi <[email protected]>"]
edition = "2021"
description = "An accurate NES emulator. Front-end for plastic-core"
Expand All @@ -11,7 +11,7 @@ keywords = ["nes", "nintendo", "emulator"]
categories = ["emulators"]

[dependencies]
plastic_core = { path = "../plastic_core", version = "0.3.0", features = ["frontend_misc"] }
plastic_core = { path = "../plastic_core", version = "0.3", features = ["frontend_misc"] }

egui = "0.29"
egui-winit = "0.29"
Expand Down
1 change: 1 addition & 0 deletions plastic_ui/images/icon.png
2 changes: 1 addition & 1 deletion plastic_ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ pub fn main() -> Result<(), eframe::Error> {
eframe::NativeOptions {
window_builder: Some(Box::new(|builder| {
builder.with_drag_and_drop(true).with_icon(
eframe::icon_data::from_png_bytes(include_bytes!("../../images/icon.png"))
eframe::icon_data::from_png_bytes(include_bytes!("../images/icon.png"))
.unwrap(),
)
})),
Expand Down

0 comments on commit eb21003

Please sign in to comment.