diff --git a/program/README.md b/program/README.md index 81167bfd..77d1c5ca 100644 --- a/program/README.md +++ b/program/README.md @@ -1,3 +1,11 @@ +> ⚠️ DEPRECATED +> +> This crate has been deprecated and is no longer actively maintained. +> +> 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 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..6dd3a9c5 100644 --- a/program/src/lib.rs +++ b/program/src/lib.rs @@ -1,7 +1,19 @@ +#![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)] //! An ERC20-like Token program for the Solana blockchain +//! +//! `⚠️ DEPRECATED` +//! +//! This crate has been deprecated and is no longer actively maintained. +//! +//! 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;