mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
I would like to implement https://github.com/deltachat/deltachat-core-rust/issues/5422 in its own crate, but it will depend on some functions that are in the `deltachat` crate. So, this PR extracts these functions into its own crate so that I can add https://github.com/deltachat/deltachat-core-rust/issues/5422 into the new crate.
19 lines
717 B
TOML
19 lines
717 B
TOML
[package]
|
|
name = "deltachat-contact-tools"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Contact-related tools, like parsing vcards and sanitizing name and address"
|
|
license = "MPL-2.0"
|
|
# TODO maybe it should be called "deltachat-text-utils" or similar?
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
regex = { workspace = true }
|
|
rusqlite = { workspace = true } # Needed in order to `impl rusqlite::types::ToSql for EmailAddress`. Could easily be put behind a feature.
|
|
|
|
[dev-dependencies]
|
|
anyhow = { workspace = true, features = ["backtrace"] } # Enable `backtrace` feature in tests.
|