mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 06:22:24 +00:00
#991 (craft-codepage) was squash-merged from a branch that predated #961 and carried its older crates/rtf/Cargo.toml, dropping the outlook feature, its craft-mime dependency and the proptest dev-dependency; the outlook module was left behind an undefined cfg. #1028 did the same to crates/webp/Cargo.toml after #1021, dropping the vp8 feature and its craft-video dependency.
27 lines
867 B
TOML
27 lines
867 B
TOML
[package]
|
|
name = "craft-rtf"
|
|
description = "Rich Text Format: a tokenizer, text decoding in the file's code pages, and a reader and writer for a small neutral model (paragraphs, character formatting, outline levels, tables)."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# `outlook`: compressed RTF ([MS-OXRTFCP]) and the text or encapsulated HTML ([MS-OXRTFEX]) of a
|
|
# mail item's body.
|
|
outlook = ["dep:craft-mime"]
|
|
|
|
[dependencies]
|
|
craft-codepage = { workspace = true }
|
|
# Character sets by Windows code page number, for the `outlook` module.
|
|
craft-mime = { workspace = true, optional = true }
|
|
# The East Asian multibyte code pages (932, 936, 949, 950).
|
|
encoding_rs = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
proptest = { workspace = true }
|