11[workspace ]
2- members = [" tests" ]
2+ members = [" crates/*" , " tests" ]
3+ default-members = [" crates/svg2pdf-cli" ]
4+ resolver = " 2"
35
46[workspace .package ]
57version = " 0.9.0"
@@ -9,39 +11,3 @@ repository = "https://github.com/typst/svg2pdf"
911readme = " README.md"
1012license = " MIT OR Apache-2.0"
1113
12- [package ]
13- name = " svg2pdf"
14- description = " Convert SVG files to PDFs."
15- categories = [" encoding" , " graphics" , " multimedia" ]
16- keywords = [" svg" , " pdf" , " vector-graphics" , " conversion" ]
17- version.workspace = true
18- authors.workspace = true
19- edition.workspace = true
20- repository.workspace = true
21- license.workspace = true
22-
23- [features ]
24- default = [" image" ]
25- image = [" dep:image" ]
26- cli = [" dep:clap" , " dep:termcolor" , " usvg/text" , " dep:fontdb" ]
27-
28- [lib ]
29- test = false
30- doctest = false
31-
32- [[bin ]]
33- name = " svg2pdf"
34- path = " src/main.rs"
35- required-features = [" cli" ]
36-
37- [dependencies ]
38- miniz_oxide = " 0.7"
39- pdf-writer = " 0.9"
40- usvg = { version = " 0.36" , default-features = false }
41- image = { version = " 0.24" , default-features = false , features = [" jpeg" , " png" , " gif" ], optional = true }
42- termcolor = { version = " 1" , optional = true }
43- clap = { version = " 4.4.2" , features = [" derive" ], optional = true }
44- fontdb = { version = " 0.15" , optional = true }
45-
46- [dev-dependencies ]
47- usvg = { version = " 0.36.0" }
0 commit comments