# 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 = "embassy-rp" version = "0.2.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Embassy Hardware Abstraction Layer (HAL) for the Raspberry Pi RP2040 microcontroller" documentation = "https://docs.embassy.dev/embassy-rp" readme = "README.md" keywords = [ "embedded", "async", "raspberry-pi", "rp2040", "embedded-hal", ] categories = [ "embedded", "hardware-support", "no-std", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/embassy-rs/embassy" [package.metadata.docs.rs] features = [ "defmt", "unstable-pac", "time-driver", ] [package.metadata.embassy_docs] features = [ "defmt", "unstable-pac", "time-driver", ] src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/" src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-rp/src/" [[package.metadata.embassy_docs.flavors]] name = "rp2040" target = "thumbv6m-none-eabi" [lib] name = "embassy_rp" path = "src/lib.rs" [dependencies.atomic-polyfill] version = "1.0.1" [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4" optional = true default-features = false [dependencies.cortex-m] version = "0.7.6" [dependencies.cortex-m-rt] version = ">=0.6.15,<0.8" [dependencies.critical-section] version = "1.1" [dependencies.defmt] version = "0.3" optional = true [dependencies.document-features] version = "0.2.7" [dependencies.embassy-embedded-hal] version = "0.2.0" [dependencies.embassy-futures] version = "0.1.0" [dependencies.embassy-hal-internal] version = "0.2.0" features = [ "cortex-m", "prio-bits-2", ] [dependencies.embassy-sync] version = "0.6.0" [dependencies.embassy-time] version = "0.3.2" [dependencies.embassy-time-driver] version = "0.1" optional = true [dependencies.embassy-usb-driver] version = "0.1.0" [dependencies.embedded-hal-02] version = "0.2.6" features = ["unproven"] package = "embedded-hal" [dependencies.embedded-hal-1] version = "1.0" package = "embedded-hal" [dependencies.embedded-hal-async] version = "1.0" [dependencies.embedded-hal-nb] version = "1.0" [dependencies.embedded-io] version = "0.6.1" [dependencies.embedded-io-async] version = "0.6.1" [dependencies.embedded-storage] version = "0.3" [dependencies.embedded-storage-async] version = "0.4.1" [dependencies.fixed] version = "1.23.1" [dependencies.log] version = "0.4.14" optional = true [dependencies.nb] version = "1.0.0" [dependencies.pio] version = "0.2.1" [dependencies.pio-proc] version = "0.2" [dependencies.rand_core] version = "0.6.4" [dependencies.rp-pac] version = "6" [dependencies.rp2040-boot2] version = "0.3" [dev-dependencies.embassy-executor] version = "0.6.0" features = [ "arch-std", "executor-thread", ] [dev-dependencies.static_cell] version = "2" [features] boot2-at25sf128a = [] boot2-gd25q64cs = [] boot2-generic-03h = [] boot2-is25lp080 = [] boot2-none = [] boot2-ram-memcpy = [] boot2-w25q080 = [] boot2-w25x10cl = [] critical-section-impl = ["critical-section/restore-state-u8"] default = ["rt"] defmt = [ "dep:defmt", "embassy-usb-driver/defmt", "embassy-hal-internal/defmt", ] intrinsics = [] qspi-as-gpio = [] rom-func-cache = [] rom-v2-intrinsics = [] rt = ["rp-pac/rt"] run-from-ram = [] time-driver = [ "dep:embassy-time-driver", "embassy-time-driver?/tick-hz-1_000_000", ] unstable-pac = []