From 4055602f7afe96b09f766c5d53b16b12e3123a02 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 10 Oct 2020 23:13:18 +0100 Subject: [PATCH] Drop dependencies which were there for bundle sources only Signed-off-by: Ian Jackson --- Cargo.lock.example | 377 --------------------------------------------- Cargo.toml | 4 - 2 files changed, 381 deletions(-) diff --git a/Cargo.lock.example b/Cargo.lock.example index 19de0148..c0e8b507 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -192,23 +192,6 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" -[[package]] -name = "bundle-sources" -version = "0.1.0" -dependencies = [ - "anyhow", - "cargo_metadata", - "fehler", - "htmlescape", - "percent-encoding 2.1.0", - "serde", - "serde_json", - "structopt", - "tempfile", - "thiserror", - "toml 0.5.6", -] - [[package]] name = "byte-tools" version = "0.3.1" @@ -221,25 +204,11 @@ version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" -[[package]] -name = "cargo_metadata" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e708746e51dfaeff27c6c3979a4005a7faddabe40144204a0b1ce5ad34a1d0a5" -dependencies = [ - "semver", - "serde", - "serde_json", -] - [[package]] name = "cc" version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed67cbde08356238e75fc4656be4749481eeffb09e19f320a25237d5221c985d" -dependencies = [ - "jobserver", -] [[package]] name = "cfg-if" @@ -260,19 +229,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "clap" -version = "2.33.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" -dependencies = [ - "bitflags", - "strsim", - "term_size", - "textwrap", - "unicode-width", -] - [[package]] name = "cookie" version = "0.11.3" @@ -289,15 +245,6 @@ dependencies = [ "time", ] -[[package]] -name = "crc32fast" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" -dependencies = [ - "cfg-if", -] - [[package]] name = "crypto-mac" version = "0.7.0" @@ -318,15 +265,6 @@ dependencies = [ "syn 1.0.43", ] -[[package]] -name = "data-url" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d33fe99ccedd6e84bc035f1931bb2e6be79739d6242bd895e7311c886c50dc9c" -dependencies = [ - "matches", -] - [[package]] name = "delegate" version = "0.4.3" @@ -470,18 +408,6 @@ dependencies = [ "winapi 0.3.9", ] -[[package]] -name = "flate2" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da80be589a72651dcda34d8b35bcdc9b7254ad06325611074d9cc0fbb19f60ee" -dependencies = [ - "cfg-if", - "crc32fast", - "libc", - "miniz_oxide", -] - [[package]] name = "flexi_logger" version = "0.15.12" @@ -500,24 +426,6 @@ dependencies = [ "yansi", ] -[[package]] -name = "float-cmp" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75224bec9bfe1a65e2d34132933f2de7fe79900c96a0174307554244ece8150e" - -[[package]] -name = "fontdb" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afa64e442fe4adbae6edd55ab3ebe905a858208db2aa12ab204e261890b69fd5" -dependencies = [ - "log 0.4.11", - "memmap2", - "ttf-parser", - "uuid", -] - [[package]] name = "fs2" version = "0.4.3" @@ -645,15 +553,6 @@ dependencies = [ "serde", ] -[[package]] -name = "heck" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "hermit-abi" version = "0.1.17" @@ -827,15 +726,6 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" -[[package]] -name = "jobserver" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2" -dependencies = [ - "libc", -] - [[package]] name = "kernel32-sys" version = "0.2.2" @@ -846,15 +736,6 @@ dependencies = [ "winapi-build", ] -[[package]] -name = "kurbo" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9be561444b7e4c4ac33b4fa36af1f996ccca1f14840ea1a09ba034289502ed" -dependencies = [ - "arrayvec", -] - [[package]] name = "language-tags" version = "0.2.2" @@ -915,15 +796,6 @@ version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400" -[[package]] -name = "memmap2" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b70ca2a6103ac8b665dc150b142ef0e4e89df640c9e6cf295d189c3caebe5a" -dependencies = [ - "libc", -] - [[package]] name = "mime" version = "0.2.6" @@ -1084,7 +956,6 @@ dependencies = [ "anyhow", "argparse", "arrayvec", - "bundle-sources", "delegate", "failure", "fehler", @@ -1119,7 +990,6 @@ dependencies = [ "toml 0.5.6", "typetag", "uds", - "usvg", "vecdeque-stableix", ] @@ -1218,12 +1088,6 @@ dependencies = [ "sha-1", ] -[[package]] -name = "pico-args" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b9b4df73455c861d7cbf8be42f01d3b373ed7f02e378d55fa84eafc6f638b1" - [[package]] name = "polyval" version = "0.3.3" @@ -1240,30 +1104,6 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20" -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.43", - "version_check 0.9.2", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2 1.0.24", - "quote 1.0.7", - "version_check 0.9.2", -] - [[package]] name = "proc-macro2" version = "0.4.30" @@ -1351,12 +1191,6 @@ dependencies = [ "rand_core", ] -[[package]] -name = "rctree" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be9e29cb19c8fe84169fcb07f8f11e66bc9e6e0280efd4715c54818296f8a4a8" - [[package]] name = "redox_syscall" version = "0.1.57" @@ -1381,15 +1215,6 @@ version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26412eb97c6b088a6997e05f69403a802a92d520de2f8e63c2b65f9e0f47c4e8" -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi 0.3.9", -] - [[package]] name = "rental" version = "0.5.5" @@ -1513,31 +1338,12 @@ dependencies = [ "unicode-xid 0.1.0", ] -[[package]] -name = "roxmltree" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17dfc6c39f846bfc7d2ec442ad12055d79608d501380789b965d22f9354451f2" -dependencies = [ - "xmlparser", -] - [[package]] name = "rustc-demangle" version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2610b7f643d18c87dff3b489950269617e6601a51f1f05aa5daefee36f64f0b" -[[package]] -name = "rustybuzz" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "587e0c54f676a15df40c5fe5ea98da021000fe73762ace644d0ce4c5e3e80812" -dependencies = [ - "bitflags", - "cc", -] - [[package]] name = "ryu" version = "1.0.5" @@ -1559,22 +1365,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "semver" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "394cec28fa623e00903caf7ba4fa6fb9a0e260280bb8cdbbba029611108a0190" -dependencies = [ - "semver-parser", - "serde", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - [[package]] name = "serde" version = "1.0.116" @@ -1630,21 +1420,6 @@ dependencies = [ "opaque-debug", ] -[[package]] -name = "simplecss" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "596554e63596d556a0dbd681416342ca61c75f1a45203201e7e77d3fa2fa9014" -dependencies = [ - "log 0.4.11", -] - -[[package]] -name = "siphasher" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac" - [[package]] name = "slab" version = "0.4.2" @@ -1687,36 +1462,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7345c971d1ef21ffdbd103a75990a15eb03604fc8b8852ca8cb418ee1a099028" -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "structopt" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a7159e7d0dbcab6f9c980d7971ef50f3ff5753081461eeda120d5974a4ee95" -dependencies = [ - "clap", - "lazy_static", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc47de4dfba76248d1e9169ccff240eea2a4dc1e34e309b95b2393109b4b383" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2 1.0.24", - "quote 1.0.7", - "syn 1.0.43", -] - [[package]] name = "subtle" version = "1.0.0" @@ -1729,16 +1474,6 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "343f3f510c2915908f155e94f17220b19ccfacf2a64a2a5d8004f2c3e311e7fd" -[[package]] -name = "svgtypes" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c536faaff1a10837cfe373142583f6e27d81e96beba339147e77b67c9f260ff" -dependencies = [ - "float-cmp", - "siphasher", -] - [[package]] name = "syn" version = "0.15.44" @@ -1773,20 +1508,6 @@ dependencies = [ "unicode-xid 0.2.1", ] -[[package]] -name = "tempfile" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" -dependencies = [ - "cfg-if", - "libc", - "rand", - "redox_syscall", - "remove_dir_all", - "winapi 0.3.9", -] - [[package]] name = "tera" version = "0.11.20" @@ -1808,26 +1529,6 @@ dependencies = [ "url 1.7.2", ] -[[package]] -name = "term_size" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9" -dependencies = [ - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "term_size", - "unicode-width", -] - [[package]] name = "thiserror" version = "1.0.21" @@ -1898,12 +1599,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" -[[package]] -name = "ttf-parser" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e5d7cd7ab3e47dda6e56542f4bbf3824c15234958c6e1bd6aaa347e93499fdc" - [[package]] name = "typeable" version = "0.1.2" @@ -2051,30 +1746,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-script" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79bf4d5fc96546fdb73f9827097810bbda93b11a6770ff3a54e1f445d4135787" - -[[package]] -name = "unicode-segmentation" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0" - -[[package]] -name = "unicode-vo" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94" - -[[package]] -name = "unicode-width" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" - [[package]] name = "unicode-xid" version = "0.1.0" @@ -2119,42 +1790,6 @@ dependencies = [ "percent-encoding 2.1.0", ] -[[package]] -name = "usvg" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83ccafe45031f8b566d1603f2c03876c90111ffd53341b3423b545373572bfed" -dependencies = [ - "base64 0.12.3", - "data-url", - "flate2", - "fontdb", - "kurbo", - "log 0.4.11", - "memmap2", - "pico-args", - "rctree", - "roxmltree", - "rustybuzz", - "simplecss", - "siphasher", - "svgtypes", - "ttf-parser", - "unicode-bidi", - "unicode-script", - "unicode-vo", - "xmlwriter", -] - -[[package]] -name = "uuid" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11" -dependencies = [ - "rand", -] - [[package]] name = "vecdeque-stableix" version = "1.0.0" @@ -2306,18 +1941,6 @@ dependencies = [ "winapi-build", ] -[[package]] -name = "xmlparser" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "114ba2b24d2167ef6d67d7d04c8cc86522b87f490025f39f0303b7db5bf5e3d8" - -[[package]] -name = "xmlwriter" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9" - [[package]] name = "yansi" version = "0.5.0" diff --git a/Cargo.toml b/Cargo.toml index ba01bda7..74101c89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,8 +28,6 @@ otter-zcoord = { path = "zcoord" } anyhow = "1" thiserror = "1" -usvg = "0.11" - itertools = "0.9" rand = "0" @@ -83,8 +81,6 @@ toml = "0.5" rocket_cors = "0.5" -bundle-sources = "0" - arrayvec = "0" #rocket = "0.4" -- 2.30.2