Skip to content

Commit

Permalink
Improvements to docs.rs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudy committed Dec 5, 2023
1 parent e591de1 commit 20bf554
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "1.0.0-alpha.2"
edition = "2021"
authors = ["Alex Rudy <[email protected]>"]
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/alexrudy/jaws"
description = "JSON Algorithms and Web Signing"
keywords = ["https", "networking", "tls"]
Expand All @@ -12,8 +13,13 @@ categories = [
"network-programming",
"web-programming::http-server",
]
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"

[dependencies]
base64ct = { version = "1.6", features = ["std"] }
bytes = { version = "1.5" }
Expand Down Expand Up @@ -68,12 +74,13 @@ required-features = ["fmt", "rsa"]
name = "rfc7515-a2"
path = "examples/rfc7515a2.rs"
required-features = ["fmt", "rsa"]
doc-scrape-examples = true

[[example]]
name = "dyn-key"
path = "examples/dyn-key.rs"
required-features = ["fmt", "rsa"]

doc-scrape-examples = true

[[example]]
name = "save-key"
Expand All @@ -84,3 +91,4 @@ required-features = ["fmt", "rsa"]
name = "dyn-rsa-key"
path = "tests/dyn-rsa-key.rs"
required-features = ["fmt", "rsa"]
doc-scrape-examples = true

0 comments on commit 20bf554

Please sign in to comment.