update typetag
(#19)
* update `typetag` typetage now requires rust 1.62 * stable rust * disable extra-unused-lifetimes the warning originates from diesel macro * fix warning name
This commit is contained in:
parent
9545841152
commit
3bb45022d9
5 changed files with 12 additions and 4 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -84,7 +84,7 @@ jobs:
|
|||
override: true
|
||||
profile: minimal
|
||||
target: x86_64-unknown-linux-gnu
|
||||
toolchain: nightly
|
||||
toolchain: stable
|
||||
|
||||
- name: Build release
|
||||
uses: actions-rs/cargo@v1
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 0.6.0 (2022-07-01)
|
||||
|
||||
- Rust 1.62 is required for `typetag`
|
||||
|
||||
## 0.5.0 (2021-12-05)
|
||||
|
||||
- Add graceful shutdown - [#14](https://github.com/ayrat555/fang/pull/14)
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
[package]
|
||||
name = "fang"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
authors = ["Ayrat Badykov <ayratin555@gmail.com>"]
|
||||
description = "Background job processing library for Rust"
|
||||
repository = "https://github.com/ayrat555/fang"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
rust-version = "1.62"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
@ -17,7 +18,7 @@ dotenv = "0.15"
|
|||
uuid = { version = "0.8", features = ["v4"] }
|
||||
chrono = "0.4"
|
||||
serde_json = "1"
|
||||
typetag = "0.1"
|
||||
typetag = "0.2"
|
||||
log = "0.4"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
thiserror = "1.0"
|
||||
|
|
|
@ -14,10 +14,12 @@ Background job processing library for Rust. It uses Postgres DB as a task queue.
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
fang = "0.5"
|
||||
fang = "0.6"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
```
|
||||
|
||||
*Supports rustc 1.62+*
|
||||
|
||||
2. Create `fang_tasks` table in the Postgres database. The migration can be found in [the migrations directory](https://github.com/ayrat555/fang/blob/master/migrations/2021-06-05-112912_create_fang_tasks/up.sql).
|
||||
|
||||
## Usage
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#![allow(clippy::nonstandard_macro_braces)]
|
||||
#![allow(clippy::extra_unused_lifetimes)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate diesel;
|
||||
|
|
Loading…
Reference in a new issue