diff --git a/Cargo.lock b/Cargo.lock index e0da0ff..e65c6a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 4 +version = 3 [[package]] name = "ab_glyph" @@ -4882,18 +4882,18 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f" +checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.215" +version = "1.0.216" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0" +checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index f9d0e19..0f21a05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,9 @@ crate-type = ["lib", "cdylib", "staticlib"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -default = ["completions"] +default = ["completions", "ui_solver"] +all_ui_solver = ["slide_ui_solver", "ui_solver", "obstacle_ui_solver"] +ui_solver = ["rotate_ui_solver", "icon_click_ui_solver", "text_click_ui_solver"] completions = ["completion-nu", "completion-carapace", "completion-fig"] completion-nu = ["clap_complete_command", "clap_complete_command/nushell"] completion-carapace = ["clap_complete_command", "clap_complete_command/carapace"] diff --git a/src/lib.rs b/src/lib.rs index 956ce6c..4aec69f 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,13 +22,13 @@ use clap::CommandFactory; use cli::arg::{AccountSubCommand, Args, MainCommand}; use cxlib::{ activity::{Activity, RawSign}, + captcha::CaptchaType, default_impl::store::{AccountTable, DataBase, ExcludeTable}, sign::SignTrait, store::Dir, types::Location, user::{DefaultLoginSolver, LoginSolverTrait, LoginSolverWrapper, LoginSolvers, Session}, }; -use cxlib_captcha::CaptchaType; use log::{error, info, warn}; use std::{collections::HashMap, io::stdout}; use x_l4rs::IDSLoginImpl;