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

Open
wants to merge 15 commits into
base: development
Choose a base branch
from

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]>
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.

None yet

2 participants