# Project Title Thank's to Mas Eko Kurniawan Khanedy This is the Library that will used (dependen) to [Main](https://github.com/jadahbakar/belajar-rust-crate-main) ## Acknowledgements ### Rust Crate - [Main](https://github.com/jadahbakar/belajar-rust-crate-lib) - [Udemy](https://www.udemy.com/course/belajar-rust/learn/lecture/43754258#overview) - [Slides](https://docs.google.com/presentation/d/1mqMwhNH6If-hmyuradHBjZmoiTzA098NP2Rz_sBOVOw/edit#slide=id.p) - [References Github Main](https://github.com/ProgrammerZamanNow/belajar-rust-crate) - [References Github Library](https://github.com/ProgrammerZamanNow/belajar-rust-crate-say-hello) ## How To used: 1. First of all must PUSH to GIT ```sh git push -u orgin master ``` 2. Create account on cargo [crates](https://crates.io/) 3. On Account Settings > API Tokens > New Token 4. run this command, and paste the Token ```sh cargo login ``` 5. check before publish ```sh cargo publish --dry-run ``` full ```sh ❯ cargo publish --dry-run Updating crates.io index Packaging belajar_rust_crate_lib v0.1.0 (/Users/dedystyawan/data/learn/rust/rust_pzn/rust_crate/belajar-rust-crate-lib) Verifying belajar_rust_crate_lib v0.1.0 (/Users/dedystyawan/data/learn/rust/rust_pzn/rust_crate/belajar-rust-crate-lib) Updating crates.io index Compiling autocfg v1.3.0 Compiling core-foundation-sys v0.8.6 Compiling iana-time-zone v0.1.60 Compiling num-traits v0.2.19 Compiling chrono v0.4.38 Compiling belajar_rust_crate_lib v0.1.0 (/Users/dedystyawan/data/learn/rust/rust_pzn/rust_crate/belajar-rust-crate-lib/target/package/belajar_rust_crate_lib-0.1.0) Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s Packaged 6 files, 3.6KiB (1.8KiB compressed) Uploading belajar_rust_crate_lib v0.1.0 (/Users/dedystyawan/data/learn/rust/rust_pzn/rust_crate/belajar-rust-crate-lib) warning: aborting upload due to dry run ``` 6. publish it on crates ```sh cargo publish ```