Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
krystianbajno committed Oct 12, 2024
1 parent a2fa8a8 commit 10983ad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
8 changes: 7 additions & 1 deletion Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ flate2 = "1.0.31"
url = "2.2.2"
colored = "2.0.0"
ammonia = "4.0.0"
log = "0.4"
# log = "0.4"
# simplelog = "0.11"

[build-dependencies]
static_vcruntime = "2.0"

[profile.release]
opt-level = "z"
strip = true
Expand Down
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
static_vcruntime::metabuild();
}
8 changes: 0 additions & 8 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,8 @@ use clap::{Arg, Command};
use http::server;
use proxy::proxy::start_ssl_proxy;

// use simplelog::*;
// use std::fs::File;

#[tokio::main]
async fn main() {
// let log_file = File::create("droppa.log").unwrap();
// CombinedLogger::init(vec![
// WriteLogger::new(LevelFilter::Info, Config::default(), log_file),
// ]).unwrap();

let matches = Command::new("DROPPA")
.version("1.0")
.author("Krystian Bajno")
Expand Down

0 comments on commit 10983ad

Please sign in to comment.