Merge branch 'main' of github.com:Horhik/rust-fcp

This commit is contained in:
Horhik 2021-03-21 14:03:46 +03:00
commit 20725bf5a2
3 changed files with 47 additions and 1 deletions

21
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose

20
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose

View File

@ -1,4 +1,9 @@
# Rust-fcp
[![Build](https://github.com/Horhik/rust-fcp/actions/workflows/build.yml/badge.svg)](https://github.com/Horhik/rust-fcp/actions/workflows/build.yml) [![Tests](https://github.com/Horhik/rust-fcp/actions/workflows/tests.yml/badge.svg?event=push)](https://github.com/Horhik/rust-fcp/actions/workflows/tests.yml)
[![dependency status](https://deps.rs/repo/github/horhik/rust-fcp/status.svg)](https://deps.rs/repo/github/rust-fcp/rust-fcp)
[![Latest Version](https://img.shields.io/crates/v/fcpv2.svg)](https://crates.io/crates/fcpv2)
[![Docs](https://docs.rs/fcpv2/badge.svg)](https://docs.rs/fcpv2)
Library for freenet FCPv2 protocol
It's set of structures from [official FCPv2 wiki](https://github.com/freenet/wiki/wiki/FCPv2), their implementations, parse and convert functions