Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packages metadata for docs.rs and crates.io #269

Merged
merged 1 commit into from
Apr 4, 2024
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
14 changes: 7 additions & 7 deletions Cargo.lock

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

11 changes: 10 additions & 1 deletion support/bindgen-cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-bindgen-cfg"
version = "0.1.2"
version = "0.1.3"
readme = "README.md"
description = "Minimal configuration for playdate-bindgen."
keywords = ["playdate", "bindings", "ffi", "code-generation"]
Expand All @@ -20,3 +20,12 @@ optional = true

[features]
default = []


[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--show-type-layout"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[badges.maintenance]
status = "actively-developed"
7 changes: 5 additions & 2 deletions support/bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-bindgen"
version = "0.1.6"
version = "0.1.7"
readme = "README.md"
description = "Bindgen configuration for Playdate API and utils."
keywords = ["playdate", "bindings", "ffi", "code-generation"]
Expand Down Expand Up @@ -69,4 +69,7 @@ cli = [


[package.metadata.docs.rs]
features = ["cli"]
features = ["cli", "documentation", "extra-codegen"]

[badges.maintenance]
status = "actively-developed"
11 changes: 10 additions & 1 deletion support/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-build"
version = "0.2.2"
version = "0.2.3"
readme = "README.md"
description = "Utils that help to build package for Playdate"
keywords = ["playdate", "package", "encoding", "manifest", "assets"]
Expand Down Expand Up @@ -38,3 +38,12 @@ features = ["log"]
default = ["toml", "serde_json"]
cargo = ["utils/cargo-message", "serde_json"]
assets-report = []


[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--show-type-layout"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[badges.maintenance]
status = "actively-developed"
11 changes: 10 additions & 1 deletion support/device/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-device"
version = "0.2.0"
version = "0.2.1"
readme = "README.md"
description = "Cross-platform interface Playdate device, async & blocking."
keywords = ["playdate", "usb", "serial"]
Expand Down Expand Up @@ -92,3 +92,12 @@ default = ["tokio", "tokio-serial"]
tokio-serial = ["futures", "dep:tokio-serial", "tokio?/io-util", "tokio?/rt"]
tokio = ["futures", "dep:tokio", "async-std?/tokio1"] # use async-std reactor
async-std = ["futures", "dep:async-std"] # use async-std reactor and features


[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--show-type-layout"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[badges.maintenance]
status = "actively-developed"
11 changes: 10 additions & 1 deletion support/sim-ctrl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-simulator-utils"
version = "0.1.1"
version = "0.1.2"
readme = "README.md"
description = "Cross-platform utils to deal with Playdate Simulator."
keywords = ["playdate", "sdk", "utils"]
Expand Down Expand Up @@ -35,3 +35,12 @@ optional = true

[features]
tokio = ["dep:tokio", "async-std?/tokio1"]


[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--show-type-layout"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[badges.maintenance]
status = "actively-developed"
11 changes: 10 additions & 1 deletion support/tool/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-tool"
version = "0.2.2"
version = "0.2.3"
readme = "README.md"
description = "Tool for interaction with Playdate device and sim."
keywords = ["playdate", "usb", "utility"]
Expand Down Expand Up @@ -65,3 +65,12 @@ tracing = [
# Useful with `RUSTFLAGS="--cfg tokio_unstable"` &
# [tokio-console](https://tokio.rs/tokio/topics/tracing-next-steps)
tokio-tracing = ["tracing", "tokio/tracing", "console-subscriber", "tracing"]


[package.metadata.docs.rs]
rustdoc-args = ["--show-type-layout"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
all-features = false

[badges.maintenance]
status = "actively-developed"
11 changes: 10 additions & 1 deletion support/utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "playdate-build-utils"
version = "0.2.0"
version = "0.2.1"
readme = "README.md"
description = "Utils that help to build program with Rust and Playdate API"
keywords = ["playdate", "utility"]
Expand All @@ -22,3 +22,12 @@ version = "0.1.0"
[features]
default = ["log", "cargo-message"]
cargo-message = [] # cargo notifications & warnings and logging


[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--show-type-layout"]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[badges.maintenance]
status = "actively-developed"