Skip to content

Commit

Permalink
unresolved import mailpass
Browse files Browse the repository at this point in the history
fix #1

To support both a C-FFI dynamic library and including from other Rust crates simply add both cdylib and lib to your crate-type
  • Loading branch information
emmysteven committed Aug 18, 2024
1 parent 0500f8a commit f1b5ca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
11 changes: 0 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ readme = "README.md"
authors = ["Emmy Steven"]
license = "MIT"

# [lib]
# crate-type = ["cdylib"]
[lib]
crate-type = ["cdylib", "lib"]

[dependencies]
async-smtp = { version = "0.9.1" }
Expand All @@ -21,7 +21,7 @@ chrono = "0.4.38"
jsonwebtoken = "9.3.0"
serde = { version = "1.0.207", features = ["derive"] }
serde_json = "1.0.124"
tokio = { version = "1.39.2", features = ["full"] }
tokio = { version = "1.39.2", features = ["macros", "rt"] }
trust-dns-resolver = "0.23.2"

candid = "0.10"
Expand Down

0 comments on commit f1b5ca4

Please sign in to comment.