Skip to content
Merged
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
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- v*
paths-ignore:
- "README.md"
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"

jobs:
cargo-clippy:
runs-on: ubuntu-latest
Expand All @@ -28,6 +32,22 @@ jobs:
cargo clippy -- -D clippy::all -D warnings -A clippy::manual_range_contains
cargo clippy --tests --benches -- -D clippy::all -D warnings -A clippy::manual_range_contains

cargo-doc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- uses: Swatinem/rust-cache@v2

- run: rustup component add clippy

- name: Cargo doc
run: |
cargo doc --workspace --no-deps
env:
RUSTDOCFLAGS: "--deny warnings"

reproducible-build:
runs-on: ubuntu-22.04
steps:
Expand Down
35 changes: 29 additions & 6 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,16 @@ ic-cdk-macros = "0.17.1"
ic-certified-map = "0.4"
ic-metrics-encoder = "1.1"
ic-stable-structures = "0.6.7"
maplit = "1.0.2"
minicbor = { version = "0.25.1", features = ["alloc", "derive"] }
num-bigint = "0.4.6"
pin-project = "1.1.9"
proptest = "1.6.0"
serde = "1.0"
serde_json = "1.0"
serde_bytes = "0.11.15"
strum = { version = "0.26", features = ["derive"] }
tokio = "1.43.0"
tower = "0.5.2"
thiserror = "2.0.11"
url = "2.5"
Expand Down
7 changes: 6 additions & 1 deletion canhttp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ documentation = "https://docs.rs/canhttp"

[dependencies]
ic-cdk = { workspace = true }
pin-project = {workspace = true}
tower = { workspace = true, features = ["filter", "retry"] }
thiserror = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
maplit = {workspace = true}
tokio = {workspace = true, features = ["full"]}
1 change: 1 addition & 0 deletions canhttp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ pub use cycles::{

mod client;
mod cycles;
pub mod observability;
Loading