forked from jonas-schievink/jaylink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (54 loc) · 1.78 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "jaylink"
version = "0.3.0"
authors = ["Jonas Schievink <[email protected]>"]
edition = "2018"
description = "Library to communicate with J-Link USB devices"
documentation = "https://docs.rs/jaylink/"
repository = "https://github.com/jonas-schievink/jaylink.git"
keywords = ["jlink", "debug", "probe", "emulator"]
categories = ["embedded", "development-tools::debugging"]
readme = "README.md"
license = "0BSD"
# cargo-release configuration
[package.metadata.release]
tag-message = "{{version}}"
pre-release-commit-message = "Release {{version}}"
# Change the changelog's `Unreleased` section to refer to this release and
# prepend a new `Unreleased` section
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "## Unreleased\n"
replace = """
## Unreleased
No changes.
## [{{version}} - {{date}}](https://github.com/jonas-schievink/jaylink/releases/tag/v{{version}})
"""
# Bump the version inside the example manifest in `README.md`
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = 'jaylink = "[a-z0-9\\.-]+"'
replace = 'jaylink = "{{version}}"'
# Bump the version referenced by the `html_root_url` attribute in `lib.rs`
[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
search = "https://docs.rs/jaylink/[a-z0-9\\.-]+"
replace = "https://docs.rs/jaylink/{{version}}"
[features]
rusb = ["dep:rusb"]
nusb = ["dep:nusb", "dep:futures-lite"]
[dev-dependencies]
version-sync = "0.9"
env_logger = "0.8.1"
structopt = "0.3.4"
itm = "0.3.1"
jep106 = "0.2.4"
[dependencies]
# Public
bitflags = "1.2.1"
# Private
rusb = { version = "0.9.0", optional = true }
nusb = { version = "0.1.3", optional = true }
futures-lite = { version = "1.13.0", optional = true }
log = "0.4.8"
byteorder = "1.3.2"