2022-10-18 01:02:38 +03:00
[ workspace ]
2023-07-02 20:59:52 +03:00
members = [ "crates/*" , "tests" ]
default-members = [ "crates/typst-cli" ]
2023-08-25 18:57:15 +03:00
resolver = "2"
2022-11-03 18:13:35 +03:00
2023-05-03 11:37:44 +03:00
[ workspace . package ]
2023-12-04 17:07:36 +03:00
version = "0.10.0"
2023-06-07 15:42:58 +03:00
rust-version = "1.70" # also change in ci.yml
2023-05-03 11:37:44 +03:00
authors = [ "The Typst Project Developers" ]
edition = "2021"
homepage = "https://typst.app"
repository = "https://github.com/typst/typst"
readme = "README.md"
license = "Apache-2.0"
2023-11-08 14:56:35 +03:00
categories = [ "compilers" ]
keywords = [ "typst" ]
[ workspace . dependencies ]
typst = { path = "crates/typst" }
2023-11-08 16:32:42 +03:00
typst-cli = { path = "crates/typst-cli" }
typst-docs = { path = "crates/typst-docs" }
typst-ide = { path = "crates/typst-ide" }
2023-11-08 14:56:35 +03:00
typst-macros = { path = "crates/typst-macros" }
2023-11-08 16:32:42 +03:00
typst-pdf = { path = "crates/typst-pdf" }
2023-11-08 15:11:11 +03:00
typst-render = { path = "crates/typst-render" }
2023-11-08 15:21:25 +03:00
typst-svg = { path = "crates/typst-svg" }
2023-11-08 14:56:35 +03:00
typst-syntax = { path = "crates/typst-syntax" }
az = "1.2"
base64 = "0.21.2"
bitflags = { version = "2" , features = [ "serde" ] }
bytemuck = "1"
chinese-number = { version = "0.7.2" , default-features = false , features = [ "number-to-chinese" ] }
chrono = { version = "0.4.24" , default-features = false , features = [ "clock" , "std" ] }
ciborium = "0.2.1"
clap = { version = "4.4" , features = [ "derive" , "env" ] }
clap_complete = "4.2.1"
clap_mangen = "0.2.10"
codespan-reporting = "0.11"
2023-11-27 18:44:52 +03:00
comemo = "0.3.1"
2023-11-08 14:56:35 +03:00
csv = "1"
dirs = "5"
ecow = { version = "0.2" , features = [ "serde" ] }
env_proxy = "0.4"
flate2 = "1"
fontdb = { version = "0.15" , default-features = false }
2023-11-29 20:40:47 +03:00
hayagriva = "0.5.1"
2023-11-08 14:56:35 +03:00
heck = "0.4"
hypher = "0.1.4"
2023-11-08 14:59:48 +03:00
iai = { git = "https://github.com/typst/iai" , rev = "3f0f927" }
2023-11-27 19:16:42 +03:00
icu_properties = { version = "1.4" , features = [ "serde" ] }
icu_provider = { version = "1.4" , features = [ "sync" ] }
icu_provider_adapters = "1.4"
icu_provider_blob = "1.4"
icu_segmenter = { version = "1.4" , features = [ "serde" ] }
2023-11-08 14:56:35 +03:00
if_chain = "1"
image = { version = "0.24" , default-features = false , features = [ "png" , "jpeg" , "gif" ] }
include_dir = "0.7"
indexmap = { version = "2" , features = [ "serde" ] }
inferno = "0.11.15"
kurbo = "0.9"
lipsum = "0.9"
log = "0.4"
miniz_oxide = "0.7"
notify = "6"
once_cell = "1"
2023-11-24 13:38:35 +03:00
open = "5.0.1"
2023-11-27 19:16:42 +03:00
oxipng = { version = "9.0" , default-features = false , features = [ "filetime" , "parallel" , "zopfli" ] }
2023-11-08 14:56:35 +03:00
palette = { version = "0.7.3" , default-features = false , features = [ "approx" , "libm" ] }
pathdiff = "0.2"
pdf-writer = "0.9.2"
pixglyph = "0.2"
proc-macro2 = "1"
pulldown-cmark = "0.9"
quote = "1"
rayon = "1.7.0"
regex = "1"
resvg = { version = "0.36.0" , default-features = false , features = [ "raster-images" ] }
roxmltree = "0.18"
rustls = "0.21"
rustls-pemfile = "1"
rustybuzz = "0.10"
same-file = "1"
2023-11-08 14:59:52 +03:00
self-replace = "1.3.7"
2023-11-08 14:56:35 +03:00
semver = "1"
serde = { version = "1.0.184" , features = [ "derive" ] }
serde_json = "1"
serde_yaml = "0.9"
2023-11-27 18:44:52 +03:00
siphasher = "1"
2023-11-08 14:56:35 +03:00
smallvec = { version = "1.11.1" , features = [ "union" , "const_generics" , "const_new" ] }
2023-11-08 16:32:42 +03:00
stacker = "0.1.15"
2023-11-08 14:56:35 +03:00
subsetter = "0.1.1"
2023-11-29 18:28:50 +03:00
svg2pdf = "0.9.1"
2023-11-08 14:56:35 +03:00
syn = { version = "2" , features = [ "full" , "extra-traits" ] }
syntect = { version = "5" , default-features = false , features = [ "parsing" , "regex-fancy" , "plist-load" , "yaml-load" ] }
tar = "0.4"
tempfile = "3.7.0"
time = { version = "0.3.20" , features = [ "formatting" , "macros" , "parsing" ] }
tiny-skia = "0.11"
2023-11-23 18:25:49 +03:00
toml = { version = "0.8" , default-features = false , features = [ "parse" , "display" ] }
2023-11-08 14:56:35 +03:00
tracing = "0.1.37"
tracing-error = "0.2"
tracing-flame = "0.2.0"
tracing-subscriber = "0.3.17"
ttf-parser = "0.19.2"
typed-arena = "2"
2023-11-27 19:16:42 +03:00
unicode_names2 = "1.2"
2023-11-08 14:56:35 +03:00
unicode-bidi = "0.3.13"
unicode-ident = "1.0"
unicode-math-class = "0.1"
unicode-properties = "0.1"
unicode-script = "0.5"
unicode-segmentation = "1"
unscanny = "0.1"
ureq = "2"
usvg = { version = "0.36" , default-features = false , features = [ "text" ] }
walkdir = "2"
wasmi = "0.31.0"
xmlparser = "0.13.5"
xmlwriter = "0.1.0"
xmp-writer = "0.2"
xz2 = "0.1"
yaml-front-matter = "0.1"
2023-11-19 15:04:11 +03:00
zip = { version = "0.6" , default-features = false , features = [ "deflate" ] }
2023-05-20 22:56:19 +03:00
2022-01-24 18:38:34 +03:00
[ profile . dev . package . "*" ]
2022-11-03 13:44:53 +03:00
opt-level = 2
2023-03-24 11:08:58 +03:00
2023-03-30 00:13:03 +03:00
[ profile . release ]
lto = "thin"
codegen-units = 1
2023-03-24 11:08:58 +03:00
[ profile . release . package . "typst-cli" ]
strip = true
2023-11-27 13:34:14 +03:00
[ workspace . lints . clippy ]
uninlined_format_args = "warn"