aboutsummaryrefslogtreecommitdiff
path: root/fondant_derive/src
diff options
context:
space:
mode:
Diffstat (limited to 'fondant_derive/src')
-rw-r--r--fondant_derive/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/fondant_derive/src/lib.rs b/fondant_derive/src/lib.rs
index 0c66d62..1a0b945 100644
--- a/fondant_derive/src/lib.rs
+++ b/fondant_derive/src/lib.rs
@@ -1,3 +1,5 @@
1//! Please refer to the `fondant` crate for usage instructions
2
1extern crate proc_macro; 3extern crate proc_macro;
2 4
3use ::std::ffi::{OsStr, OsString}; 5use ::std::ffi::{OsStr, OsString};
@@ -90,7 +92,8 @@ fn gen_impl(ast: &DeriveInput, cfg_path: ConfigPath) -> TokenStream {
90 let (ser, ser_fn) = pick_serializer(&filetype); 92 let (ser, ser_fn) = pick_serializer(&filetype);
91 93
92 let includes = quote! { 94 let includes = quote! {
93 use ::fondant::*; 95 use ::fondant::fondant_exports::*;
96 use ::fondant::FondantError ;
94 use ::std::option::Option; 97 use ::std::option::Option;
95 use ::std::fs::{self, File, OpenOptions}; 98 use ::std::fs::{self, File, OpenOptions};
96 use ::std::io::prelude::*; 99 use ::std::io::prelude::*;