Add documentation
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
ea75da491d
commit
4c8938e4ff
10 changed files with 160 additions and 9 deletions
13
Cargo.toml
13
Cargo.toml
|
|
@ -16,9 +16,14 @@ harness = false
|
|||
[profile.bench]
|
||||
debug = true
|
||||
|
||||
[lints.rust]
|
||||
unsafe_code = "forbid"
|
||||
missing_docs = "warn"
|
||||
|
||||
[dependencies]
|
||||
annotate-snippets = "0.12.13"
|
||||
displaydoc = "0.2.5"
|
||||
document-features = { version = "0.2.12", optional = true }
|
||||
serde_json = { version = "1.0.149", optional = true }
|
||||
thiserror = "2.0.18"
|
||||
winnow = { version = "0.7.14", features = ["unstable-recover"] }
|
||||
|
|
@ -30,11 +35,19 @@ insta = { version = "1.46.3", features = ["glob", "serde"] }
|
|||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.149"
|
||||
test_each_file = "0.3.7"
|
||||
nomo = { path = ".", features = ["unstable-pub"] }
|
||||
|
||||
[profile.dev.package]
|
||||
insta.opt-level = 3
|
||||
similar.opt-level = 3
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["document-features"]
|
||||
|
||||
[features]
|
||||
default = ["serde_json"]
|
||||
## Add support for inserting [`serde_json::Value`]s into [`Context`] objects
|
||||
serde_json = ["dep:serde_json"]
|
||||
## Get access to the internals of the crate ⚠️ This is a perma-unstable feature ⚠️
|
||||
unstable-pub = []
|
||||
document-features = ["dep:document-features"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue