diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/rust/image/Cargo.toml | 90 | ||||
-rw-r--r-- | third_party/rust/image/Cargo.toml.public-private-dependencies | 58 |
2 files changed, 148 insertions, 0 deletions
diff --git a/third_party/rust/image/Cargo.toml b/third_party/rust/image/Cargo.toml new file mode 100644 index 0000000000..e774254d1e --- /dev/null +++ b/third_party/rust/image/Cargo.toml @@ -0,0 +1,90 @@ +# 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 believe there's an error in this file please file an +# issue against the rust-lang/cargo repository. If you're +# editing this file be aware that the upstream Cargo.toml +# will likely look very different (and much more reasonable) + +[package] +edition = "2018" +name = "image" +version = "0.23.0" +authors = ["The image-rs Developers"] +exclude = ["src/png/testdata/*", "examples/*", "tests/*"] +description = "Imaging library written in Rust. Provides basic filters and decoders for the most common image formats." +homepage = "https://github.com/image-rs/image" +documentation = "https://docs.rs/image" +readme = "README.md" +categories = ["multimedia::images", "multimedia::encoding"] +license = "MIT" +repository = "https://github.com/image-rs/image" + +[lib] +name = "image" +path = "./src/lib.rs" +[dependencies.bytemuck] +version = "1" + +[dependencies.byteorder] +version = "1.3.2" + +[dependencies.gif] +version = "0.10.0" +optional = true + +[dependencies.jpeg] +version = "0.1" +optional = true +default-features = false +package = "jpeg-decoder" + +[dependencies.num-iter] +version = "0.1.32" + +[dependencies.num-rational] +version = "0.2.1" +default-features = false + +[dependencies.num-traits] +version = "0.2.0" + +[dependencies.png] +version = "0.15.2" +optional = true + +[dependencies.scoped_threadpool] +version = "0.1" +optional = true + +[dependencies.tiff] +version = "0.4.0" +optional = true +[dev-dependencies.crc32fast] +version = "1.2.0" + +[dev-dependencies.glob] +version = "0.3" + +[dev-dependencies.num-complex] +version = "0.2.0" + +[dev-dependencies.quickcheck] +version = "0.9" + +[features] +benchmarks = [] +bmp = [] +dds = ["dxt"] +default = ["gif", "jpeg", "ico", "png", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "dds", "jpeg_rayon"] +dxt = [] +hdr = ["scoped_threadpool"] +ico = ["bmp", "png"] +jpeg_rayon = ["jpeg/rayon"] +pnm = [] +tga = [] +webp = [] diff --git a/third_party/rust/image/Cargo.toml.public-private-dependencies b/third_party/rust/image/Cargo.toml.public-private-dependencies new file mode 100644 index 0000000000..3d0a4462c7 --- /dev/null +++ b/third_party/rust/image/Cargo.toml.public-private-dependencies @@ -0,0 +1,58 @@ +cargo-features = ["public-dependency"] + +[package] +name = "image" +version = "0.23.0-preview.0" +edition = "2018" +license = "MIT" +description = "Imaging library written in Rust. Provides basic filters and decoders for the most common image formats." +authors = ["The image-rs Developers"] +readme = "README.md" +documentation = "https://docs.rs/image" +repository = "https://github.com/image-rs/image" +homepage = "https://github.com/image-rs/image" +categories = ["multimedia::images", "multimedia::encoding"] +exclude = [ + "src/png/testdata/*", + "examples/*", + "tests/*", +] + +[lib] +name = "image" +path = "./src/lib.rs" + +[dependencies] +# Not yet public. +bytemuck = "1" +byteorder = "1.3.2" +num-iter = "0.1.32" +num-rational = "0.2.1" +# Public due to Pixel, otherwise quite useless. +num-traits = { version = "0.2.0", public = true } +gif = { version = "0.10.0", optional = true } +jpeg = { package = "jpeg-decoder", version = "0.1", default-features = false, optional = true } +png = { version = "0.15.2", optional = true } +scoped_threadpool = { version = "0.1", optional = true } +tiff = { version = "0.4.0", optional = true } + +[dev-dependencies] +crc32fast = "1.2.0" +num-complex = "0.2.0" +glob = "0.3" +quickcheck = "0.9" + +[features] +default = ["gif", "jpeg", "ico", "png", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "dds", "jpeg_rayon"] + +ico = ["bmp", "png"] +pnm = [] +tga = [] +webp = [] +bmp = [] +hdr = ["scoped_threadpool"] +dxt = [] +dds = ["dxt"] +jpeg_rayon = ["jpeg/rayon"] + +benchmarks = [] |