Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: cargo-deny

on:
pull_request:
push:
branches:
- main

jobs:
cargo-deny:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./codex-rs
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Run cargo-deny
uses: EmbarkStudios/cargo-deny-action@v1
with:
rust-version: stable
manifest-path: ./codex-rs/Cargo.toml
2 changes: 1 addition & 1 deletion codex-rs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codex-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ version = "0.0.0"
# crates created with `cargo new -w ...` automatically inherit the 2024
# edition.
edition = "2024"
license = "Apache-2.0"

[workspace.dependencies]
# Internal
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/ansi-escape/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-ansi-escape"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_ansi_escape"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/app-server-protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-app-server-protocol"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_app_server_protocol"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/app-server-test-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "codex-app-server-test-client"
version = { workspace = true }
edition = "2024"
version.workspace = true
edition.workspace = true
license.workspace = true

[lints]
workspace = true
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/app-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-app-server"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[[bin]]
name = "codex-app-server"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/app-server/tests/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "app_test_support"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
path = "lib.rs"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/apply-patch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-apply-patch"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_apply_patch"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/arg0/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-arg0"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_arg0"
Expand Down
3 changes: 2 additions & 1 deletion codex-rs/async-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition.workspace = true
name = "codex-async-utils"
version.workspace = true
edition.workspace = true
license.workspace = true

[lints]
workspace = true
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/backend-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "codex-backend-client"
version = "0.0.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming that this is fine to bump - we're not publishing this, so it doesn't really matter what it's set to here

edition = "2024"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false

[lib]
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/chatgpt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-chatgpt"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lints]
workspace = true
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-cli"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[[bin]]
name = "codex"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/cloud-tasks-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "codex-cloud-tasks-client"
version = { workspace = true }
edition = "2024"
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_cloud_tasks_client"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/cloud-tasks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-cloud-tasks"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_cloud_tasks"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/codex-backend-openapi-models/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "codex-backend-openapi-models"
version = { workspace = true }
edition = "2024"
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "codex_backend_openapi_models"
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-common"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lints]
workspace = true
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "codex-core"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
doctest = false
Expand Down
5 changes: 3 additions & 2 deletions codex-rs/core/tests/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2024"
name = "core_test_support"
version = { workspace = true }
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
path = "lib.rs"
Expand Down
Loading
Loading