mirror of
https://github.com/YGGverse/titanit.git
synced 2026-03-31 17:15:30 +00:00
use titanite library for backend
This commit is contained in:
parent
a4518ba93d
commit
08c437920c
6 changed files with 89 additions and 147 deletions
|
|
@ -23,6 +23,10 @@ pub struct Argument {
|
|||
#[arg(short, long)]
|
||||
pub size: Option<usize>,
|
||||
|
||||
/// Buffer chunk size (`1024` by default)
|
||||
#[arg(short, long, default_value_t = 1024)]
|
||||
pub chunk: usize,
|
||||
|
||||
/// Uploads MIME type allowed (comma separated, all by default)
|
||||
/// * based on headers
|
||||
#[arg(short, long)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue