-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
435ff00
commit 4b9ebff
Showing
34 changed files
with
74 additions
and
76 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
rustbook-uz/listings/ch14-more-about-cargo/listing-14-07/add/Cargo.toml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
rustbook-uz/listings/ch14-more-about-cargo/listing-14-07/add/adder/Cargo.toml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
rustbook-uz/listings/ch14-more-about-cargo/listing-14-07/add/adder/src/main.rs
This file was deleted.
Oops, something went wrong.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
rustbook-uz/listings/ch14-more-about-cargo/listing-14-07/qoshish/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[workspace] | ||
|
||
members = [ | ||
"qoshuvchi", | ||
"bitta_qoshish", | ||
] |
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions
8
rustbook-uz/listings/ch14-more-about-cargo/listing-14-07/qoshish/qoshuvchi/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[package] | ||
name = "qoshish" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
||
bitta_qoshish = { path = "../bitta_qoshish" } |
6 changes: 6 additions & 0 deletions
6
rustbook-uz/listings/ch14-more-about-cargo/listing-14-07/qoshish/qoshuvchi/src/main.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use bitta_qoshish; | ||
|
||
fn main() { | ||
let raqam = 10; | ||
println!("Salom, Rust! {raqam} plyus bir {} ga teng!!", bitta_qoshish::bitta_qoshish(raqam)); | ||
} |
3 changes: 0 additions & 3 deletions
3
...ings/ch14-more-about-cargo/no-listing-01-workspace-with-adder-crate/add/adder/src/main.rs
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...workspace-with-adder-crate/add/Cargo.lock → ...space-with-adder-crate/qoshish/Cargo.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...4-more-about-cargo/no-listing-01-workspace-with-adder-crate/qoshish/qoshuvchi/src/main.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Orzularing o'zingnikimi?"); | ||
} |
6 changes: 0 additions & 6 deletions
6
...-uz/listings/ch14-more-about-cargo/no-listing-02-workspace-with-two-crates/add/Cargo.toml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...ings/ch14-more-about-cargo/no-listing-02-workspace-with-two-crates/add/add_one/src/lib.rs
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...stings/ch14-more-about-cargo/no-listing-02-workspace-with-two-crates/add/adder/Cargo.toml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...tings/ch14-more-about-cargo/no-listing-02-workspace-with-two-crates/add/adder/src/main.rs
This file was deleted.
Oops, something went wrong.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...listings/ch14-more-about-cargo/no-listing-02-workspace-with-two-crates/qoshish/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[workspace] | ||
|
||
members = [ | ||
"qoshuvchi", | ||
"bitta_qoshish", | ||
] |
2 changes: 1 addition & 1 deletion
2
...ce-with-two-crates/add/add_one/Cargo.toml → ...o-crates/qoshish/bitta_qoshish/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "add_one" | ||
name = "bitta_qoshish" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
|
3 changes: 3 additions & 0 deletions
3
...more-about-cargo/no-listing-02-workspace-with-two-crates/qoshish/bitta_qoshish/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pub fn bitta_qoshish(x: i32) -> i32 { | ||
x + 1 | ||
} |
7 changes: 7 additions & 0 deletions
7
...h14-more-about-cargo/no-listing-02-workspace-with-two-crates/qoshish/qoshuvchi/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[package] | ||
name = "qoshuvchi" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
bitta_qoshish = { path = "../bitta_qoshish" } |
3 changes: 3 additions & 0 deletions
3
...14-more-about-cargo/no-listing-02-workspace-with-two-crates/qoshish/qoshuvchi/src/main.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fn main() { | ||
println!("Orzularing o'zingnikimi?"); | ||
} |
6 changes: 0 additions & 6 deletions
6
...ngs/ch14-more-about-cargo/no-listing-03-workspace-with-external-dependency/add/Cargo.toml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...-more-about-cargo/no-listing-03-workspace-with-external-dependency/add/add_one/src/lib.rs
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...14-more-about-cargo/no-listing-03-workspace-with-external-dependency/add/adder/Cargo.toml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
...ch14-more-about-cargo/no-listing-03-workspace-with-external-dependency/qoshish/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[workspace] | ||
|
||
members = [ | ||
"qoshuvchi", | ||
"bitta_qoshish", | ||
] |
2 changes: 1 addition & 1 deletion
2
...xternal-dependency/add/add_one/Cargo.toml → ...pendency/qoshish/bitta_qoshish/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "add_one" | ||
name = "bitta_qoshish" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
...t-cargo/no-listing-03-workspace-with-external-dependency/qoshish/bitta_qoshish/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use rand; | ||
|
||
pub fn bitta_qoshish(x: i32) -> i32 { | ||
x + 1 | ||
} |
8 changes: 8 additions & 0 deletions
8
...about-cargo/no-listing-03-workspace-with-external-dependency/qoshish/qoshuvchi/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[package] | ||
name = "qoshuvchi" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
||
bitta_qoshish = { path = "../bitta_qoshish" } |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters