Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed May 26, 2024
1 parent cb3027b commit 548724e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/api/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,21 +191,6 @@ async fn search_pkgs(
}
}

#[derive(Serialize)]
struct RepologyPkg {
name: String,
version: String,
release: String,
url: String,
recipe: String,
// maintainers: Vec<String>,
summary: String,
license: String,
category: String,
build: Option<String>,
arch: String,
}

#[get("/<repo>/packages/<name>")]
async fn pkg_info(
mut db: Connection<Mg>, repo: String, name: String,
Expand Down

0 comments on commit 548724e

Please sign in to comment.