Skip to content

Commit ac180e7

Browse files
authored
Merge pull request #22 from knurling-rs/crates-io
use crates.io versions
2 parents 79bf25e + da11b67 commit ac180e7

File tree

3 files changed

+8
-32
lines changed

3 files changed

+8
-32
lines changed

Cargo.toml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,12 @@ version = "0.1.0"
88
[workspace]
99
members = ["testsuite"]
1010

11-
[dependencies.defmt]
12-
git = "https://github.com/knurling-rs/defmt"
13-
branch = "main"
14-
15-
[dependencies.defmt-rtt]
16-
git = "https://github.com/knurling-rs/defmt"
17-
branch = "main"
18-
19-
[dependencies.panic-probe]
20-
git = "https://github.com/knurling-rs/probe-run"
21-
branch = "main"
22-
2311
[dependencies]
2412
cortex-m = "0.6.4"
2513
cortex-m-rt = "0.6.13"
14+
defmt = "0.1.0"
15+
defmt-rtt = "0.1.0"
16+
panic-probe = { version = "0.1.0", features = ["print-defmt"] }
2617
# TODO(4) enter your HAL here
2718
# some-hal = "1.2.3"
2819

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@
1414
$ cargo install flip-link
1515
```
1616

17-
#### 2. The **git** version of `probe-run`:
17+
#### 2. `probe-run`:
1818

19-
<!-- TODO: update this once defmt is on crates.io? -->
2019
``` console
21-
$ cargo install \
22-
--git https://github.com/knurling-rs/probe-run \
23-
--branch main \
24-
--features defmt
20+
$ cargo install probe-run
2521
```
2622

2723
#### 3. [`cargo-generate`]:

testsuite/Cargo.toml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,13 @@ version = "0.1.0"
1010
name = "test"
1111
harness = false
1212

13-
[dependencies.defmt]
14-
git = "https://github.com/knurling-rs/defmt"
15-
branch = "main"
16-
17-
[dependencies.defmt-rtt]
18-
git = "https://github.com/knurling-rs/defmt"
19-
branch = "main"
20-
21-
[dependencies.panic-probe]
22-
git = "https://github.com/knurling-rs/probe-run"
23-
branch = "main"
24-
# enable the `print-defmt` feature for more complete test output
25-
features = ["print-defmt"]
26-
2713
[dependencies]
2814
{{project-name}} = { path = ".." }
2915
cortex-m = "0.6.3"
3016
cortex-m-rt = "0.6.12"
17+
defmt = "0.1.0"
18+
defmt-rtt = "0.1.0"
19+
panic-probe = { version = "0.1.0", features = ["print-defmt" ] }
3120

3221
[features]
3322
# set logging levels here

0 commit comments

Comments
 (0)