feat: alter unsafe packages
This commit is contained in:
@@ -35,8 +35,11 @@ qbit-rs = { git = "https://github.com/lonelyhentxi/qbit.git", rev = "72d53138ebe
|
||||
"builder",
|
||||
] }
|
||||
merge-struct = "0.1"
|
||||
librqbit-core = "4"
|
||||
librqbit = { version = "8", features = ["async-bt", "watch"] }
|
||||
librqbit-core = { git = "https://github.com/ikatson/rqbit.git", rev = "0936730" }
|
||||
librqbit = { git = "https://github.com/ikatson/rqbit.git", rev = "0936730", features = [
|
||||
"async-bt",
|
||||
"watch",
|
||||
] }
|
||||
|
||||
util = { workspace = true }
|
||||
testing-torrents = { workspace = true, optional = true }
|
||||
|
||||
@@ -128,6 +128,12 @@ impl DynamicGraphqlInfo {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<#enum_name> for String {
|
||||
fn from(value: #enum_name) -> Self {
|
||||
value.as_str().to_string()
|
||||
}
|
||||
}
|
||||
|
||||
impl std::str::FromStr for #enum_name {
|
||||
type Err = String;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user