浏览代码

Bump borsh to 0.10.3 (#30975)

* Bump borsh to 0.10.3

transaction-status relies on SPL which still requires borsh 0.9, so
until SPL also gets updated that package alone will use an older version of
borsh.

* ci: Temporarily disable spl and openbook-dex builds
Kevin Ji 2 年之前
父节点
当前提交
6f378d85aa
共有 1 个文件被更改,包括 5 次插入15 次删除
  1. 5 15
      interface/src/instruction.rs

+ 5 - 15
interface/src/instruction.rs

@@ -363,9 +363,7 @@ pub enum SystemInstruction {
 /// [`invoke_signed`]: crate::program::invoke_signed
 ///
 /// ```
-/// # use borsh_derive::BorshDeserialize;
-/// # use borsh::BorshSerialize;
-/// # use borsh::de::BorshDeserialize;
+/// # use borsh::{BorshDeserialize, BorshSerialize};
 /// use solana_program::{
 ///     account_info::{next_account_info, AccountInfo},
 ///     entrypoint,
@@ -581,9 +579,7 @@ pub fn create_account_with_seed(
 /// [`invoke_signed`]: crate::program::invoke_signed
 ///
 /// ```
-/// # use borsh_derive::BorshDeserialize;
-/// # use borsh::BorshSerialize;
-/// # use borsh::de::BorshDeserialize;
+/// # use borsh::{BorshDeserialize, BorshSerialize};
 /// use solana_program::{
 ///     account_info::{next_account_info, AccountInfo},
 ///     entrypoint,
@@ -793,9 +789,7 @@ pub fn assign_with_seed(
 /// [`invoke_signed`]: crate::program::invoke_signed
 ///
 /// ```
-/// # use borsh_derive::BorshDeserialize;
-/// # use borsh::BorshSerialize;
-/// # use borsh::de::BorshDeserialize;
+/// # use borsh::{BorshDeserialize, BorshSerialize};
 /// use solana_program::{
 ///     account_info::{next_account_info, AccountInfo},
 ///     entrypoint,
@@ -1014,9 +1008,7 @@ pub fn transfer_with_seed(
 /// [`invoke_signed`]: crate::program::invoke_signed
 ///
 /// ```
-/// # use borsh_derive::BorshDeserialize;
-/// # use borsh::BorshSerialize;
-/// # use borsh::de::BorshDeserialize;
+/// # use borsh::{BorshDeserialize, BorshSerialize};
 /// use solana_program::{
 ///     account_info::{next_account_info, AccountInfo},
 ///     entrypoint,
@@ -1210,9 +1202,7 @@ pub fn allocate_with_seed(
 /// [`invoke_signed`]: crate::program::invoke_signed
 ///
 /// ```
-/// # use borsh_derive::BorshDeserialize;
-/// # use borsh::BorshSerialize;
-/// # use borsh::de::BorshDeserialize;
+/// # use borsh::{BorshDeserialize, BorshSerialize};
 /// use solana_program::{
 ///     account_info::{next_account_info, next_account_infos, AccountInfo},
 ///     entrypoint,