Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (87 loc) · 2.92 KB
/
Copy pathCargo.toml
File metadata and controls
96 lines (87 loc) · 2.92 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "cfcli"
version = "0.15.0"
edition = "2021"
authors = ["Marcus Eliasson <marcus@bitcraze.io>"]
description = "Crazyflie command-line client"
readme = "README.md"
repository = "https://github.com/bitcraze/cfcli"
license = "MIT OR Apache-2.0"
keywords = ["crazyflie", "cli"]
categories = ["hardware-support"]
build = "build.rs"
[package.metadata.deb]
maintainer = "Marcus Eliasson <marcus@bitcraze.io>"
copyright = "2026, Marcus Eliasson"
extended-description = """\
A command-line interface tool for managing and interacting with Crazyflie drones.
Provides logging, parameter control, memory operations, and bootloader functionality."""
depends = "$auto, curl, gnupg"
section = "utils"
priority = "optional"
maintainer-scripts = "debian/"
assets = [
["target/release/cfcli", "usr/bin/", "755"],
["README.md", "usr/share/doc/cfcli/", "644"],
# Shell completions are generated by build.rs into completions/ and
# installed to the standard system directories, active on next shell.
["completions/cfcli.bash", "usr/share/bash-completion/completions/cfcli", "644"],
["completions/_cfcli", "usr/share/zsh/vendor-completions/_cfcli", "644"],
["completions/cfcli.fish", "usr/share/fish/vendor_completions.d/cfcli.fish", "644"],
]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ target }.{ archive-format }"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz" # tar.gz for Unix
pkg-fmt-windows = "zip"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[[bin]]
name = "cfcli"
path = "src/main.rs"
[features]
default = ["packet_capture"]
packet_capture = []
[dependencies]
futures-util = "0.3"
futures = "0.3"
async-stream = "0.3.6"
flume = "0.12.0"
num_enum = "0.7.6"
half = "2.6.0"
env_logger = "0.11.8"
anyhow = "1.0"
crazyflie-lib = { version = "0.8.2", default-features = false }
rusb = "0.9"
cfloader = "0.1.0"
clap = { version = "4.6.6", features = ["derive"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
confy = "2.0.0"
clap_complete = "4.6.9"
tokio = "1.53.1"
serde_yaml = "0.9.34"
probe-rs = "0.32.0"
clap-num = "1.2.0"
inquire = "0.9.4"
indicatif = { version = "0.18.6", features = ["tokio"] }
colored = "3.1.1"
rand = "0.10.2"
pretty-hex = "0.4.2"
terminal_size = "0.4.4"
octocrab = "0.54.1"
rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs"] }
reqwest = { version="0.13.4", default-features = false, features = ["rustls", "json"]}
zip = "8.6"
byteorder = "1.5.0"
hex = "0.4.3"
chrono = "0.4.45"
tabled = "0.22.0"
[target.'cfg(unix)'.dependencies]
crazyflie-lib = { version = "0.8.2", default-features = false, features = ["packet_capture"] }
# Used by build.rs to generate shell-completion scripts from the same clap
# command tree as the binary (src/cli.rs is shared via include!).
[build-dependencies]
clap = { version = "4.6.6", features = ["derive"] }
clap_complete = "4.6.9"
clap-num = "1.2.0"