Commit graph

176 commits

Author SHA1 Message Date
1408ca9f38
treewide: break into multiple crates
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ifabe7af523ece1354b301b1a321659ee6a6a6964
2026-03-27 13:27:44 +03:00
928452faba
chore: enable explicit ABI for rustfmt
Some checks are pending
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8886d8c13a09231ad45f0a075e1308766a6a6964
2026-03-27 10:35:23 +03:00
b4d3b9203a
microfetch: consume library exports in binary crate
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id6c10efbb185fc44fcf22e6ab5c94a266a6a6964
2026-03-27 10:35:11 +03:00
raf
bf1b319971
Merge pull request #54 from NotAShelf/notashelf/push-ypvyyznuosqk
Some checks are pending
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
various: replace libc invocations with `std::env` and handwritten syscall wrappers
2026-03-26 22:45:22 +03:00
Amaan Qureshi
1dd02def4b
lib: fix aarch64 build by casting UtsNameBuf field pointers to c_char (#55) 2026-03-26 22:43:40 +03:00
0c294d348b
various: fix clippy lints
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icbd2ba104c66907208cb37adf0c3915a6a6a6964
2026-03-25 17:10:27 +03:00
a798c5d3e8
chore: drop libc from crate dependencies
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1a4110c5b79f7cbb3a7d964e3a5a80c66a6a6964
2026-03-25 17:07:28 +03:00
99e033c415
system: use std::env::var_os over libc helpers
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2747d4b065095314a1d454a204a251c96a6a6964
2026-03-25 17:07:27 +03:00
17cd7530d6
uptime: construct a raw buffer for the sysinfo syscall; drop libc::sysinfo
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I63887d9f73e6fed670e497086d30d2a46a6a6964
2026-03-25 17:07:26 +03:00
99f7be5aac
microfetch-lib: use home-made syscall wrappers over libc::uname
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I162c771dce2714fa73db3e2e5dc8dcb36a6a6964
2026-03-25 17:07:25 +03:00
f6f1b3003a
syscall: wrap Linux syscalls directly to replace libc
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8bb8f3b2e3966cfa2324c0cf8eb447386a6a6964
2026-03-25 17:07:24 +03:00
72de00771f
desktop: replace libc::getenv with env::var_os
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie94268934435b70bfbcd81e4676600206a6a6964
2026-03-25 17:07:23 +03:00
90ba703506
colors: drop libc invocations for var_os
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I572acd49ef687c8049d43a7ba42bd12c6a6a6964
2026-03-25 17:07:11 +03:00
dependabot[bot]
18a530cf64
chore: bump libc
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.182 to 0.2.183.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.183/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.182...0.2.183)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.183
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 14:38:26 +03:00
dependabot[bot]
16ac17f8b6
chore: bump hotpath
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [hotpath](https://github.com/pawurb/hotpath-rs) from 0.11.0 to 0.13.0.
- [Release notes](https://github.com/pawurb/hotpath-rs/releases)
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pawurb/hotpath-rs/compare/v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: hotpath
  dependency-version: 0.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 14:52:19 +03:00
dependabot[bot]
6eb30c85bf
chore: bump hotpath from 0.10.1 to 0.11.0 (#49)
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [hotpath](https://github.com/pawurb/hotpath-rs) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/pawurb/hotpath-rs/releases)
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pawurb/hotpath-rs/compare/v0.10.1...v0.11.0)

---
updated-dependencies:
- dependency-name: hotpath
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 15:34:34 +03:00
dependabot[bot]
2020405154
chore: bump actions/download-artifact from 7 to 8 (#51)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 15:34:22 +03:00
dependabot[bot]
d0a8356aac
chore: bump actions/upload-artifact from 6 to 7 (#50)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 15:34:09 +03:00
dependabot[bot]
544cb43b26
chore: bump libc
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
2026-02-19 16:25:18 +03:00
3988436fa9
chore: bump dependencies; set MSRV to 1.91.0
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9b88bddb82e8f2d0d4e249cc3a27c61f6a6a6964
2026-02-09 15:34:56 +03:00
f1d0622f84
nix: bump nixpkgs input
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6d90bb5614d2e56cb18ac06cd3d2473f6a6a6964
2026-02-09 15:34:55 +03:00
8a0a9f2649
nix: link with Mold for all Linux platforms
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibed900b7d587278223e6150332aac1dd6a6a6964
2026-02-09 14:58:04 +03:00
dependabot[bot]
d2ae1a9af7
chore: bump hotpath
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Bumps [hotpath](https://github.com/pawurb/hotpath) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/pawurb/hotpath/releases)
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pawurb/hotpath/compare/v0.9.2...v0.9.3)

---
updated-dependencies:
- dependency-name: hotpath
  dependency-version: 0.9.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 16:42:14 +03:00
raf
40b10d8bbe
Merge pull request #44 from NotAShelf/dependabot/cargo/libc-0.2.180
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
chore(deps): bump libc from 0.2.179 to 0.2.180
2026-01-12 16:10:10 +03:00
dependabot[bot]
b656de287e
chore(deps): bump libc from 0.2.179 to 0.2.180
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.179 to 0.2.180.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.180/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.179...0.2.180)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.180
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-12 13:02:42 +00:00
3de8b5ef8e
docs: add cargo install instructions to README
Some checks are pending
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2ff7d28036ef717fb8a5a29c0f98e3e86a6a6964
2026-01-12 11:01:16 +03:00
303c09e513
chore: add missing manifest fields for Cargo
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic5e6f6611b7e8db8c1b6680adb8e4f646a6a6964
2026-01-12 11:01:15 +03:00
d08ad6e38e
docs: move README & asset to docs dir; update demo img
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I47770f97a8ddc10f66d22acf2f2d26836a6a6964
2026-01-12 10:50:25 +03:00
014c1a35f5
chore: tag 0.4.13
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
0.4.13
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic81e6e266915555bad684e91aaf8b5236a6a6964
2026-01-09 17:58:11 +03:00
raf
fd1c8244fe
Merge pull request #43 from SoSeDiK/logo
Swap logo colors
2026-01-09 14:57:19 +03:00
SoSeDiK
d1878a44a1
Swap logo colors 2026-01-09 13:24:53 +02:00
raf
f1660ff6ca
Merge pull request #42 from NotAShelf/dependabot/cargo/libc-0.2.179
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
chore(deps): bump libc from 0.2.178 to 0.2.179
2026-01-05 14:01:24 +03:00
dependabot[bot]
5d58d51fce
chore(deps): bump libc from 0.2.178 to 0.2.179
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.178 to 0.2.179.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.178...0.2.179)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.179
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-05 10:51:33 +00:00
raf
a41eb10e9c
Merge pull request #41 from NotAShelf/dependabot/cargo/hotpath-0.9.2
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
chore(deps): bump hotpath from 0.9.0 to 0.9.2
2025-12-29 15:44:08 +03:00
dependabot[bot]
de764d4c40
chore(deps): bump hotpath from 0.9.0 to 0.9.2
Bumps [hotpath](https://github.com/pawurb/hotpath) from 0.9.0 to 0.9.2.
- [Release notes](https://github.com/pawurb/hotpath/releases)
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pawurb/hotpath/compare/v0.9.0...v0.9.2)

---
updated-dependencies:
- dependency-name: hotpath
  dependency-version: 0.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-29 10:30:19 +00:00
raf
baf7fed370
Merge pull request #36 from NotAShelf/dependabot/cargo/hotpath-0.9.0
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
chore(deps): bump hotpath from 0.8.0 to 0.9.0
2025-12-15 13:35:20 +03:00
raf
5bc5f4dd11
Merge pull request #37 from NotAShelf/dependabot/github_actions/actions/upload-artifact-6
chore(deps): bump actions/upload-artifact from 5 to 6
2025-12-15 13:34:56 +03:00
raf
ad685ae2a0
Merge pull request #38 from NotAShelf/dependabot/github_actions/actions/download-artifact-7
chore(deps): bump actions/download-artifact from 6 to 7
2025-12-15 13:34:44 +03:00
dependabot[bot]
2b0108511c
chore(deps): bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 10:32:01 +00:00
dependabot[bot]
1ce0a4c64a
chore(deps): bump actions/upload-artifact from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 10:31:56 +00:00
dependabot[bot]
e1f93030a6
chore(deps): bump hotpath from 0.8.0 to 0.9.0
Bumps [hotpath](https://github.com/pawurb/hotpath) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/pawurb/hotpath/releases)
- [Changelog](https://github.com/pawurb/hotpath-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pawurb/hotpath/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: hotpath
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 10:29:01 +00:00
raf
8d863c64c9
Merge pull request #32 from NotAShelf/dependabot/cargo/criterion-0.8.1
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
chore(deps): bump criterion from 0.8.0 to 0.8.1
2025-12-11 18:18:59 +03:00
2066d781fe
docs: update motivation section a little
Some checks are pending
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
God redditors are insufferable

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I468d0fe0c1aaaa8d08d41373cfc8993c6a6a6964
2025-12-10 14:07:45 +03:00
dependabot[bot]
6640fdd559
chore(deps): bump criterion from 0.8.0 to 0.8.1
Bumps [criterion](https://github.com/criterion-rs/criterion.rs) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/criterion-rs/criterion.rs/releases)
- [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/criterion-rs/criterion.rs/compare/criterion-v0.8.0...criterion-v0.8.1)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-10 09:08:02 +00:00
cf3321b17a
chore: bump dependencies
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I95094ead2493107a2d4bdd3f797fee246a6a6964
2025-12-10 12:06:46 +03:00
7b8e736ff7
microfetch: update memory icon
Fixes #34

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iff9da39a11eb4060eb314343efa2674b6a6a6964
2025-12-10 11:10:49 +03:00
raf
927dce4127
Merge pull request #29 from Uzaaft/main
Some checks are pending
Rust / Test on aarch64-unknown-linux-gnu (push) Waiting to run
Rust / Test on x86_64-unknown-linux-gnu (push) Waiting to run
Gotta go small
2025-12-09 21:42:02 +03:00
Uzair Aftab
f883723608
Merge branch 'main' into main 2025-12-09 19:38:21 +01:00
Uzair Aftab
f0cf18dba7
fix: handle partial writes from libc::write 2025-12-09 19:36:29 +01:00
raf
a3b169bbc4
Merge pull request #30 from imnotpoz/main
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
minor improvements
2025-12-01 22:39:42 +03:00