-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade id3 from 0.5.1 to 1.0.3 * Upgrade mp4ameta from 0.6 to 0.11 * Copy test files to tmp directory before running tests * Run GitHub actions on all PR * Import @RodolpheThienard's duration (#4) * give back the duration for mp4 and mp3 * calcul duration for flac * adding set_duration * fix duration for all extension * Remove set_duration + reset test data Co-authored-by: RodolpheThienard <[email protected]> * Import @Dalvany's genre (#5) * Add genre Add genre tag * Add some tests Co-authored-by: Dalvany <[email protected]> * Establish fork (#6) * Adapt Cargo + License + Changelog * Update GitHub actions to use actions-rs * Fix formatting * Fix clippy * Re-fix formatting * Adapt README.md * Rename crate, update README.md * Fix cargo test * Fix clippy (again) * Docs improvements * Remove deprecated function * Remove old documentation * 0.3.1 * Re-merged Cargo.toml for 0.4.0 * Re-merged License * Re-merge README.md * Re-merge lib.rs tests * Happy clippy is the best clippy Co-authored-by: Pierre de la Martinière <[email protected]> Co-authored-by: RodolpheThienard <[email protected]> Co-authored-by: Dalvany <[email protected]>
- Loading branch information
1 parent
0ac19f0
commit 039f2f4
Showing
63 changed files
with
416 additions
and
4,845 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,64 @@ | ||
name: Rust | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
on: [push, pull_request] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
name: Rust | ||
|
||
jobs: | ||
build: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: check | ||
|
||
test: | ||
name: Test Suite | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
|
||
fmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
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 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- run: rustup component add clippy | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: -- -D warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
[package] | ||
name = "audiotags" | ||
version = "0.2.7182" | ||
authors = ["Tianyi <[email protected]>"] | ||
edition = "2018" | ||
version = "0.4.0" | ||
authors = ["Tianyi <[email protected]>", "Pierre de la Martinière <[email protected]>"] | ||
edition = "2021" | ||
description = "Unified IO for different types of audio metadata" | ||
license = "MIT" | ||
repository = "https://github.com/TianyiShi2001/audiotags" | ||
repository = "https://github.com/martpie/audiotags" | ||
keywords = ["id3", "tag", "tags", "audio", "audiotags"] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
id3 = "0.5.1" | ||
mp4ameta = "0.6" | ||
metaflac = "0.2" | ||
thiserror = "1.0.21" | ||
id3 = "1.1.0" | ||
mp4ameta = "0.11.0" | ||
metaflac = "0.2.5" | ||
thiserror = "1.0.31" | ||
audiotags-dev-macro = {path = "./audiotags-dev-macro", version = "0.1.4"} | ||
|
||
[dev-dependencies] | ||
tempfile = "3.3.0" | ||
|
||
[build-dependencies] | ||
readme-rustdocifier = "0.1.0" | ||
|
||
[features] | ||
defualt = ['from'] | ||
from = [] | ||
default = ['from'] | ||
from = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.