Skip to content

Commit

Permalink
Merge branch 'master' into v2-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKovacs committed Apr 15, 2020
2 parents b3ea819 + 0c8b1fa commit 32de332
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Trash is a Rust library that provides functionality to move files and folders to

The library supports Windows, Mac and Linux.

Version 2 is currently under development, which will add the ability to list all items within the
trahs, delete selected items permanently from the trash, or restore selected items.
See the `v2-dev` branch for details.
Version 2 would add `list`, `purge_all`, and `restore_all` that would allow for listing, permanently removing or restoring trashed items.
Development for Version 2 is currently suspended as I couldn't manage to get these features to work on Mac.
An imperfect alternative would be to release those features for Linux and Windows both of which at this point have a more or less complete implementation of these features on the `v2-dev` branch but currently I have other priorities. If you'd be interested having access to the above mentionned on Windows and Linux feel free to open an issue.

## Usage

Expand Down
43 changes: 43 additions & 0 deletions rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Rust

on:
push:
branches: [ master, dev-v2 ]
pull_request:
branches: [ master, dev-v2 ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust:
- stable
- nightly

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy

- uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
- uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

0 comments on commit 32de332

Please sign in to comment.