# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mstickerlib" version = "0.3.1" include = [ "/src/**/*.rs", "/LICENSE", "/README.md", ] description = "Private implementation detail of mstickereditor" license = "Apache-2.0" repository = "https://github.com/LuckyTurtleDev/mstickereditor" resolver = "1" [package.metadata.cargo-all-features] denylist = ["ffmpeg-build"] [profile.release] opt-level = 3 lto = true [dependencies.anyhow] version = "1.0" [dependencies.derive-getters] version = "0.3.0" [dependencies.ffmpeg] version = "7.0" optional = true package = "ffmpeg-next" [dependencies.flate2] version = "1.0" [dependencies.futures-util] version = "0.3.25" [dependencies.generic-array] version = "0.14" features = ["serde"] [dependencies.gif] version = "0.12.0" optional = true default-features = false [dependencies.indexmap] version = "2.0" features = ["serde"] [dependencies.log] version = "0.4.17" optional = true [dependencies.lottieconv] version = "0.3.0" features = ["serde"] optional = true [dependencies.monostate] version = "0.1" [dependencies.once_cell] version = "1.8" [dependencies.rayon] version = "1.5" [dependencies.reqwest] version = "0.12.3" features = [ "json", "rustls-tls", ] default-features = false [dependencies.serde] version = "1.0.184" features = ["derive"] [dependencies.serde-big-array] version = "0.5" [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" [dependencies.strum_macros] version = "0.26" [dependencies.tempfile] version = "3.2" optional = true [dependencies.thiserror] version = "1.0.57" [dependencies.tokio] version = "1.21" features = [ "fs", "parking_lot", "sync", ] [dependencies.tokio-stream] version = "0.1" features = ["io-util"] default-features = false [dependencies.url] version = "2.2" [dependencies.webp-animation] version = "0.9" optional = true default-features = false [dev-dependencies.tokio] version = "1.21" features = ["macros"] [build-dependencies.rustc_version] version = "0.4.0" [features] default = [ "ffmpeg", "log", "lottie", ] ffmpeg = [ "dep:ffmpeg", "dep:tempfile", "dep:webp-animation", ] ffmpeg-build = [ "ffmpeg", "ffmpeg/build", ] log = ["dep:log"] lottie = [ "dep:lottieconv", "dep:tempfile", "dep:webp-animation", "dep:gif", ] [lints.rust] async_fn_in_trait = "allow"