You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned here #11, I want to use SongRec from python. I never coded in rust, but I set up a small rust wrapper to marshall the types, but I am unable to import anything even though SongRec is in my cradle dependencies (can't find crate for `songrec` ).
I think this is due to SongRec not having a lib-section and therefore not exposing anything (first time using rust...)?
The text was updated successfully, but these errors were encountered:
See here for the purpose of not making a library: #12
You can't import this crate as a library because this is a binary crate. There are two types of crates in Rust, binary crates, which have a src/main.rs file and have an entry point other that tests or benchmarks, and library crates which have a src/lib.rs file and are importable in other projects.
As mentioned here #11, I want to use SongRec from python. I never coded in rust, but I set up a small rust wrapper to marshall the types, but I am unable to import anything even though SongRec is in my cradle dependencies (
can't find crate for `songrec`
).I think this is due to SongRec not having a lib-section and therefore not exposing anything (first time using rust...)?
The text was updated successfully, but these errors were encountered: