[dependencies.colored]
version = "^2"
[dependencies.decrypt-cookies]
default-features = false
features = ["reqwest"]
version = "^0.6"
[dependencies.futures]
default-features = false
version = "^0.3"
[dependencies.html2text]
version = "^0"
[dependencies.lcode-config]
version = "^0.3"
[dependencies.miette]
default-features = true
version = "^7"
[dependencies.paste]
version = "^1"
[dependencies.ratatui]
optional = true
version = "^0.28"
[dependencies.regex]
version = "^1"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls-tls", "brotli", "http2"]
version = "^0.12"
[dependencies.scraper]
version = "^0.20"
[dependencies.sea-orm]
default-features = false
features = ["sqlx-sqlite", "runtime-tokio-rustls", "macros"]
version = "^1"
[dependencies.serde]
default-features = false
features = ["derive"]
version = "^1"
[dependencies.serde_json]
default-features = false
version = "^1"
[dependencies.strum]
version = "^0.26"
[dependencies.tabled]
default-features = true
version = "^0.15"
[dependencies.tokio]
features = ["macros", "time"]
version = "^1"
[dependencies.tracing]
version = "^0.1"
[dependencies.unicode-width]
version = "^0.1"
[dev-dependencies.pretty_assertions]
version = "^1"
[dev-dependencies.tokio]
features = ["rt-multi-thread"]
version = "^1"
[dev-dependencies.tracing-subscriber]
default-features = true
features = ["env-filter"]
version = "^0.3"
[features]
default = ["ratatui"]
ratatui = ["dep:ratatui"]
[lib]
name = "leetcode_api"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_underscore = "warn"
assigning_clones = "warn"
bool_to_int_with_if = "warn"
borrow_as_ptr = "warn"
cast_ptr_alignment = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
create_dir = "warn"
default_trait_access = "warn"
default_union_representation = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
enum_glob_use = "warn"
error_impl_error = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filetype_is_file = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
from_iter_instead_of_collect = "warn"
if_not_else = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
into_iter_without_iter = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
iter_without_into_iter = "warn"
large_digit_groups = "warn"
large_futures = "warn"
large_stack_arrays = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_c_str_literals = "warn"
manual_instant_elapsed = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
many_single_char_names = "warn"
map_unwrap_or = "warn"
match_on_vec_items = "warn"
match_same_arms = "warn"
maybe_infinite_iter = "warn"
mismatching_type_param_order = "warn"
missing_asserts_for_indexing = "warn"
missing_fields_in_debug = "warn"
mixed_read_write_in_expression = "warn"
modulo_arithmetic = "warn"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "warn"
naive_bytecount = "warn"
needless_bitwise_bool = "warn"
needless_continue = "warn"
needless_pass_by_value = "warn"
no_mangle_with_rust_abi = "warn"
option_as_ref_cloned = "warn"
panic_in_result_fn = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
pub_without_shorthand = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
rc_mutex = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_option_ref = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_functions_in_if_condition = "warn"
same_name_method = "warn"
semicolon_if_nothing_returned = "warn"
semicolon_outside_block = "warn"
should_panic_without_expect = "warn"
single_char_pattern = "warn"
stable_sort_primitive = "warn"
str_split_at_newline = "warn"
str_to_string = "warn"
string_add_assign = "warn"
string_to_string = "warn"
trivial_regex = "allow"
trivially_copy_pass_by_ref = "warn"
try_err = "warn"
unchecked_duration_subtraction = "warn"
unnecessary_join = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unnecessary_wraps = "warn"
unneeded_field_pattern = "warn"
unnested_or_patterns = "warn"
unused_async = "warn"
unused_self = "warn"
unwrap_used = "warn"
verbose_bit_mask = "warn"
verbose_file_reads = "warn"
zero_sized_map_values = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.rust]
temporary_cstring_as_ptr = "deny"
[package]
authors = ["saying121 <saying121@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::http-client"]
description = "leetcode api"
edition = "2021"
exclude = ["tests/"]
homepage = "https://github.com/saying121/lcode"
keywords = ["leetcode", "api"]
license = "MIT"
name = "leetcode-api"
readme = "README.md"
repository = "https://github.com/saying121/lcode"
rust-version = "1.80.1"
version = "0.4.3"