rnacos 0.8.3

Nacos server re-implemented in Rust.
Documentation
use std::sync::Arc;

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct LoginParam {
    pub username: Arc<String>,
    pub password: String,
    pub captcha: Option<String>,
}

#[derive(Debug, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct LoginToken {
    pub token: String,
}

#[derive(Debug, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct LoginConfig {
    pub oauth2_enable: bool,
    pub oauth2_button: Option<String>,
    pub oauth2_authorize_url: Option<String>,
}