🐝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.8 KiB

5 years ago
3 years ago
  1. [package]
  2. name = "meli"
  3. version = "0.7.2"
  4. authors = ["Manos Pitsidianakis <el13635@mail.ntua.gr>"]
  5. edition = "2018"
  6. license = "GPL-3.0-or-later"
  7. readme = "README.md"
  8. description = "terminal mail client"
  9. homepage = "https://meli.delivery"
  10. repository = "https://git.meli.delivery/meli/meli.git"
  11. keywords = ["mail", "mua", "maildir", "terminal", "imap"]
  12. categories = ["command-line-utilities", "email"]
  13. default-run = "meli"
  14. [[bin]]
  15. name = "meli"
  16. path = "src/main.rs"
  17. [lib]
  18. name = "meli"
  19. path = "src/lib.rs"
  20. [[bin]]
  21. name = "managesieve-client"
  22. path = "src/managesieve.rs"
  23. #[[bin]]
  24. #name = "async"
  25. #path = "src/async.rs"
  26. [dependencies]
  27. async-task = "^4.2.0"
  28. bincode = { version = "^1.3.0", default-features = false }
  29. bitflags = "1.0"
  30. crossbeam = { version = "^0.8" }
  31. flate2 = { version = "1.0.16", optional = true }
  32. futures = "0.3.5"
  33. indexmap = { version = "^1.6", features = ["serde-1", ] }
  34. libc = { version = "0.2.125", default-features = false, features = ["extra_traits",] }
  35. linkify = { version = "^0.8", default-features = false }
  36. melib = { path = "melib", version = "0.7.2" }
  37. nix = { version = "^0.24", default-features = false }
  38. notify = { version = "4.0.1", default-features = false } # >:c
  39. num_cpus = "1.12.0"
  40. pcre2 = { version = "0.2.3", optional = true }
  41. serde = "1.0.71"
  42. serde_derive = "1.0.71"
  43. serde_json = "1.0"
  44. signal-hook = { version = "^0.3", default-features = false }
  45. signal-hook-registry = { version = "1.2.0", default-features = false }
  46. smallvec = { version = "^1.5.0", features = ["serde", ] }
  47. structopt = { version = "0.3.14", default-features = false }
  48. svg_crate = { version = "^0.10", optional = true, package = "svg" }
  49. termion = { version = "1.5.1", default-features = false }
  50. toml = { version = "0.5.6", default-features = false, features = ["preserve_order", ] }
  51. unicode-segmentation = "1.2.1" # >:c
  52. xdg = "2.1.0"
  53. [target.'cfg(target_os="linux")'.dependencies]
  54. notify-rust = { version = "^4", default-features = false, features = ["dbus", ], optional = true }
  55. [build-dependencies]
  56. flate2 = { version = "1.0.16", optional = true }
  57. proc-macro2 = "1.0.37"
  58. quote = "^1.0"
  59. syn = { version = "1.0.92", features = [] }
  60. [dev-dependencies]
  61. regex = "1"
  62. [profile.release]
  63. lto = "fat"
  64. codegen-units = 1
  65. opt-level = "s"
  66. debug = false
  67. strip = true
  68. [workspace]
  69. members = ["melib", "tools", ]
  70. [features]
  71. default = ["sqlite3", "notmuch", "regexp", "smtp", "dbus-notifications", "gpgme", "cli-docs"]
  72. notmuch = ["melib/notmuch_backend", ]
  73. jmap = ["melib/jmap_backend",]
  74. sqlite3 = ["melib/sqlite3"]
  75. smtp = ["melib/smtp"]
  76. regexp = ["pcre2"]
  77. dbus-notifications = ["notify-rust",]
  78. cli-docs = ["flate2"]
  79. svgscreenshot = ["svg_crate"]
  80. gpgme = ["melib/gpgme"]
  81. # Print tracing logs as meli runs in stderr
  82. # enable for debug tracing logs: build with --features=debug-tracing
  83. debug-tracing = ["melib/debug-tracing", ]