Skip to content

Commit

Permalink
Build docs.rs docs with all features
Browse files Browse the repository at this point in the history
Inspired by nushell/nushell#11180

Make sure you can see all available types/symbols on docs.rs
(e.g. `SqliteBackedHistory`)

In a second step we should take care of annotating feature gated stuff
correctly
  • Loading branch information
sholderbach committed Nov 29, 2023
1 parent 93af55c commit 71e62f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ required-features = ["sqlite"]
[[example]]
name = "external_printer"
required-features = ["external_printer"]

[package.metadata.docs.rs]
# Whether to pass `--all-features` to Cargo (default: false)
all-features = true

0 comments on commit 71e62f2

Please sign in to comment.