Skip to content

v0.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Oct 07:01
· 19 commits to main since this release

it-tools v0.0.1

IT Tools 的 Rust 实现 —— 静态资源全部嵌在二进制里,下载下来直接跑。

Initial Release

  • 4a80388 fix(pdf): bound how far a PDF stream may decompress
  • 9453483 chore(deps): upgrade the Rust dependencies that can move
  • 755c4e2 fix(test): keep the APR1 oracle's corpus fixed and away from option parsing
  • b9d4f61 ci: give every job a timeout so a stuck one fails in minutes
  • c413407 fix(test): feed the APR1 oracle over argv again, and cap how long it may run
  • 951b4df ci: install cross from its release tarball instead of compiling it
  • 3093952 fix(test): hand the APR1 password to openssl over stdin, not argv
  • 64e09bb feat: it-tools (Rust) — a Rust rewrite of IT Tools with every asset embedded in the binary

产物

  • x86_64-unknown-linux-gnu — Linux x86_64(glibc)
  • x86_64-unknown-linux-musl — Linux x86_64(静态 musl)
  • aarch64-unknown-linux-musl — Linux ARM64(静态 musl,树莓派 / ARM 服务器)
  • aarch64-unknown-linux-gnu — Linux ARM64(glibc,Graviton 之类)
  • armv7-unknown-linux-musleabihf — Linux ARMv7(静态 musl,路由器 / 盒子)
  • x86_64-apple-darwin — macOS Intel
  • aarch64-apple-darwin — macOS Apple Silicon
  • x86_64-pc-windows-msvc — Windows x86_64

Docker

docker pull dyrnq/it-tools
docker run -d -p 8080:8080 dyrnq/it-tools

同一个二进制,alpine 基础镜像,amd64 + arm64。
版本号 tag(dyrnq/it-tools:<tag>)跟这个 Release 的 tag 一起推。

跑起来

./it-tools --host 0.0.0.0 --port 8080

服务本身没有鉴权:RSA 密钥生成、bcrypt、JWT 签名这些接口谁都能调。
适合放在内网,别直接暴露到公网。