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

@@ -20,7 +20,7 @@ cargo add gurtlib
## Quick Start
```rust
use gurt::prelude::*;
use gurtlib::prelude::*;
#[tokio::main]
async fn main() -> Result<()> {
@@ -223,7 +223,7 @@ The client extracts:
### Error Types
```rust
use gurt::GurtError;
use gurtlib::GurtError;
match client.get("gurt://invalid-url").await {
Ok(response) => {
@@ -268,7 +268,7 @@ We expect the community to implement bindings for other languages, such as Pytho
## Example: Building a GURT API Client
```rust
use gurt::prelude::*;
use gurtlib::prelude::*;
use serde::{Deserialize, Serialize};
#[derive(Serialize)]

View File

@@ -12,7 +12,7 @@ Add the GURT library to your `Cargo.toml`:
```toml
[dependencies]
gurt = "0.1"
gurtlib = "0.1"
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"
@@ -22,7 +22,7 @@ serde_json = "1.0"
## Quick Start
```rust
use gurt::prelude::*;
use gurtlib::prelude::*;
use serde_json::json;
#[tokio::main]
@@ -442,7 +442,7 @@ server.listen("[::1]:4878").await?;
#[cfg(test)]
mod tests {
use super::*;
use gurt::GurtClient;
use gurtlib::GurtClient;
#[tokio::test]
async fn test_server() {