-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audiotags2 -> Audiotags #18
Merged
Merged
Changes from 14 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5faa2dc
Upgrade id3 from 0.5.1 to 1.0.3
martpie 03b9736
Upgrade mp4ameta from 0.6 to 0.11
martpie b1995bd
Copy test files to tmp directory before running tests
martpie 4fa5a66
Run GitHub actions on all PR
martpie 66d8994
Import @RodolpheThienard's duration (#4)
martpie edae1dc
Import @Dalvany's genre (#5)
martpie 04a5f71
Merge pull request #3 from martpie/next
martpie 1276b3a
Establish fork (#6)
martpie e7a0eeb
Remove old documentation
martpie 16ef6fb
0.3.1
martpie 46caf6c
Merge pull request #17 from martpie/main
pinkforest 0a65794
Re-merged Cargo.toml for 0.4.0
pinkforest 08d43fc
Re-merged License
pinkforest c0e8735
Re-merge README.md
pinkforest 537cc23
Re-merge lib.rs tests
pinkforest a596d56
Happy clippy is the best clippy
pinkforest File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <ShiTianyi2001@outlook.com>"] | ||
edition = "2018" | ||
version = "0.4.0" | ||
authors = ["Tianyi <ShiTianyi2001@outlook.com>", "Pierre de la Martinière <pierre.de.la.martiniere@gmail.com>"] | ||
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to remove me, that's all fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a merge party :)