# 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 = "pixel_caster" version = "1.1.0" authors = ["IVAN MK7 "] description = "Cast pixels to and from the screen by managing their RGBA values. Import characters from .png files" readme = "README.md" keywords = [ "screen", "cast", "retrieve", "pixel", "RGBA", ] categories = ["os::windows-apis"] license = "MIT" repository = "https://github.com/IVAN-MK7/pixel_caster/" [lib] name = "pixel_caster" path = "src/lib.rs" [[example]] name = "get_pixels_bytes" path = "examples/get_pixels_bytes.rs" [[example]] name = "send_bytes_to_pixels" path = "examples/send_bytes_to_pixels.rs" [[example]] name = "clone_pixels_on_screen" path = "examples/clone_pixels_on_screen.rs" [[example]] name = "send_bytes_to_pixels_with_max_alpha" path = "examples/send_bytes_to_pixels_with_max_alpha.rs" [[example]] name = "send_pixels_hiding_specific_color" path = "examples/send_pixels_hiding_specific_color.rs" [[example]] name = "text_from_png_chars_sample_to_screen" path = "examples/text_from_png_chars_sample_to_screen.rs" [[test]] name = "performance_test" path = "tests/performance_test.rs" [dependencies.image] version = "0.25.2" optional = true [dependencies.lazy_static] version = "1.5.0" optional = true [dependencies.libc] version = "0.2.158" [dependencies.serde] version = "1.0.209" features = ["derive"] [dependencies.windows] version = "0.58.0" features = [ "Win32_Graphics", "Win32_Graphics_Gdi", "Win32_Foundation", "Win32_UI_WindowsAndMessaging", ] [dev-dependencies.eager] version = "0.1.0" [dev-dependencies.paste] version = "1.0.15" [features] default = ["pixels_string"] pixels_string = [ "dep:image", "dep:lazy_static", ]