diff --git a/Cargo.toml b/Cargo.toml index 25db5083..9613e82e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "macro", "core", diff --git a/attr/src/syndecode.rs b/attr/src/syndecode.rs index 2f7686e6..af3a1997 100644 --- a/attr/src/syndecode.rs +++ b/attr/src/syndecode.rs @@ -103,7 +103,6 @@ mod tests { }; let item = syn::parse2::(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())); } diff --git a/cli/src/command/migrate.rs b/cli/src/command/migrate.rs index 14fe6925..c6bc6ecd 100644 --- a/cli/src/command/migrate.rs +++ b/cli/src/command/migrate.rs @@ -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::>() .join(";\n") diff --git a/cli/src/main.rs b/cli/src/main.rs index da04fff2..68c61694 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -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) )