-
Notifications
You must be signed in to change notification settings - Fork 4
Define Picante semantics (spec) + Tracey coverage #45
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
base: main
Are you sure you want to change the base?
Changes from 36 commits
6292d5e
d28acdb
d5071ad
009dc0d
cd39ed2
fb6c4f0
2a4f7ae
889d706
6027b14
3f5185d
4997107
0cc3507
fc0c882
1351566
64655bc
63d74fd
93a5ef9
7174aa0
a4e2e8e
d8ea8fc
e4869d1
22f3ac1
3e0d520
53864b4
ab091bf
d6c6eb8
5ea8a59
b18c7c0
64574e8
addbc89
304c7d7
94f8d68
0f63af5
85354e8
90a51ae
ba9dea9
d8a624f
a8ed02c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| spec { | ||
| name "picante" | ||
| prefix "r" | ||
| source_url "https://github.com/bearcove/picante" | ||
| include "docs/spec/**/*.md" | ||
|
|
||
| impl { | ||
| name "main" | ||
| include "crates/**/*.rs" | ||
| exclude "target/**" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| /target | ||
| .handoffs | ||
| .claude | ||
| .cache | ||
| .dodeca.db | ||
| docs/public | ||
| lcov.info | ||
| .tracey/ |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,9 +4,12 @@ use crate::key::{DynKey, QueryKindId}; | |||||||||||||||||||||||||
| use std::fmt; | ||||||||||||||||||||||||||
| use std::sync::Arc; | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| // r[error.result] | ||||||||||||||||||||||||||
| /// Result type used by Picante APIs. | ||||||||||||||||||||||||||
| pub type PicanteResult<T> = std::result::Result<T, Arc<PicanteError>>; | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| // r[error.type] | ||||||||||||||||||||||||||
| // r[error.variants] | ||||||||||||||||||||||||||
|
Comment on lines
+7
to
+12
|
||||||||||||||||||||||||||
| // r[error.result] | |
| /// Result type used by Picante APIs. | |
| pub type PicanteResult<T> = std::result::Result<T, Arc<PicanteError>>; | |
| // r[error.type] | |
| // r[error.variants] | |
| // impl[error.result] | |
| /// Result type used by Picante APIs. | |
| pub type PicanteResult<T> = std::result::Result<T, Arc<PicanteError>>; | |
| // impl[error.type] | |
| // impl[error.variants] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Tracey configuration file uses KDL syntax correctly. However, consider adding a comment at the top of the file explaining what Tracey is and how this configuration is used, to help other contributors understand its purpose.