File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
lazer/publisher_sdk/rust/src Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,19 @@ jobs:
2121 submodules : recursive
2222 - uses : actions-rust-lang/setup-rust-toolchain@v1
2323 with :
24- toolchain : 1.81.0
24+ toolchain : 1.82.0
25+ components : clippy,rustfmt
2526 - uses : Swatinem/rust-cache@v2
2627 with :
2728 workspaces : " lazer -> target"
29+ - name : Install Protoc
30+ uses : arduino/setup-protoc@v3
31+ with :
32+ version : " 30.2"
2833 - name : Install Foundry
2934 uses : foundry-rs/foundry-toolchain@v1
30- - name : install extra tools
31- run : |
32- cargo install --locked [email protected] 33- sudo apt-get update && sudo apt-get install -y protobuf-compiler
35+ - name : install taplo
36+ run :
cargo install --locked [email protected] 3437 - name : Install Solana Cli
3538 run : |
3639 sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ impl TryFrom<DynamicValue> for serde_value::Value {
140140 for item in list. items {
141141 output. push ( item. try_into ( ) ?) ;
142142 }
143- Ok ( serde_value:: Value :: Seq ( output) . into ( ) )
143+ Ok ( serde_value:: Value :: Seq ( output) )
144144 }
145145 dynamic_value:: Value :: Map ( map) => {
146146 let mut output = BTreeMap :: new ( ) ;
@@ -154,7 +154,7 @@ impl TryFrom<DynamicValue> for serde_value::Value {
154154 let old = output. insert ( serde_value:: Value :: String ( key) , value) ;
155155 ensure ! ( old. is_none( ) , "duplicate DynamicValue.MapItem.key" ) ;
156156 }
157- Ok ( serde_value:: Value :: Map ( output) . into ( ) )
157+ Ok ( serde_value:: Value :: Map ( output) )
158158 }
159159 }
160160 }
You can’t perform that action at this time.
0 commit comments