Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
luzzifoss committed Oct 24, 2023
0 parents commit ad0bd13
Show file tree
Hide file tree
Showing 10 changed files with 1,081 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- name: Checkout
uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Check
run: cargo check --verbose
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
/Cargo.lock
17 changes: 17 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "carrot-commons"
description = "Common Rust code used throughout the Carrot protocol and its services."
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
backoff = { version = "0.4.0", features = ["tokio"] }
directories = "5.0.1"
governor = "0.6.0"
reqwest = { version = "0.11.22", features = ["json", "stream"] }
serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.107"
serde_yaml = "0.9.25"
thiserror = "1.0.50"
url = "2.4.1"
Loading

0 comments on commit ad0bd13

Please sign in to comment.