fix(ci): enable sqlite feature when publishing the sql plugin

This commit is contained in:
Lucas Nogueira
2023-05-24 18:14:54 -03:00
parent 94b3747a9c
commit 7906397c64
2 changed files with 25 additions and 1 deletions
+22 -1
View File
@@ -231,7 +231,28 @@
"sql": {
"path": "./plugins/sql",
"manager": "rust"
"manager": "rust",
"publish": [
{
"command": "cargo package --no-verify",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "cargo publish --features sqlite",
"dryRunCommand": "cargo publish --features sqlite --dry-run",
"pipe": true
},
{
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
]
},
"sql-js": {
"path": "./plugins/sql",
+3
View File
@@ -7,6 +7,9 @@ license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
[package.metadata.docs.rs]
features = [ "sqlite" ]
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }