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: use stremio-core-protobuf from stremio-core-kotlin repo #12

Open
wants to merge 4 commits into
base: fix/objc-deps-error-on-build-script-for-linux
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
97 changes: 62 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,29 @@ lto = true
opt-level = 3

[dependencies]
stremio-core = { git = "https://github.com/Stremio/stremio-core", rev = "f74c212752443ef625a17d48ce4dc955f2300bc7", features = [
stremio-core = { git = "https://github.com/Stremio/stremio-core", branch = "development", features = [
"derive",
"analytics",
"env-future-send",
] }
stremio-core-protobuf = { git = "https://github.com/Stremio/stremio-core-kotlin", branch = "feat/improve-imports-and-exports" }

stremio-watched-bitfield = { git = "https://github.com/Stremio/stremio-core", rev = "f74c212752443ef625a17d48ce4dc955f2300bc7" }
serde = "1.0.*"
serde_json = "1.0.*"
futures = "0.3.*"
http = "0.2.*"
url = { version = "2.4", features = ["serde"] }
chrono = "0.4.*"
semver = { version = "1", features = ["serde"] }
hex = "0.4.*"

once_cell = "1"
enclose = "1.1.*"
boolinator = "2.4.*"
Inflector = "0.11.*"
getrandom = "0.2.*"
cfg-if = "0.1.*"
serde_path_to_error = "0.1.*"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync"] }
prost = "0.12"
prost-types = "0.12"

itertools = "0.13.0"

objc2-foundation = { version = "0.2.2", features = [
"NSString",
"NSData",
Expand All @@ -60,11 +54,11 @@ objc2 = { version = "0.5"}

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
block2 = { version = "0.5" }
objc-sys = { version = "0.3", features = ["apple"] }
# objc-sys = { version = "0.3", features = ["apple"] }

[target.'cfg(target_os = "linux")'.dependencies]
block2 = { version = "0.5", default-features = false, features = ["gnustep-2-0"] }
objc-sys = { version = "0.3", features = ["gnustep-2-0"] }
# objc-sys = { version = "0.3", features = ["gnustep-2-0"] }
objc2 = { version = "0.5", features = ["gnustep-2-0"] }

[build-dependencies]
Expand Down
28 changes: 0 additions & 28 deletions build.rs

This file was deleted.

31 changes: 0 additions & 31 deletions src/commonMain/rust/bridge.rs
Original file line number Diff line number Diff line change
@@ -1,33 +1,2 @@
//! [`ToProtobuf`] and [`FromProtobuf`] impls for various fields
//!
//! [`ToProtobuf`]: crate::bridge::ToProtobuf
//! [`FromProtobuf`]: crate::bridge::FromProtobuf
pub use to_protobuf::*;
pub use from_protobuf::*;

mod action;
mod apple_model_field;
mod auth_request;
mod date;
mod env_error;
mod event;
mod events;
mod extra_value;
mod library_item;
mod link;
mod list;
mod loadable;
mod manifest;
mod meta_preview;
mod option;
mod pair;
mod poster_shape;
mod profile;
mod resource_loadable;
mod resource_path;
mod resource_request;
mod stream;
mod string;
mod subtitle;
mod to_protobuf;
mod from_protobuf;
Loading