Skip to content

Commit

Permalink
Pre-release v0.5.0-alpha | Add cargo custom profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Obscurely committed Dec 4, 2022
1 parent 55bac58 commit 1946f62
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

15 changes: 13 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
[package]
name = "estash"
version = "0.1.0"
authors = ["Obscurely <adrian.obscurely@protonmail.com>"]
version = "0.4.0"
edition = "2021"
rust-version = "1.64" # Minimum rust version, should work with older ones, but this is the one I used.
description = "An encrypted (highly secure) vault to store your data, files, and with the abillity to install them in a desired location."
documentation = "https://github.com/Obscurely/EStash"
repository = "https://github.com/Obscurely/EStash"
homepage = "https://github.com/Obscurely/EStash"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = 3 # Optimize for speed.
lto = true # instructs the linker to optimize at the link stage
codegen-units = 1 # Default is 16, the higher the faster compile time, but it may produce slower code.
panic = "abort" # Since all of the errors are handled manually, aborting and removing the panic code is nothing, but an improvement.

[dependencies]
blake3 = "1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion src/vault/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn create(is_windows: bool, vault: Vault) -> fltk::window::DoubleWindow {
let mut clear_content_button = button::Button::default()
.with_size(100, 20)
.below_of(&content, 2);
clear_content_button.set_label("Delete Content");
clear_content_button.set_label("Clear Content");
clear_content_button.set_pos(225, clear_content_button.y());
clear_content_button.hide();
let clear_content_button_arc = Arc::new(Mutex::new(clear_content_button.clone()));
Expand Down

0 comments on commit 1946f62

Please sign in to comment.