The Rust Programming Language,2nd Edition
. . . 360 1.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 2 More about Cargo and Crates.io 369 2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 2.2 . introduce you to a tool called Cargo, which will help you write real-world Rust programs. Hello, Cargo! Cargo is Rust’s build system and package manager, and Rustaceans use Cargo to manage their Rust projects projects because it makes a lot of tasks easier. For example, Cargo takes care of building your code, downloading the libraries your code depends on, and building those libraries. We call libraries your code0 码力 | 617 页 | 1.54 MB | 1 年前3Comprehensive Rust ?
3 Translations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2 Using Cargo 18 2.1 The Rust Ecosystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2 Code This Training . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.3 Running Code Locally with Cargo . . . . . . . . . . . . . . . . . . . . . . . . 20 I Day 1: Morning 22 3 Welcome to Day 1 23 4 229 X Chromium 230 39 Welcome to Rust in Chromium 231 40 Setup 232 41 Comparing Chromium and Cargo Ecosystems 234 42 Chromium Rust policy 236 43 Build rules 237 43.1 Including unsafe Rust Code .0 码力 | 378 页 | 1009.46 KB | 1 年前3Comprehensive Rust(English) 202412
3 Translations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2 Using Cargo 19 2.1 The Rust Ecosystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2 Code This Training . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.3 Running Code Locally with Cargo . . . . . . . . . . . . . . . . . . . . . . . . 21 I Day 1: Morning 23 3 Welcome to Day 1 24 4 233 X Chromium 235 38 Welcome to Rust in Chromium 236 39 Setup 237 40 Comparing Chromium and Cargo Ecosystems 239 41 Chromium Rust policy 241 42 Build rules 242 42.1 Including unsafe Rust Code .0 码力 | 382 页 | 1.00 MB | 10 月前3C++/Rust Interop: Using Bridges in Practice
PRIVATE bridge::bridge) 22├── Cargo.toml ├── README.md └── crates ├── bridge │ ├── Cargo.toml │ └── src │ └── lib.rs └── bridge-cpp ├── Cargo.toml ├── CMakeLists.txt = ["crates/bridge", "crates/bridge-cpp"] [workspace.package] version = "0.1.0" edition = "2021" Cargo.toml 24[package] name = "bridge-cpp" version.workspace = true edition.workspace = true [lib] name ["staticlib"] [dependencies] bridge = { path = "../bridge" } crates/bridge-cpp/Cargo.toml └── bridge-cpp ├── Cargo.toml ├── CMakeLists.txt ├── cmake │ └── bridgeConfig.cmake.in0 码力 | 45 页 | 724.12 KB | 5 月前3Linux command line for you and me Documentation Release 0.1
.. $ which asakj /usr/bin/which: no asakj in (/home/adas/.local/bin:/home/adas/bin:/home/adas/.cargo/bin:/usr/local/ bin:/usr/local/sbin:/usr/bin:/usr/sbin) There is no command as asakj. The shell searched would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source $HOME/.cargo/env To get started you may need to restart your current would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source $HOME/.cargo/env Press enter for the default configuration. You0 码力 | 124 页 | 510.85 KB | 1 年前3Linux command line for you and me Documentation Release 0.1
found... $ which asakj /usr/bin/which: no asakj in (/home/adas/.local/bin:/home/adas/bin:/home/adas/.cargo/ ˓→bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin) There is no command as asakj. The shell would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source $HOME/.cargo/env To get started you may need to restart your current would reload your PATH environment variable to include Cargo's bin directory ($HOME/.cargo/bin). To configure your current shell, run: source $HOME/.cargo/env Press enter for the default configuration. You0 码力 | 128 页 | 716.99 KB | 1 年前32021-11-22 - Rust CTCFT - Rust for Linux
Avoid assuming Cargo Cargo is a great package manager & build system. However, the kernel does not use packages and has its own build system. Thus tooling that may only be used through Cargo is problematic0 码力 | 53 页 | 332.50 KB | 9 月前3eBPF Summit 2020 Lightning Talk
count is 10 See it in Action! Can we protect the Rabbit? Without Limiter Attach `tc` Program $ cargo make release $ sudo tc qdisc add dev [device name] clsact $ sudo tc filter add dev [device name]0 码力 | 22 页 | 1.81 MB | 1 年前3A tale of Rust, the ESP32 and IoT
Rust” … but contain code, not binaries! • Then “crates.io” is “Maven Central for Rust” • “cargo” manages dependencies, and orchestrates the build and test std foo bar baz libbaz.so baz.dll0 码力 | 37 页 | 3.51 MB | 1 年前3Bazel build //:Go
WORKS. Russ Cox 有话要讲 A Proposal for Package Versioning in Go - Russ Cox Russ Cox 说: • Rust 的 Cargo 做的不不错,于是我们做了了 Dep • ⼋八年年的 go install 和 go get ⾟辛苦⼤大家了了, go module 了了解⼀一下 • go module 会⼲干掉⼤大部分的0 码力 | 85 页 | 3.46 MB | 1 年前3
共 33 条
- 1
- 2
- 3
- 4