diff --git a/Cargo.toml b/Cargo.toml index b58a509..9f1a1fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 - diff --git a/simple-eyre/.github/workflows/ci.yml b/simple-eyre/.github/workflows/ci.yml deleted file mode 100644 index f6a7b52..0000000 --- a/simple-eyre/.github/workflows/ci.yml +++ /dev/null @@ -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 diff --git a/simple-eyre/.gitignore b/simple-eyre/.gitignore deleted file mode 100644 index 96ef6c0..0000000 --- a/simple-eyre/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/target -Cargo.lock diff --git a/simple-eyre/CHANGELOG.md b/simple-eyre/CHANGELOG.md index 36d49a8..f9515ba 100644 --- a/simple-eyre/CHANGELOG.md +++ b/simple-eyre/CHANGELOG.md @@ -14,5 +14,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 -[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 diff --git a/simple-eyre/Cargo.toml b/simple-eyre/Cargo.toml index 6ffb84e..f6e8ddd 100644 --- a/simple-eyre/Cargo.toml +++ b/simple-eyre/Cargo.toml @@ -1,21 +1,19 @@ [package] name = "simple-eyre" version = "0.3.1" -authors = ["Jane Lusby "] -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 diff --git a/simple-eyre/LICENSE-APACHE b/simple-eyre/LICENSE-APACHE new file mode 120000 index 0000000..965b606 --- /dev/null +++ b/simple-eyre/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/simple-eyre/LICENSE-MIT b/simple-eyre/LICENSE-MIT new file mode 120000 index 0000000..76219eb --- /dev/null +++ b/simple-eyre/LICENSE-MIT @@ -0,0 +1 @@ +../LICENSE-MIT \ No newline at end of file