# 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 = "vex-v5-serial" version = "0.2.2" authors = [ "vexide", "Gavin Niederman ", "Tropical", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library for communicating with VEX V5 Brains" readme = "README.md" license = "MIT" repository = "https://github.com/vexide/vex-v5-serial" [lib] name = "vex_v5_serial" path = "src/lib.rs" [[example]] name = "bluetooth" path = "examples/bluetooth.rs" [[example]] name = "devices" path = "examples/devices.rs" [[example]] name = "product" path = "examples/product.rs" [[example]] name = "screen" path = "examples/screen.rs" [[example]] name = "set_team" path = "examples/set_team.rs" [[example]] name = "timed_run" path = "examples/timed_run.rs" [[example]] name = "upload_program" path = "examples/upload_program.rs" [dependencies.bitflags] version = "2.5.0" [dependencies.btleplug] version = "0.11.5" optional = true [dependencies.crc] version = "3.0.0" [dependencies.flate2] version = "1.0.30" optional = true [dependencies.futures] version = "0.3.30" optional = true [dependencies.image] version = "0.25.1" optional = true [dependencies.log] version = "0.4.21" [dependencies.serde] version = "1.0.203" features = ["derive"] optional = true [dependencies.serde_bytes] version = "0.11.15" optional = true [dependencies.serde_ini] version = "0.2.0" optional = true [dependencies.serialport] version = "4.5.0" features = ["usbportinfo-interface"] optional = true [dependencies.thiserror] version = "1.0.37" [dependencies.tokio] version = "1.23.0" features = ["full"] optional = true [dependencies.tokio-serial] version = "5.4.4" optional = true default-features = false [dependencies.tokio-stream] version = "0.1.11" optional = true [dependencies.uuid] version = "1.8.0" optional = true [dev-dependencies.rustyline] version = "14.0.0" [dev-dependencies.simplelog] version = "0.12.2" [features] bluetooth = [ "connection", "dep:btleplug", "dep:futures", "dep:tokio", "dep:tokio-stream", "dep:uuid", ] connection = [ "dep:serde_ini", "dep:serde", "dep:flate2", ] default = [ "serial", "bluetooth", "screen-command", ] screen-command = ["dep:image"] serde_bytes = ["dep:serde_bytes"] serial = [ "connection", "dep:tokio", "dep:tokio-serial", "dep:serialport", ]