Browse Source

Merge branch 'main' into fix/instance-render-target-lifetime

pull/38/head
Ian Chamberlain 11 months ago committed by GitHub
parent
commit
c92ee74406
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      .github/workflows/docs.yml
  2. 7
      citro3d-sys/src/lib.rs
  3. 7
      citro3d/src/lib.rs

4
.github/workflows/docs.yml

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- main - main
pull_request:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -22,7 +23,7 @@ jobs:
- uses: rust3ds/test-runner/setup@v1 - uses: rust3ds/test-runner/setup@v1
with: with:
toolchain: nightly toolchain: nightly-2023-06-01
- name: Build workspace docs - name: Build workspace docs
run: cargo 3ds --verbose doc --verbose --no-deps --workspace run: cargo 3ds --verbose doc --verbose --no-deps --workspace
@ -47,6 +48,7 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: github.ref_name == 'main'
permissions: permissions:
pages: write pages: write
id-token: write id-token: write

7
citro3d-sys/src/lib.rs

@ -4,6 +4,13 @@
#![allow(non_upper_case_globals)] #![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![allow(clippy::all)] #![allow(clippy::all)]
#![doc(html_root_url = "https://rust3ds.github.io/citro3d-rs/crates")]
#![doc(
html_favicon_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)]
#![doc(
html_logo_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)]
include!(concat!(env!("OUT_DIR"), "/bindings.rs")); include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

7
citro3d/src/lib.rs

@ -2,6 +2,13 @@
#![test_runner(test_runner::run_gdb)] #![test_runner(test_runner::run_gdb)]
#![feature(doc_cfg)] #![feature(doc_cfg)]
#![feature(doc_auto_cfg)] #![feature(doc_auto_cfg)]
#![doc(html_root_url = "https://rust3ds.github.io/citro3d-rs/crates")]
#![doc(
html_favicon_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)]
#![doc(
html_logo_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)]
//! Safe Rust bindings to `citro3d`. This crate wraps `citro3d-sys` to provide //! Safe Rust bindings to `citro3d`. This crate wraps `citro3d-sys` to provide
//! safer APIs for graphics programs targeting the 3DS. //! safer APIs for graphics programs targeting the 3DS.

Loading…
Cancel
Save