···
1
1
+
# This file is automatically @generated by Cargo.
2
2
+
# It is not intended for manual editing.
3
3
+
version = 4
4
4
+
5
5
+
[[package]]
6
6
+
name = "anstream"
7
7
+
version = "0.6.21"
8
8
+
source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
+
checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
10
10
+
dependencies = [
11
11
+
"anstyle",
12
12
+
"anstyle-parse",
13
13
+
"anstyle-query",
14
14
+
"anstyle-wincon",
15
15
+
"colorchoice",
16
16
+
"is_terminal_polyfill",
17
17
+
"utf8parse",
18
18
+
]
19
19
+
20
20
+
[[package]]
21
21
+
name = "anstyle"
22
22
+
version = "1.0.13"
23
23
+
source = "registry+https://github.com/rust-lang/crates.io-index"
24
24
+
checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
25
25
+
26
26
+
[[package]]
27
27
+
name = "anstyle-parse"
28
28
+
version = "0.2.7"
29
29
+
source = "registry+https://github.com/rust-lang/crates.io-index"
30
30
+
checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
31
31
+
dependencies = [
32
32
+
"utf8parse",
33
33
+
]
34
34
+
35
35
+
[[package]]
36
36
+
name = "anstyle-query"
37
37
+
version = "1.1.5"
38
38
+
source = "registry+https://github.com/rust-lang/crates.io-index"
39
39
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
40
40
+
dependencies = [
41
41
+
"windows-sys",
42
42
+
]
43
43
+
44
44
+
[[package]]
45
45
+
name = "anstyle-wincon"
46
46
+
version = "3.0.11"
47
47
+
source = "registry+https://github.com/rust-lang/crates.io-index"
48
48
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
49
49
+
dependencies = [
50
50
+
"anstyle",
51
51
+
"once_cell_polyfill",
52
52
+
"windows-sys",
53
53
+
]
54
54
+
55
55
+
[[package]]
56
56
+
name = "atp-cli"
57
57
+
version = "0.1.0"
58
58
+
dependencies = [
59
59
+
"clap",
60
60
+
]
61
61
+
62
62
+
[[package]]
63
63
+
name = "clap"
64
64
+
version = "4.5.56"
65
65
+
source = "registry+https://github.com/rust-lang/crates.io-index"
66
66
+
checksum = "a75ca66430e33a14957acc24c5077b503e7d374151b2b4b3a10c83b4ceb4be0e"
67
67
+
dependencies = [
68
68
+
"clap_builder",
69
69
+
"clap_derive",
70
70
+
]
71
71
+
72
72
+
[[package]]
73
73
+
name = "clap_builder"
74
74
+
version = "4.5.56"
75
75
+
source = "registry+https://github.com/rust-lang/crates.io-index"
76
76
+
checksum = "793207c7fa6300a0608d1080b858e5fdbe713cdc1c8db9fb17777d8a13e63df0"
77
77
+
dependencies = [
78
78
+
"anstream",
79
79
+
"anstyle",
80
80
+
"clap_lex",
81
81
+
"strsim",
82
82
+
]
83
83
+
84
84
+
[[package]]
85
85
+
name = "clap_derive"
86
86
+
version = "4.5.55"
87
87
+
source = "registry+https://github.com/rust-lang/crates.io-index"
88
88
+
checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5"
89
89
+
dependencies = [
90
90
+
"heck",
91
91
+
"proc-macro2",
92
92
+
"quote",
93
93
+
"syn",
94
94
+
]
95
95
+
96
96
+
[[package]]
97
97
+
name = "clap_lex"
98
98
+
version = "0.7.7"
99
99
+
source = "registry+https://github.com/rust-lang/crates.io-index"
100
100
+
checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32"
101
101
+
102
102
+
[[package]]
103
103
+
name = "colorchoice"
104
104
+
version = "1.0.4"
105
105
+
source = "registry+https://github.com/rust-lang/crates.io-index"
106
106
+
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
107
107
+
108
108
+
[[package]]
109
109
+
name = "heck"
110
110
+
version = "0.5.0"
111
111
+
source = "registry+https://github.com/rust-lang/crates.io-index"
112
112
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
113
113
+
114
114
+
[[package]]
115
115
+
name = "is_terminal_polyfill"
116
116
+
version = "1.70.2"
117
117
+
source = "registry+https://github.com/rust-lang/crates.io-index"
118
118
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
119
119
+
120
120
+
[[package]]
121
121
+
name = "once_cell_polyfill"
122
122
+
version = "1.70.2"
123
123
+
source = "registry+https://github.com/rust-lang/crates.io-index"
124
124
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
125
125
+
126
126
+
[[package]]
127
127
+
name = "proc-macro2"
128
128
+
version = "1.0.106"
129
129
+
source = "registry+https://github.com/rust-lang/crates.io-index"
130
130
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
131
131
+
dependencies = [
132
132
+
"unicode-ident",
133
133
+
]
134
134
+
135
135
+
[[package]]
136
136
+
name = "quote"
137
137
+
version = "1.0.44"
138
138
+
source = "registry+https://github.com/rust-lang/crates.io-index"
139
139
+
checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
140
140
+
dependencies = [
141
141
+
"proc-macro2",
142
142
+
]
143
143
+
144
144
+
[[package]]
145
145
+
name = "strsim"
146
146
+
version = "0.11.1"
147
147
+
source = "registry+https://github.com/rust-lang/crates.io-index"
148
148
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
149
149
+
150
150
+
[[package]]
151
151
+
name = "syn"
152
152
+
version = "2.0.114"
153
153
+
source = "registry+https://github.com/rust-lang/crates.io-index"
154
154
+
checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
155
155
+
dependencies = [
156
156
+
"proc-macro2",
157
157
+
"quote",
158
158
+
"unicode-ident",
159
159
+
]
160
160
+
161
161
+
[[package]]
162
162
+
name = "unicode-ident"
163
163
+
version = "1.0.22"
164
164
+
source = "registry+https://github.com/rust-lang/crates.io-index"
165
165
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
166
166
+
167
167
+
[[package]]
168
168
+
name = "utf8parse"
169
169
+
version = "0.2.2"
170
170
+
source = "registry+https://github.com/rust-lang/crates.io-index"
171
171
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
172
172
+
173
173
+
[[package]]
174
174
+
name = "windows-link"
175
175
+
version = "0.2.1"
176
176
+
source = "registry+https://github.com/rust-lang/crates.io-index"
177
177
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
178
178
+
179
179
+
[[package]]
180
180
+
name = "windows-sys"
181
181
+
version = "0.61.2"
182
182
+
source = "registry+https://github.com/rust-lang/crates.io-index"
183
183
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
184
184
+
dependencies = [
185
185
+
"windows-link",
186
186
+
]
···
1
1
+
[package]
2
2
+
name = "atp-cli"
3
3
+
version = "0.1.0"
4
4
+
edition = "2024"
5
5
+
6
6
+
[dependencies]
7
7
+
clap = { version = "4.5.56", features = ["derive"] }
8
8
+
···
1
1
+
use clap::Parser;
2
2
+
3
3
+
#[derive(Parser)]
4
4
+
#[command(name = "ATP-CLI")]
5
5
+
#[command(version = "1.0")]
6
6
+
#[command(about = "Access your PDS via command line", long_about = None)]
7
7
+
struct Cli {
8
8
+
#[arg(long)]
9
9
+
two: String,
10
10
+
#[arg(long)]
11
11
+
one: String,
12
12
+
}
13
13
+
14
14
+
fn main() {
15
15
+
let cli = Cli::parse();
16
16
+
17
17
+
println!("two: {:?}", cli.two);
18
18
+
println!("one: {:?}", cli.one);
19
19
+
}