Skip to content

Commit 433b984

Browse files
author
Derek
committed
chore: configure Artifactory publishing for hypersec registry
- Add publish = ["hypersec"] to Cargo.toml - Add hypersec registry config with sparse index - Fix repository URL to hypersec-io org
1 parent 8156e33 commit 433b984

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.cargo/config.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,13 @@ rustflags = ["-D", "warnings", "-C", "target-cpu=native"]
1414

1515
[alias]
1616
xtask = "run --package xtask --"
17+
18+
# =============================================================================
19+
# HyperSec Private Cargo Registry (Artifactory)
20+
# =============================================================================
21+
#
22+
# The 'hypersec' registry hosts internal crates.
23+
# Authentication is handled via ~/.cargo/credentials.toml
24+
25+
[registries.hypersec]
26+
index = "sparse+https://hypersec.jfrog.io/artifactory/api/cargo/hypersec-cargo-virtual/index/"

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ edition = "2021"
1313
rust-version = "1.75"
1414
description = "Shared utility library for HyperSec Rust applications"
1515
license = "LicenseRef-HyperSec-EULA"
16-
repository = "https://github.com/hypersec/hs-rustlib"
16+
repository = "https://github.com/hypersec-io/hs-rustlib"
17+
publish = ["hypersec"]
1718
keywords = ["config", "logging", "metrics", "prometheus"]
1819
categories = ["development-tools"]
1920

0 commit comments

Comments
 (0)