-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (64 loc) · 2.12 KB
/
Cargo.toml
File metadata and controls
73 lines (64 loc) · 2.12 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
[package]
name = "git-remote-codecommit"
description = "Unofficial AWS CodeCommit Git credential helper in Rust"
version = "1.3.0"
license = "Apache-2.0"
readme = "README.md"
edition = "2024"
homepage = "https://github.com/bartleboeuf/git-remote-codecommit"
repository = "https://github.com/bartleboeuf/git-remote-codecommit"
authors = ["Bart LEBOEUF"]
keywords = ["git", "aws", "codecommit", "git-remote-helper", "aws-sdk"]
categories = ["development-tools", "command-line-utilities"]
rust-version = "1.93.0" # Specify minimum Rust version
exclude = ["tests/", "benches/", "examples/", ".github/"]
[dependencies]
aws-config = { version = "1.8.15", features = ["behavior-version-latest"] }
aws-credential-types = { version = "1.2.14", default-features = false }
aws-types = { version = "1.3.14", default-features = false }
chrono = { version = "0.4.44", default-features = false, features = ["clock", "std"] }
hmac = "0.12.1"
sha2 = "0.10.9"
hex = "0.4.3"
url = "2.5.8"
urlencoding = "2.1.3"
tokio = { version = "1.50.0", features = ["rt", "macros", "process", "time"], default-features = false }
[profile.release]
lto = true
codegen-units = 1
strip = "symbols"
opt-level = 3
panic = "abort"
debug = false
overflow-checks = false
incremental = false
# Optimize dependencies for release builds
[profile.release.package."*"]
opt-level = 3
debug = false
# Development profile optimizations
[profile.dev]
opt-level = 0
debug = true
overflow-checks = true
incremental = true
# Speed up dev builds by reducing optimization on deps
[profile.dev.package."*"]
opt-level = 1
debug = false
# Used only on Windows to build the vcpkg dependencies
[package.metadata.vcpkg]
git = "https://github.com/microsoft/vcpkg"
# The revision of the vcpkg repository to use
# https://github.com/microsoft/vcpkg/tags
rev = "2026.03.18"
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md", dev-dependencies = ["openssl" ] }
[[bin]]
name = "git-remote-codecommit"
path = "src/main.rs"
# Add feature flags for optional functionality
[features]
default = []
# Enable faster crypto (requires additional system dependencies)
fast-crypto = ["sha2/asm"]