Skip to content

Commit

Permalink
Use emile.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Sep 18, 2020
1 parent 858abde commit 0a43fba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mailbox.ml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,6 @@ let with_name =

let of_string x = match Emile.of_string x with
| Ok v -> Ok v
| Error `Invalid -> Rresult.R.error_msgf "Invalid email address: %S" x
| Error (`Invalid _) -> Rresult.R.error_msgf "Invalid email address: %S" x

let to_string = Prettym.to_string Encoder.mailbox
2 changes: 1 addition & 1 deletion mrmime.opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ depends: [
"uutf"
"rosetta" {>= "0.3.0"}
"ipaddr"
"emile" {>= "0.8"}
"emile" {>= "1.0"}
"base64" {>= "3.1.0"}
"pecu" {>= "0.4"}
"bigstringaf"
Expand Down

0 comments on commit 0a43fba

Please sign in to comment.