Skip to content

Commit 22fa1c3

Browse files
authored
feat: initial skeleton for the partiql-ir crate (#173)
Also Updates coverage to 2022-08-11 nightly to fix code coverage CI breakage.
1 parent 8a40219 commit 22fa1c3

File tree

5 files changed

+30
-1
lines changed

5 files changed

+30
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
profile: minimal
2525
# nightly can be very volatile--pin this to a version we know works well...
26-
toolchain: nightly-2022-06-11
26+
toolchain: nightly-2022-08-11
2727
override: true
2828
- name: Cargo Test
2929
uses: actions-rs/cargo@v1

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ members = [
77
"partiql-conformance-tests",
88
"partiql-source-map",
99
"partiql-eval",
10+
"partiql-ir",
1011
"partiql-irgen",
1112
"partiql-parser",
1213
"partiql-rewriter",

partiql-ir/Cargo.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[package]
2+
name = "partiql-ir"
3+
authors = ["PartiQL Team <partiql-team@amazon.com>"]
4+
description = "PartiQL Intermediate Representation"
5+
homepage = "https://github.com/partiql/partiql-lang-rust"
6+
repository = "https://github.com/partiql/partiql-lang-rust"
7+
license = "Apache-2.0"
8+
readme = "../README.md"
9+
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
10+
categories = ["database", "compilers", "parser-implementations"]
11+
exclude = [
12+
"**/.git/**",
13+
"**/.github/**",
14+
"**/.travis.yml",
15+
"**/.appveyor.yml",
16+
]
17+
edition = "2021"
18+
version = "0.0.0"
19+
20+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
21+
22+
[dependencies]

partiql-ir/LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

partiql-ir/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn todo() {}
5+
}

0 commit comments

Comments
 (0)