Created ferris says.

This commit is contained in:
WickedJack99
2024-09-08 09:25:12 +02:00
parent 2fd2baf4b3
commit 7a6bbae659
3 changed files with 65 additions and 0 deletions

49
the_2nd/Cargo.lock generated Normal file
View File

@@ -0,0 +1,49 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "ferris-says"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "841ebe0d319cb7ba00944dd908a779b490205d6830c8797220bad7b3f3b7496d"
dependencies = [
"smallvec",
"textwrap",
"unicode-width",
]
[[package]]
name = "smallvec"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "smawk"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
[[package]]
name = "textwrap"
version = "0.13.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd05616119e612a8041ef58f2b578906cc2531a6069047ae092cfb86a325d835"
dependencies = [
"smawk",
"unicode-width",
]
[[package]]
name = "the_2nd"
version = "0.1.0"
dependencies = [
"ferris-says",
]
[[package]]
name = "unicode-width"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"

7
the_2nd/Cargo.toml Normal file
View File

@@ -0,0 +1,7 @@
[package]
name = "the_2nd"
version = "0.1.0"
edition = "2021"
[dependencies]
ferris-says = "0.3.1"

9
the_2nd/src/main.rs Normal file
View File

@@ -0,0 +1,9 @@
fn main() {
println!("Hello, world!");
ferris_says::say(
"I'm a proud little craby!",
20,
std::io::stdout()
);
}