# 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 = "2018" name = "stm32-eth" version = "0.7.0" authors = [ "Astro ", "Johannes Draaijer ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Embedded Rust Ethernet driver for the STM32 MCU series" documentation = "https://docs.rs/stm32-eth/" readme = "README.md" keywords = [ "ethernet", "eth", "stm32", "stm32f4", "stm32f7", ] categories = [ "embedded", "no-std", "hardware-support", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/stm32-rs/stm32-eth" [package.metadata.docs.rs] features = [ "smoltcp-phy", "stm32f429", "async-await", ] [profile.release] lto = true debug = 2 [lib] name = "stm32_eth" path = "src/lib.rs" [[example]] name = "arp" path = "examples/arp.rs" required-features = ["defmt"] [[example]] name = "async-rtic-timestamp" path = "examples/async-rtic-timestamp.rs" required-features = [ "defmt", "ptp", "async-await", ] [[example]] name = "common" path = "examples/common.rs" required-features = [ "defmt", "smoltcp-phy", "ptp", ] [[example]] name = "ip" path = "examples/ip.rs" required-features = [ "defmt", "smoltcp-phy", ] [[example]] name = "pktgen" path = "examples/pktgen.rs" required-features = ["defmt"] [[example]] name = "rtic-echo" path = "examples/rtic-echo.rs" required-features = [ "defmt", "smoltcp-phy", ] [[example]] name = "rtic-timestamp" path = "examples/rtic-timestamp.rs" required-features = [ "defmt", "ptp", ] [[example]] name = "smoltcp-client" path = "examples/smoltcp-timesync/client.rs" required-features = [ "defmt", "ptp", "smoltcp-phy", ] [[example]] name = "smoltcp-server" path = "examples/smoltcp-timesync/server.rs" required-features = [ "defmt", "ptp", "smoltcp-phy", ] [[example]] name = "timesync-client" path = "examples/timesync/client.rs" required-features = [ "defmt", "ptp", ] [[example]] name = "timesync-server" path = "examples/timesync/server.rs" required-features = [ "defmt", "ptp", ] [dependencies.aligned] version = "0.4" [dependencies.cortex-m] version = "0.7" [dependencies.defmt] version = "0.3" optional = true [dependencies.futures] version = "0.3" features = ["async-await"] optional = true default-features = false [dependencies.ieee802_3_miim] version = "0.8" [dependencies.log] version = "0.4" optional = true [dependencies.smoltcp] version = "0.11" optional = true default-features = false [dependencies.stm32f1xx-hal] version = "0.10" optional = true [dependencies.stm32f4] version = "0.15" optional = true [dependencies.stm32f4xx-hal] version = "0.21" optional = true [dependencies.stm32f7xx-hal] version = "0.8" optional = true [dependencies.volatile-register] version = "0.2" [dev-dependencies.async-rtic] version = "2" features = ["thumbv7-backend"] package = "rtic" [dev-dependencies.cortex-m] version = "0.7" features = ["critical-section-single-core"] [dev-dependencies.cortex-m-rt] version = "0.7" [dev-dependencies.defmt-rtt] version = "0.4" [dev-dependencies.fugit] version = "0.3" [dev-dependencies.panic-probe] version = "0.3" features = ["print-defmt"] [dev-dependencies.rtic] version = "1.0" package = "cortex-m-rtic" [dev-dependencies.rtic-sync] version = "1.3" package = "rtic-sync" [dev-dependencies.smoltcp] version = "0.11" features = [ "medium-ethernet", "proto-ipv4", "socket-udp", "socket-tcp", "defmt", ] default-features = false [dev-dependencies.systick-monotonic] version = "1.0" [features] async-await = ["dep:futures"] default = [ "defmt", "ptp", ] device-selected = [] fence = [] ptp = ["smoltcp/packetmeta-id"] smoltcp-phy = ["smoltcp"] stm32f107 = [ "stm32f1xx-hal/stm32f107", "device-selected", ] stm32f407 = [ "stm32f4xx-hal/stm32f407", "stm32f4", "device-selected", ] stm32f417 = [ "stm32f4xx-hal/stm32f417", "stm32f4", "device-selected", ] stm32f427 = [ "stm32f4xx-hal/stm32f427", "stm32f4", "device-selected", ] stm32f429 = [ "stm32f4xx-hal/stm32f429", "stm32f4", "device-selected", ] stm32f437 = [ "stm32f4xx-hal/stm32f437", "stm32f4", "device-selected", ] stm32f439 = [ "stm32f4xx-hal/stm32f439", "stm32f4", "device-selected", ] stm32f469 = [ "stm32f4xx-hal/stm32f469", "stm32f4", "device-selected", ] stm32f479 = [ "stm32f4xx-hal/stm32f479", "stm32f4", "device-selected", ] stm32f745 = [ "stm32f7xx-hal/stm32f745", "device-selected", "fence", ] stm32f746 = [ "stm32f7xx-hal/stm32f746", "device-selected", "fence", ] stm32f756 = [ "stm32f7xx-hal/stm32f756", "device-selected", "fence", ] stm32f765 = [ "stm32f7xx-hal/stm32f765", "device-selected", "fence", ] stm32f767 = [ "stm32f7xx-hal/stm32f767", "device-selected", "fence", ] stm32f769 = [ "stm32f7xx-hal/stm32f769", "device-selected", "fence", ] stm32f777 = [ "stm32f7xx-hal/stm32f777", "device-selected", "fence", ] stm32f778 = [ "stm32f7xx-hal/stm32f778", "device-selected", "fence", ] stm32f779 = [ "stm32f7xx-hal/stm32f779", "device-selected", "fence", ] [badges.maintenance] status = "experimental" [badges.travis-ci] branch = "master" repository = "astro/stm32-eth"