Skip to content
icodebroker
컴퓨터 프로그래밍 코드 데이터베이스
Menu
Home
PROGRAMMING
RUST
COMMON
[RUST/COMMON] 크레이트 설치 : rand
[RUST/COMMON] 크레이트 설치 : rand
icodebroker
COMMON
2024-06-27
■ rand 크레이트를 설치하는 방법을 보여준다.
▶
Cargo.toml
Cargo.toml
Shell
... [dependencies] rand = "0.8.0"
1
2
3
4
5
6
.
.
.
[
dependencies
]
rand
=
"0.8.0"
COMMON
CRATE
MATH
RAND
RUST
← [RUST/NUM-BIGINT] num-bigint 크레이트를 사용해 큰 수의 거듭제곱 구하기
[RUST/RAND] rand 크레이트를 사용해 난수 생성하기 →