Skip to content

Commit

Permalink
Remove deprecated doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Einliterflasche committed Nov 14, 2023
1 parent 7cbd0c5 commit aea7f2d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pg-worm-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ use syn::parse_macro_input;

use parse::ModelInput;

/// Automatically implement `Model` for your struct.
///
/// ## Attributes
/// * `table` - for structs:
/// - `table_name: String`: optional. Overwrites the table name
/// * `column` - for struct fields:
/// - `dtype: String`: optional. Overwrites the postgres datatype
/// - `unique: bool`: optional, default: `false`. Enables the `unqiue` constraint.
/// - `auto: bool`: optional, default: `false`. This autogenerated the
/// values.
/// - `column_name: String`: optional. Overwrites the column name.
#[proc_macro_derive(Model, attributes(table, column))]
pub fn derive(input: TokenStream) -> TokenStream {
let input = ModelInput::from_derive_input(&parse_macro_input!(input)).unwrap();
Expand Down

0 comments on commit aea7f2d

Please sign in to comment.