Repository: Wulf/create-rust-app (language: rust)

Issue:
Compile Error: Use of undeclared crate or module `argonautica`
I followed the quick start to create a new app.

When I run `cargo fullstack` or `cargo build`, I receive the following error:

```
   Compiling create-rust-app v8.1.1
error[E0433]: failed to resolve: use of undeclared crate or module `argonautica`
 --> /Users/rohit/.cargo/registry/src/github.com-1ecc6299db9ec823/create-rust-app-8.1.1/src/dev/endpoints/service_poem.rs:1:5
  |
1 | use argonautica::config::Version::_0x10;
  |     ^^^^^^^^^^^ use of undeclared crate or module `argonautica`
```

Originates here:

https://github.com/Wulf/create-rust-app/blob/50cd54b14d50ac1b733fd653723978518344a1ec/create-rust-app/src/dev/endpoints/service_poem.rs#L1

Compile Error: Use of undeclared crate or module `argonautica`
I followed the quick start to create a new app.

When I run `cargo fullstack` or `cargo build`, I receive the following error:

```
   Compiling create-rust-app v8.1.1
error[E0433]: failed to resolve: use of undeclared crate or module `argonautica`
 --> /Users/rohit/.cargo/registry/src/github.com-1ecc6299db9ec823/create-rust-app-8.1.1/src/dev/endpoints/service_poem.rs:1:5
  |
1 | use argonautica::config::Version::_0x10;
  |     ^^^^^^^^^^^ use of undeclared crate or module `argonautica`
```

Originates here:

https://github.com/Wulf/create-rust-app/blob/50cd54b14d50ac1b733fd653723978518344a1ec/create-rust-app/src/dev/endpoints/service_poem.rs#L1



Discussion / hints:
What plugins did you enable during initial bootstrapping?
Sqlite, poem, auth, container, development.

Disabled: Storage, graphql.

On Wed, Dec 7, 2022 at 11:36 PM Anthony Rubick ***@***.***>
wrote:

> What plugins did you enable during initial bootstrapping?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/Wulf/create-rust-app/issues/80#issuecomment-1342204896>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACHWSMJQSNBZ6D5I2KVJ2C3WMGFWJANCNFSM6AAAAAASXXIPKE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>

Interesting, are you using the most recently released create-rust-app cli?
I did cargo install just before creating my app. This is my first time
creating an app using create-rust-app.

On Thu, Dec 8, 2022 at 12:00 AM Anthony Rubick ***@***.***>
wrote:

> Interesting, are you using the most recently released create-rust-app cli?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/Wulf/create-rust-app/issues/80#issuecomment-1342230862>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACHWSMNF6P5ZHFRCP7WFEKTWMGISLANCNFSM6AAAAAASXXIPKE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>

I see, yeah this is an issue with the project itself, I can make a PR to patch it (from what I can see that import isn't needed anyway)
What plugins did you enable during initial bootstrapping?
Sqlite, poem, auth, container, development.

Disabled: Storage, graphql.

On Wed, Dec 7, 2022 at 11:36 PM Anthony Rubick ***@***.***>
wrote:

> What plugins did you enable during initial bootstrapping?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/Wulf/create-rust-app/issues/80#issuecomment-1342204896>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACHWSMJQSNBZ6D5I2KVJ2C3WMGFWJANCNFSM6AAAAAASXXIPKE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>

Interesting, are you using the most recently released create-rust-app cli?
I did cargo install just before creating my app. This is my first time
creating an app using create-rust-app.

On Thu, Dec 8, 2022 at 12:00 AM Anthony Rubick ***@***.***>
wrote:

> Interesting, are you using the most recently released create-rust-app cli?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/Wulf/create-rust-app/issues/80#issuecomment-1342230862>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACHWSMNF6P5ZHFRCP7WFEKTWMGISLANCNFSM6AAAAAASXXIPKE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>

I see, yeah this is an issue with the project itself, I can make a PR to patch it (from what I can see that import isn't needed anyway)

Fix patch:
diff --git a/create-rust-app/src/dev/endpoints/service_poem.rs b/create-rust-app/src/dev/endpoints/service_poem.rs
index 4e0a7b24..c7516cbd 100644
--- a/create-rust-app/src/dev/endpoints/service_poem.rs
+++ b/create-rust-app/src/dev/endpoints/service_poem.rs
@@ -1,4 +1,3 @@
-use argonautica::config::Version::_0x10;
 use poem::{
     get, handler,
     http::StatusCode,


Test patch: