ソースを参照

spl: re-export `spl-token` crate (#1665)

Matthew Callens 3 年 前
コミット
4e4ca55c57
2 ファイル変更5 行追加0 行削除
  1. 4 0
      CHANGELOG.md
  2. 1 0
      spl/src/token.rs

+ 4 - 0
CHANGELOG.md

@@ -11,6 +11,10 @@ incremented for features.
 
 ## [Unreleased]
 
+### Features
+
+* spl: Re-export the `spl_token` crate ([#1665](https://github.com/project-serum/anchor/pull/1665)).
+
 ## [0.23.0] - 2022-03-20
 
 ### Features

+ 1 - 0
spl/src/token.rs

@@ -6,6 +6,7 @@ use anchor_lang::{context::CpiContext, Accounts};
 use anchor_lang::{solana_program, Result};
 use std::ops::Deref;
 
+pub use spl_token;
 pub use spl_token::ID;
 
 pub fn transfer<'a, 'b, 'c, 'info>(