Skip to content

Commit

Permalink
Remove embed_migrations! temporarily
Browse files Browse the repository at this point in the history
Unfortunately it will be impossible to write this macro using the Macros
1.1 API. While this is an important feature that I want to keep, I more
importantly want to keep the main repository working on stable. It will
have to live as a separate crate, and possibly have an API change to
work around build scripts.
  • Loading branch information
sgrif committed Oct 6, 2016
1 parent ce31e82 commit d49cf44
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 437 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/

[bash completion]: https://github.com/diesel-rs/diesel/blob/b1a0d9901f0f2a8c8d530ccba8173b57f332b891/diesel_cli/README.md#bash-completion

### Removed

* `embed_migrations!` has been removed, as it is incompatible with the Macros
1.1 API. It will be released as a separate crate in the coming weeks.

### Changed

* Structs annotated with `#[has_many]` or `#[belongs_to]` now require
Expand Down
22 changes: 0 additions & 22 deletions diesel_codegen_old/Cargo.toml

This file was deleted.

182 changes: 0 additions & 182 deletions diesel_codegen_old/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions diesel_codegen_old/src/lib.rs

This file was deleted.

1 change: 0 additions & 1 deletion diesel_codegen_syntex/src/lib.in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pub mod associations;
mod attr;
pub mod identifiable;
pub mod insertable;
pub mod migrations;
mod model;
pub mod queryable;
pub mod schema_inference;
Expand Down
1 change: 0 additions & 1 deletion diesel_codegen_syntex/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ pub fn register(reg: &mut syntex::Registry) {
reg.add_decorator("derive_Identifiable", identifiable::expand_derive_identifiable);
reg.add_decorator("derive_Insertable", insertable::expand_derive_insertable);
reg.add_decorator("derive_Queryable", queryable::expand_derive_queryable);
reg.add_macro("embed_migrations", migrations::expand_embed_migrations);
reg.add_macro("infer_table_from_schema", schema_inference::expand_load_table);
reg.add_macro("infer_schema", schema_inference::expand_infer_schema);

Expand Down
Loading

0 comments on commit d49cf44

Please sign in to comment.