cursive icon indicating copy to clipboard operation
cursive copied to clipboard

Which one is correct/preferred way?

Open smallB007 opened this issue 4 years ago • 1 comments

Hi, During the compilation I got error and suggestion that I should use one of:

use cursive::event::EventResult; use cursive_core::event::EventResult;

Which one is the preferred one? Thank you

smallB007 avatar Jan 07 '22 09:01 smallB007

Both are the same. Cursive re exports all of cursive-core. If you write a library, it may help to only depend on cursive-core. If you write an application, just use cursive.

gyscos avatar Jan 07 '22 10:01 gyscos