bumped to v0.0.5
This commit is contained in:
parent
861bc05d7e
commit
80dfcc892f
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -364,7 +364,7 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mikrotik"
|
name = "mikrotik"
|
||||||
version = "0.0.4"
|
version = "0.0.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "mikrotik"
|
name = "mikrotik"
|
||||||
version = "0.0.4"
|
version = "0.0.5"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "REST API Wrapper for Mikrotik API"
|
description = "REST API Wrapper for Mikrotik API"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -8,8 +8,7 @@ use thiserror::Error;
|
||||||
pub struct Client {
|
pub struct Client {
|
||||||
pub client: reqwest::Client,
|
pub client: reqwest::Client,
|
||||||
base_url: Url,
|
base_url: Url,
|
||||||
pub basic_auth: HeaderValue,
|
basic_auth: HeaderValue,
|
||||||
pub self_signed_cert: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Client {
|
impl Client {
|
||||||
|
@ -33,7 +32,6 @@ impl Client {
|
||||||
client,
|
client,
|
||||||
base_url,
|
base_url,
|
||||||
basic_auth,
|
basic_auth,
|
||||||
self_signed_cert,
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user