diff --git a/Cargo.lock b/Cargo.lock index 3d22f20..28a46a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -958,13 +958,11 @@ version = "0.1.0" dependencies = [ "cosmic-text 0.10.0", "env_logger", - "fontdb 0.15.0", "i18n-embed", "i18n-embed-fl", "lazy_static", "libcosmic", "log", - "mime_guess", "rfd", "rust-embed", "serde", @@ -1757,20 +1755,6 @@ dependencies = [ "ttf-parser 0.19.2", ] -[[package]] -name = "fontdb" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020e203f177c0fb250fb19455a252e838d2bbbce1f80f25ecc42402aafa8cd38" -dependencies = [ - "fontconfig-parser", - "log", - "memmap2 0.8.0", - "slotmap", - "tinyvec", - "ttf-parser 0.19.2", -] - [[package]] name = "fontdb" version = "0.16.0" @@ -3088,15 +3072,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memmap2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a5a03cefb0d953ec0be133036f14e109412fa594edc2f77227249db66cc3ed" -dependencies = [ - "libc", -] - [[package]] name = "memmap2" version = "0.9.0" @@ -3153,16 +3128,6 @@ version = "0.3.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - [[package]] name = "minimal-lexical" version = "0.2.1" @@ -4666,18 +4631,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.192" +version = "1.0.193" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 33e9f47..a949562 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,10 +7,8 @@ license = "GPL-3.0-only" [dependencies] env_logger = "0.10.0" -fontdb = "0.15.0" lazy_static = "1.4.0" log = "0.4.20" -mime_guess = "2" #TODO: this is using gtk for file dialogues rfd = { version = "0.12.0", optional = true } serde = { version = "1", features = ["serde_derive"] }