rename rust lib from gurt to gurtlib

This commit is contained in:
Face
2025-09-09 19:01:46 +03:00
parent 9ca671ecd9
commit b6379f97d2
21 changed files with 41 additions and 41 deletions

View File

@@ -10,7 +10,7 @@ path = "src/main.rs"
[dependencies]
clap = { version = "4.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] }
gurt = { path = "../library" }
gurtlib = { path = "../library" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
openssl = "0.10"

View File

@@ -1,6 +1,6 @@
use anyhow::Result;
use serde::{Deserialize, Serialize};
use gurt::prelude::*;
use gurtlib::prelude::*;
pub struct GurtCAClient {
ca_url: String,
@@ -67,9 +67,9 @@ impl GurtCAClient {
println!("✅ Fetched CA certificate via HTTP bootstrap");
// Create new client with custom CA
let mut config = gurt::client::GurtClientConfig::default();
let mut config = gurtlib::client::GurtClientConfig::default();
config.custom_ca_certificates = vec![ca_cert];
let gurt_client = gurt::GurtClient::with_config(config);
let gurt_client = gurtlib::GurtClient::with_config(config);
let client_with_ca = Self {
ca_url,
gurt_client,