Skip to content

Commit

Permalink
Merge pull request #85 from notgull/heck
Browse files Browse the repository at this point in the history
Replace inflector with heck
  • Loading branch information
someguynamedjosh committed Jun 14, 2023
2 parents 77cf1e0 + 39b0f40 commit b6bc986
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ouroboros_macro/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ repository = "https://github.com/joshua-maros/ouroboros"
proc-macro = true

[dependencies]
Inflector = { version = "0.11", default-features = false }
heck = "0.4.1"
proc-macro2 = "1.0"
proc-macro-error = "1.0.4"
quote = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion ouroboros_macro/src/lib.rs
Expand Up @@ -17,8 +17,8 @@ use crate::{
info_structures::Options,
parse::parse_struct,
};
use heck::ToSnakeCase;
use generate::{struc::create_actual_struct_def, drop::create_drop_impl};
use inflector::Inflector;
use info_structures::BuilderType;
use proc_macro::TokenStream;
use proc_macro2::TokenStream as TokenStream2;
Expand Down
2 changes: 1 addition & 1 deletion ouroboros_macro/src/utils.rs
@@ -1,4 +1,4 @@
use inflector::Inflector;
use heck::ToSnakeCase;
use proc_macro2::{Group, Ident, TokenStream, TokenTree};
use quote::{format_ident, quote};
use syn::{GenericParam, Generics, Visibility};
Expand Down

0 comments on commit b6bc986

Please sign in to comment.