Add simple-eyre to workspace

This commit is contained in:
Pavan Kumar Sunkara 2024-04-08 21:54:31 +01:00
parent a6a2e0eb2b
commit cb81bc44be
7 changed files with 15 additions and 138 deletions

View File

@ -2,7 +2,8 @@
members = [
"color-eyre",
"color-spantrace",
"eyre"
"eyre",
"simple-eyre",
]
[workspace.package]
@ -21,4 +22,3 @@ owo-colors = "3.2.0"
[profile.dev.package.backtrace]
opt-level = 3

View File

@ -1,121 +0,0 @@
on:
push:
branches:
- master
pull_request: {}
name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: check
test-features:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features
test-versions:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
- 1.39.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
test-os:
name: Test Suite
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- uses: actions-rs/cargo@v1
with:
command: test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- -D warnings

View File

@ -1,2 +0,0 @@
/target
Cargo.lock

View File

@ -14,5 +14,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- next-url -->
[Unreleased]: https://github.com/yaahc/simple-eyre/compare/v0.3.1...HEAD
[0.3.1]: https://github.com/yaahc/displaydoc/releases/tag/v0.3.1
[Unreleased]: https://github.com/eyre-rs/simple-eyre/compare/v0.3.1...HEAD
[0.3.1]: https://github.com/eyre-rs/simple-eyre/releases/tag/v0.3.1

View File

@ -1,21 +1,19 @@
[package]
name = "simple-eyre"
version = "0.3.1"
authors = ["Jane Lusby <jlusby@yaah.dev>"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/yaahc/simple-eyre"
homepage = "https://github.com/yaahc/simple-eyre"
documentation = "https://docs.rs/simple-eyre"
keywords = ["error"]
description = """
One of the simplest error reporters one can build ontop of eyre, defining only an error report
"""
description = "One of the simplest error reporters one can build ontop of eyre, defining only an error report"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
readme = { workspace = true }
rust-version = { workspace = true }
[dependencies]
eyre = "0.6.0"
indenter = "0.3.0"
indenter = { workspace = true }
[package.metadata.docs.rs]
all-features = true

1
simple-eyre/LICENSE-APACHE Symbolic link
View File

@ -0,0 +1 @@
../LICENSE-APACHE

1
simple-eyre/LICENSE-MIT Symbolic link
View File

@ -0,0 +1 @@
../LICENSE-MIT