Skip to content

Commit 8b7a81a

Browse files
authored
p-interface: Change name for Pinocchio interface crate (#73)
* p-interface: Change name for Pinocchio interface crate #### Problem As part of https://github.com/orgs/anza-xyz/projects/27, we want to separate interfaces from programs for Agave. The token repo already has `spl-token-interface`, but it's Pinocchio-only, which means it'll be currently difficult to start using in Agave. #### Summary of changes Change the crate name to `pinocchio-token-interface` and directory name to `p-interface` so that we can add `interface` in a future PR. * Rename spl_token_interface -> pinocchio_token_interface
1 parent 50ad3b0 commit 8b7a81a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+53
-53
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
- name: Lint
6262
run: pnpm programs:lint
6363

64-
format_and_lint_interface:
65-
name: Format & Lint Interface
64+
format_and_lint_pinterface:
65+
name: Format & Lint P-Interface
6666
runs-on: ubuntu-latest
6767
steps:
6868
- name: Git Checkout
@@ -75,10 +75,10 @@ jobs:
7575
rustfmt: true
7676

7777
- name: Format
78-
run: pnpm interface:format
78+
run: pnpm p-interface:format
7979

8080
- name: Lint
81-
run: pnpm interface:lint
81+
run: pnpm p-interface:lint
8282

8383
format_and_lint_ptoken:
8484
name: Format & Lint p-token
@@ -98,7 +98,7 @@ jobs:
9898

9999
- name: Lint
100100
run: pnpm p-token:lint
101-
101+
102102
audit_rust:
103103
name: Audit Rust
104104
runs-on: ubuntu-latest
@@ -192,7 +192,7 @@ jobs:
192192
build_ptoken:
193193
name: Build p-token
194194
runs-on: ubuntu-latest
195-
needs: [format_and_lint_interface, format_and_lint_ptoken]
195+
needs: [format_and_lint_pinterface, format_and_lint_ptoken]
196196
steps:
197197
- name: Git Checkout
198198
uses: actions/checkout@v4

.github/workflows/publish-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
type: choice
1111
options:
1212
- clients/rust
13-
- interface
13+
- p-interface
1414
- program
1515
- p-token
1616
level:

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["interface", "p-token", "program"]
3+
members = ["p-interface", "p-token", "program"]
44

55
[workspace.package]
66
authors = ["Anza Maintainers <[email protected]>"]

interface/Cargo.toml renamed to p-interface/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
2-
name = "spl-token-interface"
2+
name = "pinocchio-token-interface"
33
version = "0.0.0"
4-
description = "Instructions and types for interacting with SPL Token program"
4+
description = "Pinocchio instructions and types for interacting with SPL Token program"
55
authors = { workspace = true}
66
repository = { workspace = true}
77
license = { workspace = true}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)