Skip to content

Commit

Permalink
remove debug statements; misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtbuilds committed Oct 27, 2023
1 parent 30c7711 commit 306201c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"macro",
"core",
Expand Down
1 change: 0 additions & 1 deletion attr/src/syndecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ mod tests {
};
let item = syn::parse2::<syn::ItemEnum>(q).unwrap();
let attrs = Attributes2::from(item.attrs.as_slice());
dbg!(&attrs);
assert!(attrs.has_derive("Type"));
assert_eq!(attrs.repr, Some("u8".to_string()));
}
Expand Down
1 change: 0 additions & 1 deletion cli/src/command/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ impl Migrate {
file_name.push_str(&self.name);
let migration_body = migration.as_ref().map(|m| {
m.statements.iter()
.inspect(|&f| { dbg!(f); })
.map(|s| s.to_sql(Dialect::Postgres))
.collect::<Vec<_>>()
.join(";\n")
Expand Down
3 changes: 1 addition & 2 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ fn main() -> Result<()> {
.without_time()
)
.with(tracing_subscriber::filter::Targets::new()
.with_target(env!("CARGO_PKG_NAME"), level)
.with_target("ormlite", level)
.with_target(env!("CARGO_BIN_NAME"), level)
.with_target("ormlite_attr", level)
.with_target("sqlmo", level)
)
Expand Down

0 comments on commit 306201c

Please sign in to comment.