forked from syndicate-lang/preserves
Reorganize support re-exports to support preservesless usage of preserves_schema
This commit is contained in:
parent
027966fb3b
commit
3cdf1f662e
|
@ -172,10 +172,11 @@ pub fn compile(config: &CompilerConfig) -> io::Result<()> {
|
|||
lines.push("#![allow(unused_imports)]".to_owned());
|
||||
lines.push("".to_owned());
|
||||
lines.push("use std::convert::TryFrom;".to_owned());
|
||||
lines.push("use preserves::value::Domain;".to_owned());
|
||||
lines.push("use preserves::value::NestedValue;".to_owned());
|
||||
lines.push(format!("use {}::support as _support;", &config.support_crate));
|
||||
lines.push("use _support::Deserialize;".to_owned());
|
||||
lines.push("use _support::preserves;".to_owned());
|
||||
lines.push("use preserves::value::Domain;".to_owned());
|
||||
lines.push("use preserves::value::NestedValue;".to_owned());
|
||||
lines.push("".to_owned());
|
||||
|
||||
for mode in &modes {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
pub use lazy_static::lazy_static;
|
||||
|
||||
pub use preserves;
|
||||
pub use preserves::value::Reader;
|
||||
pub use preserves::value::boundary as B;
|
||||
|
||||
|
|
Loading…
Reference in New Issue