diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..2181d15 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,13 @@ +# Automatically open PRs to update outdated deps +# See https://docs.github.com/en/github/administering-a-repository/enabling-and-disabling-version-updates + +version: 2 +updates: + # Enable version updates for cargo + - package-ecosystem: "cargo" + # Look for Cargo `.toml` and `.lock` files in the `root` directory + directory: "/" + # Check the cargo registry for updates every week + schedule: + interval: "weekly" + diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml new file mode 100644 index 0000000..882ac4d --- /dev/null +++ b/.github/workflows/rust.yaml @@ -0,0 +1,17 @@ +name: rust test + +on: [pull_request] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose --workspace + - name: Run tests + run: cargo test --verbose --workspace diff --git a/.gitignore b/.gitignore index 1de5659..f2f9e58 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -target \ No newline at end of file +target +Cargo.lock \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index c5a7b63..0000000 --- a/Cargo.lock +++ /dev/null @@ -1,61 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "gents" -version = "0.3.0" -dependencies = [ - "gents_derives", -] - -[[package]] -name = "gents_derives" -version = "0.3.0" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "paste" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" - -[[package]] -name = "proc-macro2" -version = "1.0.51" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "unicode-ident" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"