diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e0c780..e0034ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,10 +22,10 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Build - run: cargo build -p fabric-rs -p relay + run: cargo build -p fabric-resolver -p relay - name: Run tests - run: cargo test -p fabric-rs + run: cargo test -p fabric-resolver lint: name: Lint @@ -37,4 +37,4 @@ jobs: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 - run: cargo fmt --all -- --check - - run: cargo clippy -p fabric-rs -p relay --all-features -- -D warnings \ No newline at end of file + - run: cargo clippy -p fabric-resolver -p relay --all-features -- -D warnings \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 12b8b48..b8fc192 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1132,7 +1132,7 @@ dependencies = [ ] [[package]] -name = "fabric-rs" +name = "fabric-resolver" version = "0.1.1" dependencies = [ "dashmap", @@ -1788,7 +1788,7 @@ version = "0.1.0" dependencies = [ "axum", "borsh", - "fabric-rs", + "fabric-resolver", "hex", "libveritas", "libveritas_testutil", @@ -2759,7 +2759,7 @@ dependencies = [ "borsh", "clap", "env_logger", - "fabric-rs", + "fabric-resolver", "governor", "hex", "libveritas", diff --git a/Cargo.toml b/Cargo.toml index aba5fe3..8b3615a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ homepage = "https://spacesprotocol.org" authors = ["Buffrr "] [workspace.dependencies] -fabric-rs = { path = "fabric/rust", version = "0.1.1" } +fabric-resolver = { path = "fabric/rust", version = "0.1.1" } libveritas = { version = "0.1" } libveritas_testutil = { version = "0.1" } diff --git a/README.md b/README.md index b38740a..acb09d0 100644 --- a/README.md +++ b/README.md @@ -13,31 +13,7 @@ The protocol is plain HTTP — relays are queryable from browsers, mobile apps, ## Fabric Client -For documentation on using Fabric to resolve handles, publish records, and verify identities, see: - -**[spacesprotocol.org/docs](https://spacesprotocol.org/docs)** - -### Quick Start - -```bash -# Rust -cargo add fabric-rs - -# JavaScript / TypeScript -npm install @spacesprotocol/fabric-web - -# Go -go get github.com/spacesprotocol/fabric-go - -# Python -pip install fabric-resolver - -# Kotlin -implementation("org.spacesprotocol:fabric:0.1.0") - -# Swift -.package(url: "https://github.com/spacesprotocol/fabric-swift.git", from: "0.1.0") -``` +For documentation on using Fabric to resolve handles, publish records, and verify identities, see **[spacesprotocol.org/docs](https://spacesprotocol.org/docs)**. ## Running a Relay diff --git a/fabric/examples/rust/src/main.rs b/fabric/examples/rust/src/main.rs index 2b791d6..ddd44d6 100644 --- a/fabric/examples/rust/src/main.rs +++ b/fabric/examples/rust/src/main.rs @@ -1,5 +1,5 @@ // -// cargo add fabric-rs +// cargo add fabric-resolver // use fabric::client::{Fabric}; diff --git a/fabric/rust/Cargo.toml b/fabric/rust/Cargo.toml index f23989f..913b358 100644 --- a/fabric/rust/Cargo.toml +++ b/fabric/rust/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "fabric-rs" +name = "fabric-resolver" version.workspace = true edition.workspace = true rust-version.workspace = true @@ -8,7 +8,7 @@ repository.workspace = true homepage.workspace = true authors.workspace = true description = "Client library for the Spaces protocol certificate relay network." -documentation = "https://docs.rs/fabric-rs" +documentation = "https://docs.rs/fabric-resolver" keywords = ["spaces", "fabric", "dns", "certificates"] categories = ["network-programming"] diff --git a/relay/Cargo.toml b/relay/Cargo.toml index fb7978e..74d3bbd 100644 --- a/relay/Cargo.toml +++ b/relay/Cargo.toml @@ -11,7 +11,7 @@ path = "src/main.rs" [dependencies] clap = { version = "4", features = ["derive", "env"] } libveritas = { workspace = true } -resolver = { path = "../fabric/rust", package = "fabric-rs", default-features = false } +resolver = { path = "../fabric/rust", package = "fabric-resolver", default-features = false } spaces_protocol = { workspace = true } spaces_client = { workspace = true } spaces_nums = { workspace = true } diff --git a/release-plz.toml b/release-plz.toml index f0afb8e..df6882d 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -43,7 +43,7 @@ commit_parsers = [ # Published to crates.io [[package]] -name = "fabric-rs" +name = "fabric-resolver" publish = true git_release_enable = true git_release_latest = false diff --git a/tests/Cargo.toml b/tests/Cargo.toml index ea7e2ed..299a013 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] relay = { path = "../relay", features = ["testutil"] } axum = "0.8" -fabric = { path = "../fabric/rust", package = "fabric-rs" } +fabric = { path = "../fabric/rust", package = "fabric-resolver" } libveritas = { workspace = true } libveritas_testutil = { workspace = true } spaces_protocol = { workspace = true }