ev3dev-lang-rust 0.15.1

Rust language bindings for ev3dev
# 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 = "ev3dev-lang-rust"
version = "0.15.1"
authors = ["Lars Westermann <rust@lars-westermann.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust language bindings for ev3dev"
readme = "README.md"
keywords = [
    "ev3",
    "ev3dev",
    "lego",
    "mindstorms",
]
categories = [
    "api-bindings",
    "embedded",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/pixix4/ev3dev-lang-rust"

[package.metadata.docs.rs]
features = [
    "ev3",
    "screen",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
brickpi = []
brickpi3 = []
default = ["ev3"]
ev3 = []
override-driver-path = []
screen = [
    "framebuffer",
    "image",
]

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

[[example]]
name = "button_handlers"
path = "examples/button_handlers.rs"

[[example]]
name = "buttons"
path = "examples/buttons.rs"
required-features = ["ev3"]

[[example]]
name = "color-sensor"
path = "examples/color-sensor.rs"

[[example]]
name = "custom-attributes"
path = "examples/custom-attributes.rs"

[[example]]
name = "infrared-sensor"
path = "examples/infrared-sensor.rs"

[[example]]
name = "motors"
path = "examples/motors.rs"

[[example]]
name = "screen"
path = "examples/screen.rs"
required-features = ["screen"]

[[test]]
name = "brickpi"
path = "tests/brickpi.rs"
required-features = ["brickpi"]

[[test]]
name = "brickpi3"
path = "tests/brickpi3.rs"
required-features = ["brickpi3"]

[[test]]
name = "ev3"
path = "tests/ev3.rs"
required-features = ["ev3"]

[[test]]
name = "override-driver-path"
path = "tests/override-driver-path.rs"
required-features = ["override-driver-path"]

[dependencies.ev3dev-lang-rust-derive]
version = "0.10"

[dependencies.framebuffer]
version = "0.3"
optional = true

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

[dependencies.libc]
version = "0.2"

[dependencies.paste]
version = "1.0"

[profile.release]
opt-level = "z"
lto = true
strip = "debuginfo"