Allow druid_derive macros in druid crate
This makes use of feature `extern_crate_self` to refer to the current
crate with another name, in this case, druid. This allows druid_derive
macros to expand to something like `druid::Data` instead of `crate::Data`.
#![allow(clippy::new_ret_no_self, clippy::needless_doctest_main)]
#![cfg_attr(docsrs, feature(doc_cfg))]
+// Allows to use macros from druid_derive in this crate
+extern crate self as druid;
+
use druid_shell as shell;
pub use druid_shell::{kurbo, piet};
