Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran authored and emesare committed Aug 29, 2024
1 parent d664d8e commit 21b0883
Show file tree
Hide file tree
Showing 17 changed files with 2,918 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "CI"
on:
push:
pull_request:

jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features

# Check formatting with rustfmt
formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target
Cargo.lock
.idea
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "idb-rs"
version = "0.1.0"
authors = ["Rubens Brandao <[email protected]>"]
edition = "2021"

[dependencies]
anyhow = "1.0.86"
bincode = "1.3.3"
flate2 = "1.0.31"
serde = { version = "1.0", features = ["derive"] }
serde_repr = "0.1.19"
2 changes: 2 additions & 0 deletions resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Put here the `*.idb` `*.i64` in `idbs` folder and `*.til` files in `tils` folder.
Those files will be used to test the parser by the `cargo test` command.
Binary file added resources/idbs/gcc.i64
Binary file not shown.
Binary file added resources/tils/gcc.til
Binary file not shown.
Loading

0 comments on commit 21b0883

Please sign in to comment.