pixel_caster 1.2.1

Cast pixels to and from the screen by managing their RGBA values. Import characters from .png files
# 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 = "2024"
name = "pixel_caster"
version = "1.2.1"
authors = ["IVAN MK7 <ivan@mk7.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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/"

[features]
default = ["pixels_string"]
pixels_string = [
    "dep:image",
    "dep:lazy_static",
]

[lib]
name = "pixel_caster"
path = "src/lib.rs"

[[bin]]
name = "main"
path = "src/main.rs"

[[example]]
name = "clone_pixels_on_screen"
path = "examples/clone_pixels_on_screen.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 = "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 = "integration_test"
path = "tests/integration_test.rs"

[dependencies.image]
version = "0.25.9"
optional = true

[dependencies.lazy_static]
version = "1.5.0"
optional = true

[dependencies.libc]
version = "0.2.180"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Graphics",
    "Win32_Graphics_Gdi",
    "Win32_Foundation",
    "Win32_UI_WindowsAndMessaging",
]

[dev-dependencies.serial_test]
version = "3.3.1"

[profile.release]
lto = "fat"
codegen-units = 1