Skip to content

Commit

Permalink
Merge pull request #8
Browse files Browse the repository at this point in the history
refact/lib_name
  • Loading branch information
ludndev authored Sep 23, 2023
2 parents 5ac559f + f2e43e3 commit ae5c3b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "hello-world"
name = "ludndev-hello-world"
version = "0.1.0"
edition = "2021"
description = "A Rust crate for greeting people."
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ This Rust project provides a simple greeting function that greets a person by na
To use this library in your Rust project, add it as a dependency in your `Cargo.toml`:
```toml
[dependencies]
hello-world = "0.1.0"
ludndev-hello-world = "0.1.0"
```

Then, you can use it in your code:

```rust
use hello-world::greet;
use ludndev-hello-world::greet;

fn main() {
let name = "John";
Expand All @@ -31,7 +31,7 @@ This function takes a `name` as input and returns a greeting message. If the `na
## Examples

```rust
use hello-world::greet;
use ludndev-hello-world::greet;

fn main() {
let name = "Alice";
Expand Down

0 comments on commit ae5c3b4

Please sign in to comment.