Skip to content

QT1543/MalwareMinimizerDoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

MalwareMinimizerDoc

1/17/25:

  • If shell script results in output error, do this:
rustup toolchain install nightly
rustup override set nightly
cargo --version
cargo build

1/24/25:

  • Ran cargo check to see if dependencies are properly resolved and if Cargo.toml and Cargo.lock are in sync
cargo check

2/4/25:

  • Ran cargo test to ensure everything works with the specified versions of the dependencies in Cargo.toml.
  • There were no errors after cargo run except some identifier warnings but it didn't affect the test.
cargo test
  • Wrote code in the src/main.rs to test the dependencies. Then ran this in the terminal:
cargo run -- https://jsonplaceholder.typicode.com/posts/1
  • Resulted in:
Compiling MalwareMinimizer v0.1.0 (path)
warning: structure field `userId` should have a snake case name
 --> src/main.rs:8:5
  |
8 |     userId: u32,
  |     ^^^^^^ help: convert the identifier to snake case: `user_id`
  |
  = note: `#[warn(non_snake_case)]` on by default

warning: `MalwareMinimizer` (bin "MalwareMinimizer") generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
     Running `target/debug/MalwareMinimizer 'https://jsonplaceholder.typicode.com/posts/1'`
Fetching data from: https://jsonplaceholder.typicode.com/posts/1
Received data: ApiResponse { userId: 1, id: 1, title: "sunt aut facere repellat provident occaecati excepturi optio reprehenderit", body: "quia et suscipit\nsuscipit recusandae consequuntur expedita et cum\nreprehenderit molestiae ut ut quas totam\nnostrum rerum est autem sunt rem eveniet architecto", data: None }

2/6/26:

  • Doing Rust Mini-Project

2/13/26:

  • Worked on issue #107 and submitted pull request

2/20/26:

  • Added a trailing newline in issue #107

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors