Skip to content

Commit

Permalink
Rewritten in Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Nov 26, 2023
1 parent 4c1addc commit fbb93f9
Show file tree
Hide file tree
Showing 23 changed files with 554 additions and 365 deletions.
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[target.i686-unknown-linux-gnu]
linker = "i686-linux-gnu-gcc"
[target.x86_64-unknown-linux-gnu]
linker = "x86_64-linux-gnu-gcc"
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
directory: /
schedule:
interval: monthly
- package-ecosystem: pip
- package-ecosystem: cargo
directory: /
schedule:
interval: monthly
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: main

on:
push: # All branches and tags

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
job:
permissions: { contents: write }
uses: dmotte/misc/.github/workflows/cicd-with-script.yml@main
with: { path: scripts/cicd/rust-app.sh }
40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/trivy.yml

This file was deleted.

10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
/msgbuf/__pycache__/

/build/
/dist/

/*.egg-info/

/buffer.txt
/test/buffer.txt
/target/
223 changes: 223 additions & 0 deletions Cargo.lock

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

9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "msgbuf"
version = "0.0.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4", features = ["derive"] }
Loading

0 comments on commit fbb93f9

Please sign in to comment.