The-Complete-Rust-Programming-Reference-Guide
Design, develop, and deploy effective software systems using the advanced constructs of Rust
파일 탐색기
최종 버전 다운로드 (.zip)- arrays.rs
- closures.rs
- enum_methods.rs
- enums.rs
- exercise_word_counter.rs
- first_program.rs
- for_loops.rs
- function_mut.rs
- functions.rs
- greet.rs
- hashmaps.rs
- if_assign.rs
- if_else.rs
- if_else_no_value.rs
- loop_labels.rs
- loops.rs
- match_expression.rs
- slices.rs
- strings.rs
- struct_methods.rs
- structs.rs
- tuple_struct.rs
- tuples.rs
- unit_struct.rs
- use.rs
- variables.rs
- vec.rs
- while.rs
- Cargo.toml
- ferris.png
- main.rs
- Cargo.lock
- Cargo.toml
- foo.rs
- main.rs
- bar.rs
- foo.rs
- main.rs
- basic.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- main.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- Cargo.lock
- Cargo.toml
- file_as_module.rs
- mod_within.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- fibonacci.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- common.rs
- sum.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- half_adder.rs
- .gitignore
- .travis.yml
- Cargo.toml
- LICENSE
- logic_gate.png
- README.md
- lib.rs
- Cargo.lock
- Cargo.toml
- first_unit_test.rs
- ignored_test.rs
- logic_gates_icon.png
- panic_test.rs
- silly_loop.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- main.rs
- media.rs
- Cargo.lock
- Cargo.toml
- .gitignore
- creating_generic_vec.rs
- expressions.rs
- foo.txt
- generic_enum.rs
- generic_function.rs
- generic_struct.rs
- generic_struct_impl.rs
- impl_trait_both.rs
- impl_trait_closure.rs
- impl_trait_syntax.rs
- let_pattern_wrapper.rs
- trait_bound_basics.rs
- trait_bound_basics_fixed.rs
- trait_bound_functions.rs
- trait_bound_intro.rs
- trait_bound_intro_fixed.rs
- trait_bounds_types.rs
- trait_composition.rs
- trait_inheritance.rs
- trait_objects.rs
- unusable_str.rs
- using_generic_func.rs
- using_generic_vec.rs
- basics.rs
- todo
- todo_junk
- error.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- borrowing_basics.rs
- borrowing_functions.rs
- borrowing_match.rs
- box_basics.rs
- buffer_overflow.c
- catch_unwind.rs
- cell.rs
- cell_cache.rs
- data.txt
- drop.rs
- exclusive_borrow.rs
- explicit_copy.rs
- explicit_lifetimes.rs
- iterator_invalidation.cpp
- lifetime_basics.rs
- lifetime_bounds.rs
- lifetime_bounds_short.rs
- lifetime_impls.rs
- lifetime_struct.rs
- lifetime_subtyping.rs
- linked_list.rs
- main_result.rs
- making_copy_types.rs
- making_copy_types_fixed.rs
- multiple_lifetimes.rs
- mutable_borrow.rs
- ownership_basics.rs
- ownership_closures.rs
- ownership_functions.rs
- ownership_functions_back.rs
- ownership_match.rs
- ownership_methods.rs
- ownership_primitives.rs
- panic_unwinding.rs
- rc_3.rs
- rc_weak.rs
- recursive_type.rs
- refcell_basics.rs
- result_basics.rs
- result_basics_fixed.rs
- result_common_pattern.rs
- return_func_ref.rs
- scopes.rs
- stack_basics.rs
- static_lifetime.rs
- uninitialized_reads.c
- using_lifetimes.rs
- using_map.rs
- using_options.rs
- using_options_match.rs
- using_options_unwrap.rs
- using_question_operator.rs
- without_cell.rs
- basics.rs
- malformed_todo
- README.md
- todo
- error.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- catch_unwind.rs
- create_result.rs
- create_result_fixed.rs
- data.txt
- main_result.rs
- panic_unwinding.rs
- result_basics.rs
- result_basics_fixed.rs
- result_common_pattern.rs
- using_map.rs
- using_options.rs
- using_options_match.rs
- using_options_unwrap.rs
- using_question_operator.rs
- bar.rs
- foo.rs
- main.rs
- Cargo.lock
- Cargo.toml
- main.rs
- Cargo.lock
- Cargo.toml
- block_expr.rs
- borrowed_strings.rs
- const_fn.rs
- const_fn_file.rs
- custom_iterator.rs
- destructure_enum.rs
- destructure_func_param.rs
- destructure_struct.rs
- enum_struct_consts.rs
- fn_closure.rs
- fn_mut_closure.rs
- fn_once.rs
- function_types.rs
- if_expr.rs
- let_ref_mut.rs
- loop_expr.rs
- match_ref.rs
- nested_imports.rs
- object_safety.rs
- pointer_layouts.rs
- refutable_pattern.rs
- safe_arithmetic.rs
- scopes.rs
- str_type.rs
- string_apis.rs
- string_chars.rs
- string_concat.rs
- string_indexing.rs
- string_owned.rs
- string_range_slice.rs
- string_slices_func.rs
- strings.rs
- trait_constants.rs
- type_alias.rs
- type_inference_iterator.rs
- ufcs.rs
- unions.rs
- unusable_str.rs
- main.rs
- Cargo.lock
- Cargo.toml
- arc_mutex.rs
- async_channels.rs
- customize_threads.rs
- mutex_basics.rs
- sync_channels.rs
- thread_arc.rs
- thread_basics.rs
- thread_basics_join.rs
- thread_moves.rs
- thread_mut.rs
- thread_rc.rs
- thread_read.rs
- thread_rwlock.rs
- threads_shared_owner.rs
- threads_sharing.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- Cargo.lock
- Cargo.toml
- main.rs
- Cargo.lock
- Cargo.toml
- lib.rs
- Cargo.lock
- Cargo.toml
- c_macros.c
- c_macros_rust.rs
- first_macro.rs
- print_formatting.rs
- main.rs
- build.rs
- Cargo.lock
- Cargo.toml
- mystrlen.c
- basic.rs
- bindings.rs
- lib.rs
- build.rs
- Cargo.lock
- Cargo.toml
- liblevenshtein.a
- index.js
- lib.rs
- build.rs
- Cargo.lock
- Cargo.toml
- .gitignore
- main.js
- package.json
- README.md
- lib.rs
- Cargo.lock
- Cargo.toml
- main
- main.c
- Makefile
- lib.rs
- Cargo.lock
- Cargo.toml
- main.py
- README.md
- both_true_false.c
- unsafe_function.rs
- unsafe_trait_and_impl.rs
- main.rs
- Cargo.lock
- Cargo.toml
- log4rs.yaml
- my_lib.log
- requests.log
- main.rs
- .gitignore
- Cargo.toml
- lib.rs
- .gitignore
- Cargo.toml
- Cargo.lock
- Cargo.toml
- enemy.rs
- main.rs
- player.rs
- weapon.rs
- Cargo.lock
- Cargo.toml
- README.md
- lib.rs
- Cargo.lock
- Cargo.toml
- codec.rs
- commands.rs
- main.rs
- Cargo.lock
- Cargo.toml
- commands.rs
- main.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- index.rs
- main.rs
- service.rs
- shortener.rs
- Cargo.lock
- Cargo.toml
- links.rs
- main.rs
- route_handlers.rs
- state.rs
- Cargo.lock
- Cargo.toml
- test_server.sh
- main.rs
- Cargo.lock
- Cargo.toml
- doubly_linked_list.rs
- dynamic_array.rs
- lib.rs
- singly_linked_list.rs
- skip_list.rs
- Cargo.toml
- binary_search_tree.rs
- btree.rs
- graph.rs
- heap.rs
- lib.rs
- red_black_tree.rs
- trie.rs
- Cargo.toml
- lib.rs
- map.rs
- set.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- lib.rs
- Cargo.toml
- knapsack.rs
- lib.rs
- nqueens.rs
- prng.rs
- Cargo.toml
- bench.maps.std.vs.naive.png
- bench.seq.std.vs.naive.png
- bench.trees.std.vs.naive.png
- Bubble Sort.png
- Heap Sort.png
- Merge Sort.png
- Quick Sort.png
- runtime.complexity.png
- runtime.exp.png
- runtime.logn.png
- runtime.n.png
- runtime.n2.png
- runtime.nlogn.png
- Shell Sort.png
- Stdlib Sort.png
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/PacktPublishing/The-Complete-Rust-Programming-Reference-Guide
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd The-Complete-Rust-Programming-Reference-Guide
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd Chapter10/native_counter
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
3. Rust
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd Chapter02/cargo_manifest_example
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd Chapter10/rust_from_c
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
