Skip to content

Commit

Permalink
Replace inflector with heck
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull committed May 7, 2023
1 parent 8e32565 commit 026cc32
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{
info_structures::Options,
parse::parse_struct,
};
use inflector::Inflector;
use heck::ToSnakeCase;
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
Original file line number Diff line number Diff line change
@@ -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 026cc32

Please sign in to comment.