Skip to content

Commit

Permalink
prepare cargo publish
Browse files Browse the repository at this point in the history
  • Loading branch information
hinto-janai committed Apr 2, 2023
1 parent db60280 commit 3dd1b99
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "utils/aur/monero-vanity-bin"]
path = utils/aur/monero-vanity-bin
url = ssh://[email protected]/monero-vanity-bin.git
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ version = "0.4.0"
edition = "2021"
authors = ["hinto.janai <[email protected]>"]
description = "Monero Vanity Address Generator"
documentation = "https://docs.rs/monero-vanity"
repository = "https://github.com/hinto-janai/monero-vanity"
readme = "README.md"
keywords = ["monero", "vanity", "address", "cli", "gui"]
categories = ["command-line-utilities"]
license = "MIT"
exclude = [
"images/*",
"utils/*",
"CHANGELOG.md",
".github",
]

# Build with [RUSTFLAGS="-C target-cpu=native" cargo build --profile optimized]
# if you don't care about compatibility and want to optimize for your particular CPU
Expand Down
1 change: 1 addition & 0 deletions src/commit
6 changes: 3 additions & 3 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ pub const VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION"));
pub const NAME_VER: &str = concat!("monero-vanity v", env!("CARGO_PKG_VERSION"));

/// Current `git` commit.
pub const COMMIT: &str = include_str!("../.git/refs/heads/main");
pub const COMMIT: &str = include_str!("commit");

pub const VERSION_COMMIT: &str = concat!(
"v",
env!("CARGO_PKG_VERSION"),
" | Commit: ",
include_str!("../.git/refs/heads/main"),
include_str!("commit"),
);

/// 1 second.
Expand Down Expand Up @@ -53,7 +53,7 @@ pub const DARK_GRAY: egui::Color32 = egui::Color32::from_rgb(18, 18, 18);
pub const APP_RESOLUTION: [f32; 2] = [1000.0, 800.0];

/// App icon.
pub const ICON: &[u8] = include_bytes!("../images/icon.png");
pub const ICON: &[u8] = include_bytes!("icon.png");

//---------------------------------------------------------------------------------------------------- TESTS
//#[cfg(test)]
Expand Down
1 change: 1 addition & 0 deletions src/icon.png
1 change: 0 additions & 1 deletion utils/monero-vanity.AppDir/.DirIcon

This file was deleted.

1 change: 1 addition & 0 deletions utils/monero-vanity.AppDir/icon.png
3 changes: 2 additions & 1 deletion utils/monero-vanity.AppDir/monero-vanity.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ Name=monero-vanity
GenericName=Address Generator
Comment=Monero Vanity Address Generator GUI/CLI
Exec=monero-vanity
Icon=256
Icon=icon
Type=Application
Categories=Utility

0 comments on commit 3dd1b99

Please sign in to comment.