Skip to content

Commit

Permalink
pub SourceType (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
LYF1999 authored Mar 17, 2023
1 parent cf0af28 commit bcf2f32
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pilota-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pilota-build"
version = "0.6.1"
version = "0.6.2"
edition = "2021"
description = "Compile thrift and protobuf idl into rust code at compile-time."
documentation = "https://docs.rs/pilota-build"
Expand Down
7 changes: 5 additions & 2 deletions pilota-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ pub use codegen::{
};
use db::{RirDatabase, RootDatabase};
use fmt::fmt_file;
pub use middle::{context::Context, rir, ty};
use middle::{
context::{tls::CONTEXT, CollectMode, SourceType},
context::{tls::CONTEXT, CollectMode},
rir::NodeKind,
type_graph::TypeGraph,
};
pub use middle::{
context::{Context, SourceType},
rir, ty,
};
use parser::{protobuf::ProtobufParser, thrift::ThriftParser, ParseResult, Parser};
use plugin::{
AutoDerivePlugin, BoxedPlugin, EnumNumPlugin, ImplDefaultPlugin, PredicateResult,
Expand Down

0 comments on commit bcf2f32

Please sign in to comment.