move pbs-tools/src/percent_encoding.rs to pbs-api-types/src/percent_encoding.rs
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
f35e187f16
commit
577095e2f7
|
@ -12,6 +12,7 @@ lazy_static = "1.4"
|
|||
libc = "0.2"
|
||||
nix = "0.19.1"
|
||||
openssl = "0.10"
|
||||
percent-encoding = "2.1"
|
||||
regex = "1.2"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize};
|
|||
use anyhow::bail;
|
||||
|
||||
pub mod common_regex;
|
||||
pub mod percent_encoding;
|
||||
|
||||
use proxmox_schema::{
|
||||
api, const_regex, ApiStringFormat, ApiType, ArraySchema, Schema, StringSchema, ReturnType,
|
||||
|
|
|
@ -23,9 +23,9 @@ use proxmox_http::uri::build_authority;
|
|||
use proxmox_async::broadcast_future::BroadcastFuture;
|
||||
|
||||
use pbs_api_types::{Authid, Userid, RateLimitConfig};
|
||||
use pbs_api_types::percent_encoding::DEFAULT_ENCODE_SET;
|
||||
use pbs_tools::json::json_object_to_query;
|
||||
use pbs_tools::ticket;
|
||||
use pbs_tools::percent_encoding::DEFAULT_ENCODE_SET;
|
||||
|
||||
use super::pipe_to_stream::PipeToSendStream;
|
||||
use super::PROXMOX_BACKUP_TCP_KEEPALIVE_TIME;
|
||||
|
|
|
@ -7,7 +7,7 @@ use futures::*;
|
|||
|
||||
use proxmox_router::cli::format_and_print_result;
|
||||
|
||||
use pbs_tools::percent_encoding::percent_encode_component;
|
||||
use pbs_api_types::percent_encoding::percent_encode_component;
|
||||
|
||||
use super::HttpClient;
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ pub mod io;
|
|||
pub mod json;
|
||||
pub mod lru_cache;
|
||||
pub mod nom;
|
||||
pub mod percent_encoding;
|
||||
pub mod sha;
|
||||
pub mod sync;
|
||||
pub mod ticket;
|
||||
|
|
|
@ -5,7 +5,7 @@ use proxmox_schema::api;
|
|||
use proxmox_router::cli::*;
|
||||
|
||||
use pbs_client::display_task_log;
|
||||
use pbs_tools::percent_encoding::percent_encode_component;
|
||||
use pbs_api_types::percent_encoding::percent_encode_component;
|
||||
use pbs_tools::json::required_string_param;
|
||||
|
||||
use pbs_api_types::UPID;
|
||||
|
|
|
@ -10,8 +10,8 @@ use proxmox_schema::api;
|
|||
|
||||
use pbs_client::{display_task_log, view_task_result};
|
||||
use pbs_config::sync;
|
||||
use pbs_tools::percent_encoding::percent_encode_component;
|
||||
use pbs_tools::json::required_string_param;
|
||||
use pbs_api_types::percent_encoding::percent_encode_component;
|
||||
use pbs_api_types::{
|
||||
GroupFilter, SyncJobConfig,
|
||||
DATASTORE_SCHEMA, GROUP_FILTER_LIST_SCHEMA, IGNORE_VERIFIED_BACKUPS_SCHEMA, REMOTE_ID_SCHEMA,
|
||||
|
|
Loading…
Reference in New Issue