Skip to content
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

Initial id type proposal #161

Merged
merged 61 commits into from
Mar 7, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
fcd9ace
initial id type proposal
kstep Nov 29, 2020
58e4c19
use strip_prefix() (clippy advice)
kstep Nov 29, 2020
c3e722e
add try_join() and map_try_join()
kstep Nov 29, 2020
24a61dc
remove itertools
kstep Dec 1, 2020
e79e9bb
rewrite try join
kstep Dec 1, 2020
f0d26bb
cleanup
kstep Dec 1, 2020
8155bc4
from for iderror
kstep Dec 1, 2020
158eb0b
fix try_join/map_try_join
kstep Dec 2, 2020
59eab11
remove map_try_join
kstep Dec 2, 2020
c4d0ef8
get show, shows, episodes methods use &str instead of String and vali…
kstep Dec 3, 2020
b74787e
update changelog
kstep Dec 3, 2020
3672eb3
use Display instead of AsRefStr for Type, FromStr for Type
kstep Dec 17, 2020
a21d3bb
rewrite from_uri()
kstep Dec 17, 2020
88ab887
add Id type docs
kstep Dec 17, 2020
3c3f3b2
use Id type for arguments (TOOD: tests)
kstep Dec 17, 2020
2d62cc2
update tests
kstep Dec 17, 2020
2ee414e
Merge branch 'master' into uri-type
kstep Dec 17, 2020
9f2bb10
fix lifetimes
kstep Dec 17, 2020
5cfdcc5
update examples
kstep Dec 17, 2020
9967f35
add IdError docs
kstep Dec 17, 2020
afe67f7
add idbuf owning type, use type-safe id parsing
kstep Dec 24, 2020
ae250f3
update docs, FromStr for IdBuf
kstep Dec 24, 2020
9ed6566
fix intermediate collect
kstep Dec 24, 2020
a5d6242
add TrackIdOrPos type, update docs
kstep Dec 24, 2020
ce55680
fix playlist_remove_specific_occurences_of_track method
kstep Dec 24, 2020
c574e06
remove ClientError::IdError error variant: everything's type-safe now
kstep Dec 24, 2020
c22c9a6
use iterator to build query
kstep Dec 24, 2020
f055e96
move id types into a idtypes module
kstep Dec 24, 2020
1197dba
simplify from_uri()
kstep Dec 24, 2020
e67126c
helper id type aliases
kstep Dec 24, 2020
e4dc911
use id types aliases
kstep Dec 24, 2020
b31d600
add owned aliases for ids
kstep Dec 25, 2020
458e729
more methods and better conversions for idbuf/id
kstep Dec 25, 2020
77e1d47
show/episode methods
kstep Dec 29, 2020
c8776fe
user methods use id types
kstep Dec 29, 2020
375f181
remove Join trait, update tests, playable id type marker
kstep Dec 29, 2020
d132280
lifetime fix
kstep Dec 29, 2020
e5481a8
make start_playback type-safe
kstep Dec 29, 2020
7281287
split start_playback method into two
kstep Dec 29, 2020
603ecc9
implement serialize/deserialize for id types
kstep Jan 12, 2021
0fe650f
simplify offset type and make it enum
kstep Jan 12, 2021
8587edf
simplify join_ids
kstep Jan 12, 2021
4efbe0c
make id types unsized
kstep Jan 13, 2021
8744b20
replace transmute with typecast
kstep Jan 13, 2021
d446895
Merge branch 'master' into uri-type
kstep Feb 26, 2021
51750c4
use macro to reduce boilerplate
kstep Feb 26, 2021
5069e08
fmt
kstep Feb 26, 2021
19b3a3d
reformat comments
kstep Feb 26, 2021
ebcb2d6
updated changelog
kstep Feb 26, 2021
5d8f9d2
reformat comments
kstep Feb 28, 2021
9e4adbd
type-safer offset ctor
kstep Feb 28, 2021
e241820
typo fix, deref for idbuf
kstep Feb 28, 2021
2403a68
more comments format
kstep Feb 28, 2021
6a56b97
fix test
kstep Feb 28, 2021
1174f04
fmt
kstep Feb 28, 2021
8ba5fbc
even more type safe offset
kstep Feb 28, 2021
81394ca
fix offset position type
kstep Mar 2, 2021
15e0c23
update docs and changelog
kstep Mar 4, 2021
0c5f702
fix docs typos
kstep Mar 7, 2021
11fc5b0
remove unsafe code
kstep Mar 7, 2021
141e6e0
better fix
kstep Mar 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ureq = { version = "1.4.1", default-features = false, features = ["json", "cooki
url = "2.1.1"
webbrowser = { version = "0.5.5", optional = true }
strum = { version = "0.20", features = ["derive"] }
itertools = "0.9.0"

[dev-dependencies]
env_logger = "0.8.1"
Expand Down
Loading