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

Chore: Update deps and re-export semver::Version #534

Merged
merged 3 commits into from
Oct 12, 2023
Merged
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
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ stremio-official-addons = "=2.0.10"
# (De)Serialization
serde = { version = "1", features = ["derive"]}
serde_json = "1.0.*"
serde_url_params = "0.2.*"
serde_url_params = "0.2"
serde_bencode = "0.2.*"
stremio-serde-hex = "0.1.*" # keep track of https://github.com/fspmarshall/serde-hex/pull/8
serde_with = { version = "1.14.*", features = ["macros", "chrono"] }
Expand All @@ -50,7 +50,7 @@ flate2 = "1.0.*"
futures = "0.3.*"

http = "0.2.*"
url = { version = "2.2", features = ["serde"] }
url = { version = "2.4", features = ["serde"] }
percent-encoding = "2.1"

# Time
Expand Down Expand Up @@ -96,3 +96,4 @@ tokio-current-thread = "=0.2.0-alpha.1"
serde_test = "1.0"
assert_matches = "1.5"
pretty_assertions = "1"

2 changes: 1 addition & 1 deletion src/models/ctx/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ fn authenticate<E: Env + 'static>(auth_request: &AuthRequest) -> Effect {
.map(enclose!((auth_request) move |result| {
let internal_msg = Msg::Internal(Internal::CtxAuthResult(auth_request, result));

event!(Level::INFO, internal_message = ?internal_msg);
event!(Level::TRACE, internal_message = ?internal_msg);
internal_msg
}))
.boxed_env(),
Expand Down
4 changes: 3 additions & 1 deletion src/types/addon/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ use crate::types::{UniqueVec, UniqueVecAdapter};
use derivative::Derivative;
use derive_more::Deref;
use either::Either;
use semver::Version;
use serde::{Deserialize, Deserializer, Serialize};
use serde_with::{serde_as, DefaultOnError, DefaultOnNull, DeserializeAs, NoneAsEmptyString};
use std::borrow::Cow;
use url::Url;

/// Re-export the semver::Version
pub use semver::Version;

#[serde_as]
#[derive(Clone, PartialEq, Eq, Serialize, Deserialize, Debug)]
#[cfg_attr(test, derive(Derivative))]
Expand Down