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

Feat/Convert stream structs prepartion #684

Merged
merged 18 commits into from
Aug 19, 2024
Merged

Conversation

elpiel
Copy link
Member

@elpiel elpiel commented May 9, 2024

A big leap forward on the effort to make all StreamSource state transitions valid.
This is the first step before encoding the state transitions to the type system.

- Use experimental feature to guard against using some structs
- Replace occurrence of String InfoHash with the new struct
- WIP: ConvertedStreamSource
- Move StatisticsRequest to streaming_server types
- Stream::streaming_url now returns an Url instead of String
- feat(streaming_server): ArchiveStreamRequest - experimental
- feat(streaming_server): ArchiveCreateResponse - experimental
- feat(streaming_server): CreateTorrentBlobRequest
- feat(streaming_server): CreateTorrentRequest
- feat(streaming_server): CreateMagnetRequest
- feat(streaming_server): CreateMagnetTorrent
- feat(streaming_server): OpensubtitlesParamsRequest
- feat(streaming_server): TorrentStatisticsRequest
- feat(streaming_server): OpensubtitlesParamsResponse
- test: Stream::streaming_url with proxyHeaders

Signed-off-by: Lachezar Lechev <[email protected]>
@elpiel elpiel requested review from TheBeastLT and tymmesyde and removed request for TheBeastLT May 10, 2024 08:08
@elpiel elpiel force-pushed the feat/convert-stream-structs branch from ffbfedb to 3dad146 Compare May 10, 2024 08:26
src/models/streaming_server.rs Outdated Show resolved Hide resolved
src/types/streaming_server/request.rs Outdated Show resolved Hide resolved
src/types/streaming_server/request.rs Outdated Show resolved Hide resolved
src/types/streams/converted_source.rs Show resolved Hide resolved
Signed-off-by: Lachezar Lechev <[email protected]>
Signed-off-by: Lachezar Lechev <[email protected]>
@elpiel elpiel force-pushed the feat/convert-stream-structs branch from 2aebbf3 to 82dca80 Compare August 19, 2024 10:23
@elpiel elpiel merged commit 0e64b56 into development Aug 19, 2024
5 checks passed
@elpiel elpiel deleted the feat/convert-stream-structs branch August 19, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants