mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-17 16:29:50 +00:00
meta: tag 0.3.0
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I2d8a6b6f056aeb8eebd2e10847dfd7076a6a6964
This commit is contained in:
parent
1f1a94f747
commit
22b5cb5f56
3 changed files with 134 additions and 134 deletions
|
|
@ -8,7 +8,7 @@ reorder_keys = true
|
||||||
|
|
||||||
[[rule]]
|
[[rule]]
|
||||||
include = [ "**/Cargo.toml" ]
|
include = [ "**/Cargo.toml" ]
|
||||||
keys = [ "workspace.package" ]
|
keys = [ "package" ]
|
||||||
|
|
||||||
[rule.formatting]
|
[rule.formatting]
|
||||||
reorder_keys = false
|
reorder_keys = false
|
||||||
|
|
|
||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -488,7 +488,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mpvrc"
|
name = "mpvrc"
|
||||||
version = "0.2.0"
|
version = "0.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anstyle",
|
"anstyle",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
|
||||||
264
Cargo.toml
264
Cargo.toml
|
|
@ -1,15 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "mpvrc"
|
categories = [ "command-line-utilities", "multimedia" ]
|
||||||
description = "MPV Remote Control - CLI and server for controlling MPV via IPC"
|
default-run = "cli"
|
||||||
version = "0.2.0"
|
description = "MPV Remote Control - CLI and server for controlling MPV via IPC"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
default-run = "cli"
|
keywords = [ "mpv", "media", "player", "control", "ipc" ]
|
||||||
repository = "https://github.com/notashelf/mpvrc"
|
license = "MPL-2.0"
|
||||||
license = "MPL-2.0"
|
name = "mpvrc"
|
||||||
|
readme = true
|
||||||
|
repository = "https://github.com/notashelf/mpvrc"
|
||||||
rust-version = "1.92.0"
|
rust-version = "1.92.0"
|
||||||
readme = true
|
version = "0.3.0"
|
||||||
keywords = ["mpv", "media", "player", "control", "ipc"]
|
|
||||||
categories = ["command-line-utilities", "multimedia"]
|
|
||||||
|
|
||||||
# CLI implementation for terminal usage
|
# CLI implementation for terminal usage
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
@ -22,138 +22,138 @@ name = "server"
|
||||||
path = "src/server.rs"
|
path = "src/server.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.102"
|
anstyle = "1.0.14"
|
||||||
clap = { version = "4.6.0", features = ["derive", "cargo"] }
|
anyhow = "1.0.102"
|
||||||
clap_derive = "4.6.0"
|
clap = { version = "4.6.0", features = [ "derive", "cargo" ] }
|
||||||
ipc-channel = "0.21.0"
|
clap_complete = "4.6.0"
|
||||||
serde = { version = "1.0.228", features = ["derive"] }
|
clap_derive = "4.6.0"
|
||||||
serde_json = "1.0.149"
|
dirs = "6.0.0"
|
||||||
thiserror = "2.0.18"
|
ipc-channel = "0.21.0"
|
||||||
tokio = { version = "1.50.0", features = ["full"] }
|
native-tls = "0.2.18"
|
||||||
native-tls = "0.2.18"
|
rustyline = "18.0.0"
|
||||||
tokio-native-tls = "0.3.1"
|
serde = { version = "1.0.228", features = [ "derive" ] }
|
||||||
tracing = "0.1.44"
|
serde_json = "1.0.149"
|
||||||
|
thiserror = "2.0.18"
|
||||||
|
tokio = { version = "1.50.0", features = [ "full" ] }
|
||||||
|
tokio-native-tls = "0.3.1"
|
||||||
|
tracing = "0.1.44"
|
||||||
tracing-subscriber = "0.3.23"
|
tracing-subscriber = "0.3.23"
|
||||||
rustyline = "18.0.0"
|
|
||||||
anstyle = "1.0.14"
|
|
||||||
dirs = "6.0.0"
|
|
||||||
clap_complete = "4.6.0"
|
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 1
|
opt-level = 1
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
strip = true
|
|
||||||
opt-level = "s"
|
|
||||||
lto = "thin"
|
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
panic = "abort"
|
lto = "thin"
|
||||||
|
opt-level = "s"
|
||||||
|
panic = "abort"
|
||||||
|
strip = true
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[lints.clippy]
|
||||||
cargo = { level = "warn", priority = -1 }
|
cargo = { level = "warn", priority = -1 }
|
||||||
complexity = { level = "warn", priority = -1 }
|
complexity = { level = "warn", priority = -1 }
|
||||||
nursery = { level = "warn", priority = -1 }
|
nursery = { level = "warn", priority = -1 }
|
||||||
pedantic = { level = "warn", priority = -1 }
|
pedantic = { level = "warn", priority = -1 }
|
||||||
perf = { level = "warn", priority = -1 }
|
perf = { level = "warn", priority = -1 }
|
||||||
style = { level = "warn", priority = -1 }
|
style = { level = "warn", priority = -1 }
|
||||||
|
|
||||||
# The lint groups above enable some less-than-desirable rules, we should manually
|
# The lint groups above enable some less-than-desirable rules, we should manually
|
||||||
# enable those to keep our sanity.
|
# enable those to keep our sanity.
|
||||||
absolute_paths = "allow"
|
absolute_paths = "allow"
|
||||||
empty_drop = "warn"
|
alloc_instead_of_core = "allow"
|
||||||
empty_structs_with_brackets = "warn"
|
allow_attributes_without_reason = "allow"
|
||||||
exit = "warn"
|
arbitrary_source_item_ordering = "allow"
|
||||||
filetype_is_file = "warn"
|
arithmetic_side_effects = "allow"
|
||||||
get_unwrap = "warn"
|
as_conversions = "allow"
|
||||||
infinite_loop = "warn"
|
as_pointer_underscore = "allow"
|
||||||
|
as_underscore = "allow"
|
||||||
|
big_endian_bytes = "allow"
|
||||||
|
blanket_clippy_restriction_lints = "allow"
|
||||||
|
clone_on_ref_ptr = "allow"
|
||||||
|
dbg_macro = "allow"
|
||||||
|
disallowed_script_idents = "allow"
|
||||||
|
else_if_without_else = "allow"
|
||||||
|
empty_drop = "warn"
|
||||||
|
empty_structs_with_brackets = "warn"
|
||||||
|
error_impl_error = "allow"
|
||||||
|
exhaustive_enums = "allow"
|
||||||
|
exhaustive_structs = "allow"
|
||||||
|
exit = "warn"
|
||||||
|
expect_used = "allow"
|
||||||
|
field_scoped_visibility_modifiers = "allow"
|
||||||
|
filetype_is_file = "warn"
|
||||||
|
float_arithmetic = "allow"
|
||||||
|
get_unwrap = "warn"
|
||||||
|
host_endian_bytes = "allow"
|
||||||
|
impl_trait_in_params = "allow"
|
||||||
|
implicit_return = "allow"
|
||||||
|
indexing_slicing = "allow"
|
||||||
|
infinite_loop = "warn"
|
||||||
|
inline_asm_x86_intel_syntax = "allow"
|
||||||
|
integer_division = "allow"
|
||||||
|
integer_division_remainder_used = "allow"
|
||||||
|
large_include_file = "allow"
|
||||||
|
let_underscore_must_use = "allow"
|
||||||
|
let_underscore_untyped = "allow"
|
||||||
|
little_endian_bytes = "allow"
|
||||||
|
map_err_ignore = "allow"
|
||||||
map_with_unused_argument_over_ranges = "warn"
|
map_with_unused_argument_over_ranges = "warn"
|
||||||
multiple_crate_versions = "allow" # :(
|
match_same_arms = "allow"
|
||||||
non_std_lazy_statics = "warn"
|
missing_assert_message = "allow"
|
||||||
pathbuf_init_then_push = "warn"
|
missing_docs_in_private_items = "allow"
|
||||||
pattern_type_mismatch = "allow"
|
missing_errors_doc = "allow"
|
||||||
rc_buffer = "warn"
|
missing_inline_in_public_items = "allow"
|
||||||
rc_mutex = "warn"
|
missing_panics_doc = "allow"
|
||||||
rest_pat_in_fully_bound_structs = "warn"
|
missing_trait_methods = "allow"
|
||||||
similar_names = "allow"
|
mod_module_files = "allow"
|
||||||
too_long_first_doc_paragraph = "allow"
|
multiple_crate_versions = "allow" # :(
|
||||||
undocumented_unsafe_blocks = "warn"
|
multiple_inherent_impl = "allow"
|
||||||
unused_result_ok = "warn"
|
mutex_atomic = "allow"
|
||||||
unused_trait_names = "allow"
|
mutex_integer = "allow"
|
||||||
blanket_clippy_restriction_lints = "allow"
|
non_ascii_literal = "allow"
|
||||||
alloc_instead_of_core = "allow"
|
non_std_lazy_statics = "warn"
|
||||||
allow_attributes_without_reason = "allow"
|
panic = "allow"
|
||||||
arbitrary_source_item_ordering = "allow"
|
panic_in_result_fn = "allow"
|
||||||
arithmetic_side_effects = "allow"
|
partial_pub_fields = "allow"
|
||||||
as_conversions = "allow"
|
pathbuf_init_then_push = "warn"
|
||||||
as_pointer_underscore = "allow"
|
pattern_type_mismatch = "allow"
|
||||||
as_underscore = "allow"
|
print_stderr = "allow"
|
||||||
big_endian_bytes = "allow"
|
print_stdout = "allow"
|
||||||
clone_on_ref_ptr = "allow"
|
pub_use = "allow"
|
||||||
dbg_macro = "allow"
|
pub_with_shorthand = "allow"
|
||||||
disallowed_script_idents = "allow"
|
pub_without_shorthand = "allow"
|
||||||
else_if_without_else = "allow"
|
question_mark_used = "allow"
|
||||||
error_impl_error = "allow"
|
rc_buffer = "warn"
|
||||||
exhaustive_enums = "allow"
|
rc_mutex = "warn"
|
||||||
exhaustive_structs = "allow"
|
ref_patterns = "allow"
|
||||||
expect_used = "allow"
|
renamed_function_params = "allow"
|
||||||
field_scoped_visibility_modifiers = "allow"
|
rest_pat_in_fully_bound_structs = "warn"
|
||||||
float_arithmetic = "allow"
|
same_name_method = "allow"
|
||||||
host_endian_bytes = "allow"
|
semicolon_outside_block = "allow"
|
||||||
impl_trait_in_params = "allow"
|
separated_literal_suffix = "allow"
|
||||||
implicit_return = "allow"
|
shadow_reuse = "allow"
|
||||||
indexing_slicing = "allow"
|
shadow_same = "allow"
|
||||||
inline_asm_x86_intel_syntax = "allow"
|
shadow_unrelated = "allow"
|
||||||
integer_division = "allow"
|
similar_names = "allow"
|
||||||
integer_division_remainder_used = "allow"
|
single_call_fn = "allow"
|
||||||
large_include_file = "allow"
|
single_char_lifetime_names = "allow"
|
||||||
let_underscore_must_use = "allow"
|
single_match_else = "allow"
|
||||||
let_underscore_untyped = "allow"
|
std_instead_of_alloc = "allow"
|
||||||
little_endian_bytes = "allow"
|
std_instead_of_core = "allow"
|
||||||
map_err_ignore = "allow"
|
string_add = "allow"
|
||||||
match_same_arms = "allow"
|
string_slice = "allow"
|
||||||
missing_assert_message = "allow"
|
todo = "allow"
|
||||||
missing_docs_in_private_items = "allow"
|
too_long_first_doc_paragraph = "allow"
|
||||||
missing_errors_doc = "allow"
|
too_many_lines = "allow"
|
||||||
missing_inline_in_public_items = "allow"
|
try_err = "allow"
|
||||||
missing_panics_doc = "allow"
|
undocumented_unsafe_blocks = "warn"
|
||||||
missing_trait_methods = "allow"
|
unimplemented = "allow"
|
||||||
mod_module_files = "allow"
|
unnecessary_safety_comment = "allow"
|
||||||
multiple_inherent_impl = "allow"
|
unnecessary_safety_doc = "allow"
|
||||||
mutex_atomic = "allow"
|
unreachable = "allow"
|
||||||
mutex_integer = "allow"
|
unused_result_ok = "warn"
|
||||||
non_ascii_literal = "allow"
|
unused_trait_names = "allow"
|
||||||
panic = "allow"
|
unwrap_in_result = "allow"
|
||||||
panic_in_result_fn = "allow"
|
unwrap_used = "allow"
|
||||||
partial_pub_fields = "allow"
|
use_debug = "allow"
|
||||||
print_stderr = "allow"
|
wildcard_enum_match_arm = "allow"
|
||||||
print_stdout = "allow"
|
|
||||||
pub_use = "allow"
|
|
||||||
pub_with_shorthand = "allow"
|
|
||||||
pub_without_shorthand = "allow"
|
|
||||||
question_mark_used = "allow"
|
|
||||||
ref_patterns = "allow"
|
|
||||||
renamed_function_params = "allow"
|
|
||||||
same_name_method = "allow"
|
|
||||||
semicolon_outside_block = "allow"
|
|
||||||
separated_literal_suffix = "allow"
|
|
||||||
shadow_reuse = "allow"
|
|
||||||
shadow_same = "allow"
|
|
||||||
shadow_unrelated = "allow"
|
|
||||||
single_call_fn = "allow"
|
|
||||||
single_char_lifetime_names = "allow"
|
|
||||||
single_match_else = "allow"
|
|
||||||
std_instead_of_alloc = "allow"
|
|
||||||
std_instead_of_core = "allow"
|
|
||||||
string_add = "allow"
|
|
||||||
string_slice = "allow"
|
|
||||||
todo = "allow"
|
|
||||||
too_many_lines = "allow"
|
|
||||||
try_err = "allow"
|
|
||||||
unimplemented = "allow"
|
|
||||||
unnecessary_safety_comment = "allow"
|
|
||||||
unnecessary_safety_doc = "allow"
|
|
||||||
unreachable = "allow"
|
|
||||||
unwrap_in_result = "allow"
|
|
||||||
unwrap_used = "allow"
|
|
||||||
use_debug = "allow"
|
|
||||||
wildcard_enum_match_arm = "allow"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue