-
MUST know Rust Cargo plugins
Today we are going over the most useful Cargo plugins you should know!
cargo-watch: https://crates.io/crates/cargo-watch
cargo-edit: https://crates.io/crates/cargo-edit
cargo-modules: https://crates.io/crates/cargo-modules
cargo-audit: https://crates.io/crates/cargo-audit
cargo-tarpaulin: https://crates.io/crates/cargo-tarpaulin
cargo-nextest: https://nexte.st/
cargo-make: https://crates.io/crates/cargo-make
cargo-release: https://crates.io/crates/cargo-release
published: 21 May 2022
-
From cargo to crates.io and back again
We implement a crate that unifies the types involved in the transit path between cargo publish, the Cargo registry API, and the Cargo index, and the conversions between them. The hope is that once this is polished up some more, cargo, crates.io, and the crates-io and crates-index crates will all be able to make use of a single crate for their type definitions.
The code at the end of the stream is available at https://github.com/jonhoo/cargo-index-transit.
0:00:00 Introduction
0:03:40 cargo publish
0:15:41 The crates.io index
0:34:23 Gathering type definitions
1:43:04 Trimming down the manifest type
2:00:00 The crates-index crate
2:08:29 Undoing type-erasing
2:19:23 Biobreak
2:22:04 The .crate manifest module
3:05:15 The publish module
4:02:26 The index module
4:55:42 Trying to hide from ...
published: 11 Feb 2023
-
How the Exporter can use Cargo X
published: 13 Nov 2021
-
Rust Linz, August 2020 - Rainer Stropek - Intro to Cargo
C# has NuGet, Java has Maven, JavaScript has npm - and Rust has Cargo. Cargo is a package manager and build-tool. In this session, Rainer Stropek will introduce Cargo and demonstrate how to use it when building Rust applications. This will be an introductory talk for people who are rather new to Rust.
Rust Linz at https://rust-linz.at
Twitter: https://twitter.com/rustlinz
Rainer Stropek: https://twitter.com/rstropek
Speak at Rust Linz: https://sessionize.com/rust-linz
published: 17 Aug 2020
-
Solana Changelog - October 17 - Duplicate Block Prevention, Anchor, and Cargo Registry
Some more Solana changes from Jacob & Nick.
Subscribe to the newsletter: https://solana.com/newsletter
Proposal:
- Turbine for duplicate block prevention https://github.com/solana-foundation/solana-improvement-documents/pull/71
Resources:
- Anchor release https://github.com/coral-xyz/anchor/blob/v0.29.0/docs/src/pages/docs/release-notes.md
Commit highlight:
- Cargo Registry: https://github.com/solana-labs/solana/pull/33570
Follow us on Twitter:
https://twitter.com/solana_devs
Jacob: https://twitter.com/jacobvcreech
Nick: https://twitter.com/nickfrosty
If you have a resource you've built or anything that improves the Solana Developer experience, please reach out to us!
---
DISCLAIMER
The content herein is provided for educational, informational, and entertainment purposes only, and ...
published: 17 Oct 2023
-
Rust Intermediate Tutorial #6 - Cargo, bin, & lib
We're going to break down libraries and binaries in Cargo and talk about how professional developers in the Rust community build crates for applications to import!
Check out the code on GitHub!
https://github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial
Solana source code!
https://github.com/solana-labs/solana
This video is Part #6 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist!
https://www.youtube.com/playlist?list=PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf
Join our Discord! Link in About section here: https://m.youtube.com/c/CodingCrypto/about
published: 01 Mar 2022
-
003 Adding dependencies to cargo.toml from crates.io
A short video explaining how to add dependencies from crates.io to your Rust program.
Rust Extensions
Rust Analyzer: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
Rust Extension Pack: https://marketplace.visualstudio.com/items?itemName=Zerotaskx.rust-extension-pack
Rust Doc Viewer: https://marketplace.visualstudio.com/items?itemName=JScearcy.rust-doc-viewer
Rust Assist: https://marketplace.visualstudio.com/items?itemName=mooman219.rust-assist
Rust Text Explorer: https://marketplace.visualstudio.com/items?itemName=swellaby.vscode-rust-test-adapter
#rust #cargo #crates #programming
published: 28 Sep 2022
-
Rust: Make a Cargo Plugin, It's EASY!!!
Cargo Plugins are extremely trivial. In this video I show you how to make one.
published: 05 Jul 2022
-
Rust Releases! Cargo's New Sparse Index Protocol
How Cargo's new Sparse Index Protocol speeds things up, and an interview with it's creator: Arlo Siemsen!
UPDATE!!! It looks like this feature is on track to hit stable on June 1st, 2023.
Inside Rust Blog: Help test Cargo's new index protocol -- https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html
Want to learn Rust? Check out my courses at https://agileperception.com/
0:00 The Intro
0:18 The News (Cargo's new Sparse Index Protocol)
1:36 How to try it out
2:30 Interview with Arlo Siemsen!
2:35 What was the problem?
3:40 Impact on registry implementations.
4:02 What's your background?
4:40 How did you get into Rust?
5:27 How did you get involved in the sparse index?
6:56 We have a GitHub contact...
7:41 How the feature stabilizes
8:19 It's so fast!
9:04 Schedule ...
published: 01 Mar 2023
-
Deploy Cargo Crates Using Github Actions with Jordan!
Powered by Restream https://restre.am/yt
How to publish/release a cargo crate for Mac, Linux and Windows using GitHub Actions.
Presenter: Jordan
Contact: https://jojo.io/
Join In-Person or Online:
https://meet.jit.si/utah-rust
https://twitch.tv/coolaj86
https://youtube.com/c/utahrust
Address:
Vivint @ Lehi
3401 Ashton Blvd, Lehi, UT 84043
(plenty of easy-to-spot parking available)
published: 26 Aug 2022
4:47
MUST know Rust Cargo plugins
Today we are going over the most useful Cargo plugins you should know!
cargo-watch: https://crates.io/crates/cargo-watch
cargo-edit: https://crates.io/crates/c...
Today we are going over the most useful Cargo plugins you should know!
cargo-watch: https://crates.io/crates/cargo-watch
cargo-edit: https://crates.io/crates/cargo-edit
cargo-modules: https://crates.io/crates/cargo-modules
cargo-audit: https://crates.io/crates/cargo-audit
cargo-tarpaulin: https://crates.io/crates/cargo-tarpaulin
cargo-nextest: https://nexte.st/
cargo-make: https://crates.io/crates/cargo-make
cargo-release: https://crates.io/crates/cargo-release
https://wn.com/Must_Know_Rust_Cargo_Plugins
Today we are going over the most useful Cargo plugins you should know!
cargo-watch: https://crates.io/crates/cargo-watch
cargo-edit: https://crates.io/crates/cargo-edit
cargo-modules: https://crates.io/crates/cargo-modules
cargo-audit: https://crates.io/crates/cargo-audit
cargo-tarpaulin: https://crates.io/crates/cargo-tarpaulin
cargo-nextest: https://nexte.st/
cargo-make: https://crates.io/crates/cargo-make
cargo-release: https://crates.io/crates/cargo-release
- published: 21 May 2022
- views: 12518
7:20:30
From cargo to crates.io and back again
We implement a crate that unifies the types involved in the transit path between cargo publish, the Cargo registry API, and the Cargo index, and the conversions...
We implement a crate that unifies the types involved in the transit path between cargo publish, the Cargo registry API, and the Cargo index, and the conversions between them. The hope is that once this is polished up some more, cargo, crates.io, and the crates-io and crates-index crates will all be able to make use of a single crate for their type definitions.
The code at the end of the stream is available at https://github.com/jonhoo/cargo-index-transit.
0:00:00 Introduction
0:03:40 cargo publish
0:15:41 The crates.io index
0:34:23 Gathering type definitions
1:43:04 Trimming down the manifest type
2:00:00 The crates-index crate
2:08:29 Undoing type-erasing
2:19:23 Biobreak
2:22:04 The .crate manifest module
3:05:15 The publish module
4:02:26 The index module
4:55:42 Trying to hide from borrowck
5:08:09 Index conversion methods
5:49:52 Writing an end-to-end test
6:01:46 Aside: A missing pub in Cargo
6:10:34 Writing an end-to-end test (part 2)
6:25:37 toml_edit and DeserializeOwned
6:57:22 Writing an end-to-end test (part 3)
7:11:05 Re-using the test setup
Live version with chat: https://youtube.com/live/NL4vCWrzzg4
https://wn.com/From_Cargo_To_Crates.Io_And_Back_Again
We implement a crate that unifies the types involved in the transit path between cargo publish, the Cargo registry API, and the Cargo index, and the conversions between them. The hope is that once this is polished up some more, cargo, crates.io, and the crates-io and crates-index crates will all be able to make use of a single crate for their type definitions.
The code at the end of the stream is available at https://github.com/jonhoo/cargo-index-transit.
0:00:00 Introduction
0:03:40 cargo publish
0:15:41 The crates.io index
0:34:23 Gathering type definitions
1:43:04 Trimming down the manifest type
2:00:00 The crates-index crate
2:08:29 Undoing type-erasing
2:19:23 Biobreak
2:22:04 The .crate manifest module
3:05:15 The publish module
4:02:26 The index module
4:55:42 Trying to hide from borrowck
5:08:09 Index conversion methods
5:49:52 Writing an end-to-end test
6:01:46 Aside: A missing pub in Cargo
6:10:34 Writing an end-to-end test (part 2)
6:25:37 toml_edit and DeserializeOwned
6:57:22 Writing an end-to-end test (part 3)
7:11:05 Re-using the test setup
Live version with chat: https://youtube.com/live/NL4vCWrzzg4
- published: 11 Feb 2023
- views: 18882
54:19
Rust Linz, August 2020 - Rainer Stropek - Intro to Cargo
C# has NuGet, Java has Maven, JavaScript has npm - and Rust has Cargo. Cargo is a package manager and build-tool. In this session, Rainer Stropek will introduce...
C# has NuGet, Java has Maven, JavaScript has npm - and Rust has Cargo. Cargo is a package manager and build-tool. In this session, Rainer Stropek will introduce Cargo and demonstrate how to use it when building Rust applications. This will be an introductory talk for people who are rather new to Rust.
Rust Linz at https://rust-linz.at
Twitter: https://twitter.com/rustlinz
Rainer Stropek: https://twitter.com/rstropek
Speak at Rust Linz: https://sessionize.com/rust-linz
https://wn.com/Rust_Linz,_August_2020_Rainer_Stropek_Intro_To_Cargo
C# has NuGet, Java has Maven, JavaScript has npm - and Rust has Cargo. Cargo is a package manager and build-tool. In this session, Rainer Stropek will introduce Cargo and demonstrate how to use it when building Rust applications. This will be an introductory talk for people who are rather new to Rust.
Rust Linz at https://rust-linz.at
Twitter: https://twitter.com/rustlinz
Rainer Stropek: https://twitter.com/rstropek
Speak at Rust Linz: https://sessionize.com/rust-linz
- published: 17 Aug 2020
- views: 6400
6:30
Solana Changelog - October 17 - Duplicate Block Prevention, Anchor, and Cargo Registry
Some more Solana changes from Jacob & Nick.
Subscribe to the newsletter: https://solana.com/newsletter
Proposal:
- Turbine for duplicate block prevention http...
Some more Solana changes from Jacob & Nick.
Subscribe to the newsletter: https://solana.com/newsletter
Proposal:
- Turbine for duplicate block prevention https://github.com/solana-foundation/solana-improvement-documents/pull/71
Resources:
- Anchor release https://github.com/coral-xyz/anchor/blob/v0.29.0/docs/src/pages/docs/release-notes.md
Commit highlight:
- Cargo Registry: https://github.com/solana-labs/solana/pull/33570
Follow us on Twitter:
https://twitter.com/solana_devs
Jacob: https://twitter.com/jacobvcreech
Nick: https://twitter.com/nickfrosty
If you have a resource you've built or anything that improves the Solana Developer experience, please reach out to us!
---
DISCLAIMER
The content herein is provided for educational, informational, and entertainment purposes only, and does not constitute an offer to sell or a solicitation of an offer to buy any securities, options, futures, or other derivatives related to securities in any jurisdiction, nor should not be relied upon as advice to buy, sell or hold any of the foregoing. This content is intended to be general in nature and is not specific to you, the user or anyone else. You should not make any decision, financial, investment, trading or otherwise, based on any of the information presented without undertaking independent due diligence and consultation with a professional advisor. Solana Foundation Foundation and its agents, advisors, council members, officers and employees (the “Foundation Parties”) make no representation or warranties, expressed or implied, as to the accuracy of the information herein and expressly disclaims any and all liability that may be based on such information or any errors or omissions therein. The Foundation Parties shall have no liability whatsoever, under contract, tort, trust or otherwise, to any person arising from or related to the content or any use of the information contained herein by you or any of your representatives. All opinions expressed herein are the speakers’ own personal opinions and do not reflect the opinions of any entities.
https://wn.com/Solana_Changelog_October_17_Duplicate_Block_Prevention,_Anchor,_And_Cargo_Registry
Some more Solana changes from Jacob & Nick.
Subscribe to the newsletter: https://solana.com/newsletter
Proposal:
- Turbine for duplicate block prevention https://github.com/solana-foundation/solana-improvement-documents/pull/71
Resources:
- Anchor release https://github.com/coral-xyz/anchor/blob/v0.29.0/docs/src/pages/docs/release-notes.md
Commit highlight:
- Cargo Registry: https://github.com/solana-labs/solana/pull/33570
Follow us on Twitter:
https://twitter.com/solana_devs
Jacob: https://twitter.com/jacobvcreech
Nick: https://twitter.com/nickfrosty
If you have a resource you've built or anything that improves the Solana Developer experience, please reach out to us!
---
DISCLAIMER
The content herein is provided for educational, informational, and entertainment purposes only, and does not constitute an offer to sell or a solicitation of an offer to buy any securities, options, futures, or other derivatives related to securities in any jurisdiction, nor should not be relied upon as advice to buy, sell or hold any of the foregoing. This content is intended to be general in nature and is not specific to you, the user or anyone else. You should not make any decision, financial, investment, trading or otherwise, based on any of the information presented without undertaking independent due diligence and consultation with a professional advisor. Solana Foundation Foundation and its agents, advisors, council members, officers and employees (the “Foundation Parties”) make no representation or warranties, expressed or implied, as to the accuracy of the information herein and expressly disclaims any and all liability that may be based on such information or any errors or omissions therein. The Foundation Parties shall have no liability whatsoever, under contract, tort, trust or otherwise, to any person arising from or related to the content or any use of the information contained herein by you or any of your representatives. All opinions expressed herein are the speakers’ own personal opinions and do not reflect the opinions of any entities.
- published: 17 Oct 2023
- views: 438
8:26
Rust Intermediate Tutorial #6 - Cargo, bin, & lib
We're going to break down libraries and binaries in Cargo and talk about how professional developers in the Rust community build crates for applications to impo...
We're going to break down libraries and binaries in Cargo and talk about how professional developers in the Rust community build crates for applications to import!
Check out the code on GitHub!
https://github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial
Solana source code!
https://github.com/solana-labs/solana
This video is Part #6 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist!
https://www.youtube.com/playlist?list=PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf
Join our Discord! Link in About section here: https://m.youtube.com/c/CodingCrypto/about
https://wn.com/Rust_Intermediate_Tutorial_6_Cargo,_Bin,_Lib
We're going to break down libraries and binaries in Cargo and talk about how professional developers in the Rust community build crates for applications to import!
Check out the code on GitHub!
https://github.com/Coding-and-Crypto/Rust-Intermediate-Tutorial
Solana source code!
https://github.com/solana-labs/solana
This video is Part #6 of my playlist "Rust Intermediate Tutorial" - check out the entire playlist!
https://www.youtube.com/playlist?list=PLUBKxx7QjtVk9cVT9VaTtoDKivyWuLZZf
Join our Discord! Link in About section here: https://m.youtube.com/c/CodingCrypto/about
- published: 01 Mar 2022
- views: 3279
4:14
003 Adding dependencies to cargo.toml from crates.io
A short video explaining how to add dependencies from crates.io to your Rust program.
Rust Extensions
Rust Analyzer: https://marketplace.visualstudio.com/item...
A short video explaining how to add dependencies from crates.io to your Rust program.
Rust Extensions
Rust Analyzer: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
Rust Extension Pack: https://marketplace.visualstudio.com/items?itemName=Zerotaskx.rust-extension-pack
Rust Doc Viewer: https://marketplace.visualstudio.com/items?itemName=JScearcy.rust-doc-viewer
Rust Assist: https://marketplace.visualstudio.com/items?itemName=mooman219.rust-assist
Rust Text Explorer: https://marketplace.visualstudio.com/items?itemName=swellaby.vscode-rust-test-adapter
#rust #cargo #crates #programming
https://wn.com/003_Adding_Dependencies_To_Cargo.Toml_From_Crates.Io
A short video explaining how to add dependencies from crates.io to your Rust program.
Rust Extensions
Rust Analyzer: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
Rust Extension Pack: https://marketplace.visualstudio.com/items?itemName=Zerotaskx.rust-extension-pack
Rust Doc Viewer: https://marketplace.visualstudio.com/items?itemName=JScearcy.rust-doc-viewer
Rust Assist: https://marketplace.visualstudio.com/items?itemName=mooman219.rust-assist
Rust Text Explorer: https://marketplace.visualstudio.com/items?itemName=swellaby.vscode-rust-test-adapter
#rust #cargo #crates #programming
- published: 28 Sep 2022
- views: 507
14:40
Rust: Make a Cargo Plugin, It's EASY!!!
Cargo Plugins are extremely trivial. In this video I show you how to make one.
Cargo Plugins are extremely trivial. In this video I show you how to make one.
https://wn.com/Rust_Make_A_Cargo_Plugin,_It's_Easy
Cargo Plugins are extremely trivial. In this video I show you how to make one.
- published: 05 Jul 2022
- views: 795
11:16
Rust Releases! Cargo's New Sparse Index Protocol
How Cargo's new Sparse Index Protocol speeds things up, and an interview with it's creator: Arlo Siemsen!
UPDATE!!! It looks like this feature is on track to h...
How Cargo's new Sparse Index Protocol speeds things up, and an interview with it's creator: Arlo Siemsen!
UPDATE!!! It looks like this feature is on track to hit stable on June 1st, 2023.
Inside Rust Blog: Help test Cargo's new index protocol -- https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html
Want to learn Rust? Check out my courses at https://agileperception.com/
0:00 The Intro
0:18 The News (Cargo's new Sparse Index Protocol)
1:36 How to try it out
2:30 Interview with Arlo Siemsen!
2:35 What was the problem?
3:40 Impact on registry implementations.
4:02 What's your background?
4:40 How did you get into Rust?
5:27 How did you get involved in the sparse index?
6:56 We have a GitHub contact...
7:41 How the feature stabilizes
8:19 It's so fast!
9:04 Schedule for becoming the default protocol
9:57 What testers should focus on
10:46 Final thoughts
10:55 The Outro
Correction:
1:54 The config goes in .cargo/config.toml, not Cargo.toml!
https://wn.com/Rust_Releases_Cargo's_New_Sparse_Index_Protocol
How Cargo's new Sparse Index Protocol speeds things up, and an interview with it's creator: Arlo Siemsen!
UPDATE!!! It looks like this feature is on track to hit stable on June 1st, 2023.
Inside Rust Blog: Help test Cargo's new index protocol -- https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html
Want to learn Rust? Check out my courses at https://agileperception.com/
0:00 The Intro
0:18 The News (Cargo's new Sparse Index Protocol)
1:36 How to try it out
2:30 Interview with Arlo Siemsen!
2:35 What was the problem?
3:40 Impact on registry implementations.
4:02 What's your background?
4:40 How did you get into Rust?
5:27 How did you get involved in the sparse index?
6:56 We have a GitHub contact...
7:41 How the feature stabilizes
8:19 It's so fast!
9:04 Schedule for becoming the default protocol
9:57 What testers should focus on
10:46 Final thoughts
10:55 The Outro
Correction:
1:54 The config goes in .cargo/config.toml, not Cargo.toml!
- published: 01 Mar 2023
- views: 1646
2:04:35
Deploy Cargo Crates Using Github Actions with Jordan!
Powered by Restream https://restre.am/yt
How to publish/release a cargo crate for Mac, Linux and Windows using GitHub Actions.
Presenter: Jordan
Contact: h...
Powered by Restream https://restre.am/yt
How to publish/release a cargo crate for Mac, Linux and Windows using GitHub Actions.
Presenter: Jordan
Contact: https://jojo.io/
Join In-Person or Online:
https://meet.jit.si/utah-rust
https://twitch.tv/coolaj86
https://youtube.com/c/utahrust
Address:
Vivint @ Lehi
3401 Ashton Blvd, Lehi, UT 84043
(plenty of easy-to-spot parking available)
https://wn.com/Deploy_Cargo_Crates_Using_Github_Actions_With_Jordan
Powered by Restream https://restre.am/yt
How to publish/release a cargo crate for Mac, Linux and Windows using GitHub Actions.
Presenter: Jordan
Contact: https://jojo.io/
Join In-Person or Online:
https://meet.jit.si/utah-rust
https://twitch.tv/coolaj86
https://youtube.com/c/utahrust
Address:
Vivint @ Lehi
3401 Ashton Blvd, Lehi, UT 84043
(plenty of easy-to-spot parking available)
- published: 26 Aug 2022
- views: 131