Skip to content

Commit

Permalink
Merge pull request #14 from jayvdb/update-derive-more
Browse files Browse the repository at this point in the history
Update to derive_more v1.0
  • Loading branch information
Mnwa authored Aug 17, 2024
2 parents fe03929 + fdfb54d commit d5c401c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions css-minify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ license = "Apache-2.0/MIT"

[dependencies]
nom = "7"
derive_more = "0.99"
indexmap = "1"
derive_more = { version = "1.0", features = ["from", "deref", "deref_mut", "display", "into"] }
indexmap = "1"
4 changes: 2 additions & 2 deletions css-minify/src/structure.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use derive_more::{Deref, DerefMut, Display, From, Into};
use derive_more::{Deref, DerefMut, Display as DeriveDisplay, From, Into};
use indexmap::map::IndexMap;
use std::fmt::Display;
use std::fmt::Formatter;
Expand Down Expand Up @@ -79,7 +79,7 @@ pub enum At {
Charset(CharsetAt),
}

#[derive(Clone, Eq, PartialEq, Debug, From, Display)]
#[derive(Clone, Eq, PartialEq, Debug, From, DeriveDisplay)]
pub enum CssEntity {
Block(Block),
Media(Media),
Expand Down

0 comments on commit d5c401c

Please sign in to comment.