From 7c9db0d67fee5b8805015572d921adbd196cfe3f Mon Sep 17 00:00:00 2001 From: febo Date: Tue, 19 May 2026 22:30:45 +0100 Subject: [PATCH 1/3] Add deprecated note --- program/README.md | 5 +++++ program/src/lib.rs | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/program/README.md b/program/README.md index 81167bfd..cc915bc2 100644 --- a/program/README.md +++ b/program/README.md @@ -1,3 +1,8 @@ +> ⚠️ DEPRECATED +> +> This crate has been deprecated and is no longer actively maintained. +> Please use to [spl-token-interface](https://crates.io/crates/spl-token-interface) instead. + # Token program A token program on the Solana blockchain, usable for fungible and non-fungible tokens. diff --git a/program/src/lib.rs b/program/src/lib.rs index 234e0b71..73f3a056 100644 --- a/program/src/lib.rs +++ b/program/src/lib.rs @@ -1,7 +1,13 @@ +#![deprecated(since = "9.0.1", note = "Please use `spl-token-interface` instead")] #![allow(clippy::arithmetic_side_effects)] #![deny(missing_docs)] //! An ERC20-like Token program for the Solana blockchain +//! +//! ⚠️ DEPRECATED +//! +//! This crate has been deprecated and is no longer actively maintained. +//! Please use to [spl-token-interface](https://crates.io/crates/spl-token-interface) instead. pub mod error; pub mod instruction; From e9c66bdda9e44cbea926c487b493154e1bb5112b Mon Sep 17 00:00:00 2001 From: febo Date: Wed, 20 May 2026 09:55:19 +0100 Subject: [PATCH 2/3] Fix deprecated note --- program/README.md | 5 ++++- program/src/lib.rs | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/program/README.md b/program/README.md index cc915bc2..77d1c5ca 100644 --- a/program/README.md +++ b/program/README.md @@ -1,7 +1,10 @@ > ⚠️ DEPRECATED > > This crate has been deprecated and is no longer actively maintained. -> Please use to [spl-token-interface](https://crates.io/crates/spl-token-interface) instead. +> +> Please use [spl-token-interface](https://crates.io/crates/spl-token-interface) for +> state and instruction types, and [p-token](https://github.com/solana-program/token/tree/main/pinocchio/program) +> for the program implementation. # Token program diff --git a/program/src/lib.rs b/program/src/lib.rs index 73f3a056..b72ddf87 100644 --- a/program/src/lib.rs +++ b/program/src/lib.rs @@ -1,4 +1,7 @@ -#![deprecated(since = "9.0.1", note = "Please use `spl-token-interface` instead")] +#![deprecated( + since = "9.0.1", + note = "Please use `spl-token-interface` for state and instruction types, and p-token for the program implementation" +)] #![allow(clippy::arithmetic_side_effects)] #![deny(missing_docs)] @@ -7,7 +10,10 @@ //! ⚠️ DEPRECATED //! //! This crate has been deprecated and is no longer actively maintained. -//! Please use to [spl-token-interface](https://crates.io/crates/spl-token-interface) instead. +//! +//! Please use [spl-token-interface](https://crates.io/crates/spl-token-interface) for +//! state and instruction types, and [p-token](https://github.com/solana-program/token/tree/main/pinocchio/program) +//! for the program implementation. pub mod error; pub mod instruction; From bd92402ff9f3e2d2a5942dd6a7099abccf03465e Mon Sep 17 00:00:00 2001 From: febo Date: Wed, 20 May 2026 10:07:35 +0100 Subject: [PATCH 3/3] Fix spelling --- program/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/lib.rs b/program/src/lib.rs index b72ddf87..6dd3a9c5 100644 --- a/program/src/lib.rs +++ b/program/src/lib.rs @@ -7,7 +7,7 @@ //! An ERC20-like Token program for the Solana blockchain //! -//! ⚠️ DEPRECATED +//! `⚠️ DEPRECATED` //! //! This crate has been deprecated and is no longer actively maintained. //!