Skip to content

Commit b9cc7d1

Browse files
authored
Revert "Add custom CA bundle support across bt HTTP flows (#73)" (#81)
This reverts commit cda6bee.
1 parent 34c5c23 commit b9cc7d1

17 files changed

Lines changed: 89 additions & 451 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3838
with:
3939
python-version: "3.11"
40-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
41-
with:
42-
extra_args: --all-files --show-diff-on-failure
40+
- name: Install pre-commit
41+
run: python -m pip install pre-commit
42+
- name: Run pre-commit
43+
run: pre-commit run --all-files --show-diff-on-failure

Cargo.lock

Lines changed: 2 additions & 161 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ repository = "https://github.com/braintrustdata/bt"
1212
actix-web = "4.11.0"
1313
anyhow = "1.0.89"
1414
backoff = { version = "0.4.0", features = ["tokio"] }
15-
braintrust-sdk-rust = { git = "https://github.com/braintrustdata/braintrust-sdk-rust", rev = "6330e78aca76f39870e5bdc947fb04d52e0ae7ca" }
15+
braintrust-sdk-rust = { git = "https://github.com/braintrustdata/braintrust-sdk-rust", rev = "c8c7c7a8d9189164584adef71449a26d4ae8be2b" }
1616
clap = { version = "4.5.20", features = ["derive", "env"] }
1717
crossterm = "0.28.1"
1818
futures-util = "0.3.31"
1919
indicatif = "0.17.8"
2020
ratatui = "0.29.0"
21-
reqwest = { version = "0.12.7", default-features = false, features = ["json", "rustls-tls-native-roots"] }
21+
reqwest = { version = "0.12.7", default-features = false, features = ["json", "rustls-tls"] }
2222
serde = { version = "1.0.210", features = ["derive"] }
2323
serde_json = "1.0.128"
2424
sha2 = "0.10.8"

src/args.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ pub struct BaseArgs {
6666
)]
6767
pub app_url: Option<String>,
6868

69-
/// Path to a PEM-encoded CA bundle used for HTTPS requests.
70-
#[arg(
71-
long,
72-
env = "BRAINTRUST_CA_BUNDLE",
73-
hide_env_values = true,
74-
global = true
75-
)]
76-
pub ca_bundle: Option<PathBuf>,
77-
7869
/// Path to a .env file to load before running commands.
7970
#[arg(long, env = "BRAINTRUST_ENV_FILE", hide_env_values = true)]
8071
pub env_file: Option<PathBuf>,

0 commit comments

Comments
 (0)