# 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 = "prinThor" version = "0.0.3" authors = ["Carlos Barrales Ruiz "] exclude = [ "datasheets", "design", "package-publish-trick", ] description = "The highly reliable but not necessarily functional 3D Printer firmware" documentation = "https://docs.rs/printhor" readme = "README.md" license = "MIT" repository = "https://github.com/cbruiz/printhor" [profile.dev] lto = true codegen-units = 1 debug = 2 debug-assertions = true panic = "unwind" incremental = false strip = false [profile.release] opt-level = "s" lto = true codegen-units = 1 debug = 2 debug-assertions = false panic = "abort" incremental = false strip = false [profile.release-opt] opt-level = "s" lto = true codegen-units = 1 debug = 0 debug-assertions = false panic = "abort" overflow-checks = false incremental = false inherits = "release" strip = false [dependencies.alloc-cortex-m] version = "0.4.4" optional = true [dependencies.async-gcode] version = "0.3" features = [ "parse-trailing-comment", "optional-value", "string-value", ] default-features = false [dependencies.bitflags] version = "2.4.1" features = [] default-features = false [dependencies.const_env] version = "0.1" [dependencies.cortex-m] version = "0.7.7" features = [ "inline-asm", "critical-section-single-core", ] optional = true [dependencies.cortex-m-rt] version = "0.7.3" optional = true [dependencies.cstr_core] version = "0.2.6" features = ["alloc"] optional = true default-features = false [dependencies.defmt] version = "0.3.5" optional = true [dependencies.defmt-rtt] version = "0.4.0" optional = true [dependencies.display-interface-parallel-gpio] version = "0.6.0" optional = true default-features = false [dependencies.embassy-embedded-hal] version = "0.1.0" features = [] optional = true [dependencies.embassy-executor] version = "0.5.0" features = [] optional = true default-features = false [dependencies.embassy-futures] version = "0.1.1" features = [] [dependencies.embassy-stm32] version = "0.1.0" features = [] optional = true default-features = false [dependencies.embassy-sync] version = "0.5.0" features = [] [dependencies.embassy-time] version = "0.3.0" features = [] [dependencies.embedded-graphics] version = "0.7.1" optional = true [dependencies.embedded-graphics-core] version = "0.3.3" optional = true [dependencies.embedded-hal] version = "1.0.0" optional = true default-features = false [dependencies.embedded-hal-02] version = "0.2.7" features = ["unproven"] package = "embedded-hal" [dependencies.embedded-io-async] version = "0.6.1" features = [] default-features = false [dependencies.embedded-sdmmc] version = "0.5.0" optional = true default-features = false [dependencies.futures] version = "0.3.30" features = [] default-features = false [dependencies.gnuplot] version = "0.0.39" features = [] optional = true default-features = false [dependencies.heapless] version = "0.8.0" features = [] default-features = false [dependencies.ili9341] version = "0.5.0" optional = true default-features = false [dependencies.lvgl] version = "0.5.2" features = [] optional = true default-features = false [dependencies.micromath] version = "2.1.0" features = [] default-features = false [dependencies.num-traits] version = "0.2.17" features = [] default-features = false [dependencies.panic-probe] version = "0.3.1" features = ["print-defmt"] optional = true [dependencies.pid] version = "4.0.0" features = [] default-features = false [dependencies.printhor-hwa-common] version = "0.0.3" features = [] default-features = false [dependencies.printhor-hwi_mks_robin_nano] version = "0.0.3" optional = true [dependencies.printhor-hwi_native] version = "0.0.3" optional = true [dependencies.printhor-hwi_nucleo_64_arduino_cnc_hat] version = "0.0.3" optional = true [dependencies.printhor-hwi_skr_mini_e3] version = "0.0.3" optional = true [dependencies.rust_decimal] version = "1.33.1" features = [ "maths", "serde-with-str", ] default-features = false [dependencies.rust_decimal_macros] version = "1.33.1" [dependencies.strum] version = "0.25.0" features = ["derive"] default-features = false [dependencies.tmc2209] version = "0.2.2" optional = true [build-dependencies] [features] _arch = [] arch-std = [] default = ["native"] fixed-point-128-impl = [] float-point-f32-impl = [] float-point-f64-impl = [] has-extruder = [] ili9341_parallel = [] ili9341_spi = [] integration-test = [ "integration-test-power-on", "integration-test-homing", "integration-test-move-ortho", "integration-test-move-oblique", "integration-test-move-boundaries", "plot-timings", ] integration-test-benchy = [] integration-test-dwell = [] integration-test-homing = [] integration-test-laser-engrave = [] integration-test-m100 = [] integration-test-move-boundaries = [] integration-test-move-oblique = [] integration-test-move-ortho = [] integration-test-power-on = [] integration-test-set-hotend-temp = [] mks_robin_nano = [ "has-extruder", "with-defmt", "printhor-hwi_mks_robin_nano/with-defmt", "with-trinamic", "trinamic-uart-multi-channel", "printhor-hwi_mks_robin_nano/with-trinamic", "with-motion", "printhor-hwi_mks_robin_nano/with-motion", "printhor-hwa-common/with-motion", "with-usbserial", "printhor-hwi_mks_robin_nano/with-usbserial", "with-spi", "printhor-hwi_mks_robin_nano/with-spi", "with-sdcard", "sdcard-uses-spi", "printhor-hwi_mks_robin_nano/with-sdcard", "printhor-hwi_mks_robin_nano/sdcard-uses-spi", "with-printjob", "printhor-hwi_mks_robin_nano/with-printjob", "with-probe", "printhor-hwi_mks_robin_nano/with-probe", "with-hotend", "printhor-hwi_mks_robin_nano/with-hotend", "printhor-hwa-common/with-hotend", "with-hotbed", "printhor-hwi_mks_robin_nano/with-hotbed", "printhor-hwa-common/with-hotbed", "with-fan-layer", "printhor-hwi_mks_robin_nano/with-fan-layer-fan1", "with-laser", "printhor-hwi_mks_robin_nano/with-laser", "fixed-point-128-impl", "cortex-m", "cortex-m-rt", "alloc-cortex-m", "printhor-hwi_mks_robin_nano", "embassy-executor/arch-cortex-m", "embassy-executor/executor-interrupt", "embassy-time/generic-queue", ] native = [ "timing-stats", "with-motion", "has-extruder", "printhor-hwi_native/with-motion", "printhor-hwa-common/with-motion", "with-uart-port-1", "printhor-hwi_native/with-uart-port-1", "with-sdcard", "printhor-hwi_native/with-sdcard", "with-printjob", "printhor-hwi_native/with-printjob", "with-probe", "printhor-hwi_native/with-probe", "with-hotend", "printhor-hwi_native/with-hotend", "printhor-hwa-common/with-hotend", "with-hotbed", "printhor-hwi_native/with-hotbed", "printhor-hwa-common/with-hotbed", "with-fan-layer", "printhor-hwi_native/with-fan-layer", "with-laser", "printhor-hwi_native/with-laser", "fixed-point-128-impl", "printhor-hwi_native/with-log", "plot-motion-plan", "embassy-executor/arch-std", "embassy-sync/std", "embassy-time/std", "embassy-time/generic-queue", ] no-real-time = [] nucleo64-f410rb = ["printhor-hwi_nucleo_64_arduino_cnc_hat/nucleo64-f410rb"] nucleo64-l476rg = ["printhor-hwi_nucleo_64_arduino_cnc_hat/nucleo64-l476rg"] nucleo_64_arduino_cnc_hat = [ "timing-stats", "with-defmt", "printhor-hwi_nucleo_64_arduino_cnc_hat/with-defmt", "with-motion", "printhor-hwi_nucleo_64_arduino_cnc_hat/with-motion", "printhor-hwa-common/with-motion", "with-uart-port-1", "printhor-hwi_nucleo_64_arduino_cnc_hat/with-uart-port-1", "float-point-f32-impl", "cortex-m", "cortex-m-rt", "alloc-cortex-m", "printhor-hwi_nucleo_64_arduino_cnc_hat", "embassy-executor/arch-cortex-m", "embassy-executor/executor-interrupt", "embassy-time/generic-queue", ] plot-motion-plan = ["gnuplot"] plot-timings = [] sdcard-uses-spi = [] skr_mini_e3 = [ "timing-stats", "with-defmt", "printhor-hwi_skr_mini_e3/with-defmt", "with-trinamic", "printhor-hwi_skr_mini_e3/with-trinamic", "with-motion", "printhor-hwi_skr_mini_e3/with-motion", "printhor-hwa-common/with-motion", "with-usbserial", "printhor-hwi_skr_mini_e3/with-usbserial", "with-spi", "printhor-hwi_skr_mini_e3/with-spi", "with-sdcard", "sdcard-uses-spi", "printhor-hwi_skr_mini_e3/with-sdcard", "printhor-hwi_skr_mini_e3/sdcard-uses-spi", "with-printjob", "printhor-hwi_skr_mini_e3/with-printjob", "with-probe", "printhor-hwi_skr_mini_e3/with-probe", "with-hotend", "printhor-hwi_skr_mini_e3/with-hotend", "printhor-hwa-common/with-hotend", "with-hotbed", "printhor-hwi_skr_mini_e3/with-hotbed", "printhor-hwa-common/with-hotbed", "with-fan-layer", "printhor-hwi_skr_mini_e3/with-fan-layer-fan0", "with-laser", "printhor-hwi_skr_mini_e3/with-laser", "fixed-point-128-impl", "cortex-m", "cortex-m-rt", "alloc-cortex-m", "printhor-hwi_skr_mini_e3", "embassy-executor/arch-cortex-m", "embassy-executor/executor-interrupt", "embassy-time/generic-queue", ] std = [] timing-stats = [] trinamic-uart-multi-channel = [] with-defmt = [ "defmt", "defmt-rtt", "panic-probe", ] with-display = [ "embedded-graphics-core", "embedded-graphics", ] with-endstops = [] with-fan-layer = ["embedded-hal"] with-fan0 = ["embedded-hal"] with-hotbed = ["embedded-hal"] with-hotend = ["embedded-hal"] with-laser = ["embedded-hal"] with-lvgl = [ "with-display", "lvgl", ] with-motion = [] with-printjob = [] with-probe = ["embedded-hal"] with-sdcard = ["embedded-sdmmc"] with-spi = ["embedded-hal"] with-trinamic = ["tmc2209"] with-uart-port-1 = [] with-uart2 = [] with-usbserial = [] [badges.maintenance] status = "experimental"