Skip to content

Commit e6a7b10

Browse files
committed
feat: remove read module
chore: add new dependency chore: format feat: error module feat: introduce hashql_eval interner chore: checkpoint feat: checkpoint feat: checkpoint chore: remove old value module feat: checkpoint feat: checkpoint feat: checkpoint feat: checkpoint feat: checkpoint chore: checkpoint feat: move entity query into its own modul fix: query request feat: checkpoint (it compiles!) feat: checkpoint feat: checkpoint feat: checkpoint fix: issue around cached thunking feat: covariance for opaque inners fix: cfgattr serde chore: remove graph module fix: merge fuckup
1 parent 044a4ff commit e6a7b10

10 files changed

Lines changed: 38 additions & 39 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ smallvec = { version = "2.0.0-alpha.11", default-featu
249249
smol_str = { version = "0.3.4" }
250250
sort-package-json = { version = "0.0.12" }
251251
specta = { version = "2.0.0-rc.22", default-features = false }
252+
sqruff-lib = { version = "0.37.3" }
253+
sqruff-lib-core = { version = "0.37.3" }
252254
stacker = { version = "0.1.22", default-features = false }
253255
supports-color = { version = "3.0.2", default-features = false }
254256
supports-unicode = { version = "3.0.0", default-features = false }

libs/@local/hashql/ast/src/lowering/node_renumberer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ impl Visitor<'_> for NodeRenumberer {
2626
}
2727

2828
impl Default for NodeRenumberer {
29+
#[inline]
2930
fn default() -> Self {
3031
Self::new()
3132
}

libs/@local/hashql/ast/src/lowering/sanitizer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ impl<'heap> Visitor<'heap> for Sanitizer {
204204
}
205205

206206
impl Default for Sanitizer {
207+
#[inline]
207208
fn default() -> Self {
208209
Self::new()
209210
}

libs/@local/hashql/compiletest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version.workspace = true
1111
hashql-ast = { workspace = true, public = true }
1212
hashql-core = { workspace = true, public = true }
1313
hashql-diagnostics = { workspace = true, features = ["render"], public = true }
14-
hashql-eval = { workspace = true, features = ["graph"], public = true }
14+
hashql-eval = { workspace = true, public = true }
1515
hashql-hir = { workspace = true, public = true }
1616
hashql-mir = { workspace = true, public = true }
1717
hashql-syntax-jexpr = { workspace = true, public = true }

libs/@local/hashql/compiletest/src/suite/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ mod ast_lowering_special_form_expander;
99
mod ast_lowering_type_definition_extractor;
1010
mod ast_lowering_type_extractor;
1111
pub(crate) mod common;
12-
mod eval_graph_read_entity;
1312
mod eval_postgres;
1413
mod hir_lower_alias_replacement;
1514
mod hir_lower_checking;
@@ -50,8 +49,7 @@ use self::{
5049
ast_lowering_sanitizer::AstLoweringSanitizerSuite,
5150
ast_lowering_special_form_expander::AstLoweringSpecialFormExpanderSuite,
5251
ast_lowering_type_definition_extractor::AstLoweringTypeDefinitionExtractorSuite,
53-
ast_lowering_type_extractor::AstLoweringTypeExtractorSuite,
54-
eval_graph_read_entity::EvalGraphReadEntitySuite, eval_postgres::EvalPostgres,
52+
ast_lowering_type_extractor::AstLoweringTypeExtractorSuite, eval_postgres::EvalPostgres,
5553
hir_lower_alias_replacement::HirLowerAliasReplacementSuite,
5654
hir_lower_checking::HirLowerTypeCheckingSuite, hir_lower_ctor::HirLowerCtorSuite,
5755
hir_lower_graph_hoisting::HirLowerGraphHoistingSuite,
@@ -152,7 +150,6 @@ const SUITES: &[&dyn Suite] = &[
152150
&AstLoweringSpecialFormExpanderSuite,
153151
&AstLoweringTypeDefinitionExtractorSuite,
154152
&AstLoweringTypeExtractorSuite,
155-
&EvalGraphReadEntitySuite,
156153
&EvalPostgres,
157154
&HirLowerAliasReplacementSuite,
158155
&HirLowerCtorSuite,

libs/@local/hashql/eval/Cargo.toml

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,38 @@ hashql-mir = { workspace = true, public = true }
1818

1919
# Private workspace dependencies
2020
hashql-core = { workspace = true }
21-
type-system = { workspace = true, optional = true }
2221

2322
# Private third-party dependencies
24-
bytes.workspace = true
25-
derive_more = { workspace = true, features = ["display"] }
26-
futures-lite = "2.6.1"
27-
postgres-protocol.workspace = true
28-
postgres-types = { workspace = true, features = ["uuid-1"] }
29-
serde = { workspace = true }
30-
serde_json = { workspace = true, features = ["raw_value"] }
31-
simple-mermaid = { workspace = true }
32-
tokio.workspace = true
33-
tokio-postgres.workspace = true
34-
tokio-util = { workspace = true, features = ["rt"] }
35-
url.workspace = true
36-
uuid.workspace = true
23+
bytes = { workspace = true }
24+
derive_more = { workspace = true, features = ["display"] }
25+
futures-lite = "2.6.1"
26+
postgres-protocol = { workspace = true }
27+
postgres-types = { workspace = true, features = ["uuid-1"] }
28+
serde = { workspace = true }
29+
serde_json = { workspace = true, features = ["raw_value"] }
30+
simple-mermaid = { workspace = true }
31+
tokio = { workspace = true }
32+
tokio-postgres = { workspace = true }
33+
tokio-util = { workspace = true, features = ["rt"] }
34+
url.workspace = true
35+
uuid.workspace = true
3736

3837
[dev-dependencies]
39-
error-stack.workspace = true
40-
hash-graph-authorization = { workspace = true }
41-
hash-graph-store.workspace = true
42-
hash-graph-test-data.workspace = true
43-
hashql-compiletest = { workspace = true }
44-
hashql-diagnostics = { workspace = true, features = ["render"] }
45-
insta = { workspace = true }
46-
libtest-mimic = { workspace = true }
47-
regex = { workspace = true }
48-
similar-asserts = { workspace = true }
49-
sqruff-lib = "0.37.3"
50-
sqruff-lib-core = "0.37.3"
51-
testcontainers = { workspace = true, features = ["reusable-containers"] }
52-
testcontainers-modules = { workspace = true, features = ["postgres"] }
53-
54-
[features]
55-
graph = ["dep:hash-graph-store", "dep:type-system"]
38+
error-stack = { workspace = true }
39+
hash-graph-authorization = { workspace = true }
40+
hash-graph-store = { workspace = true }
41+
hash-graph-test-data = { workspace = true }
42+
hashql-compiletest = { workspace = true }
43+
hashql-diagnostics = { workspace = true, features = ["render"] }
44+
insta = { workspace = true }
45+
libtest-mimic = { workspace = true }
46+
regex = { workspace = true }
47+
similar-asserts = { workspace = true }
48+
sqruff-lib = { workspace = true }
49+
sqruff-lib-core = { workspace = true }
50+
testcontainers = { workspace = true, features = ["reusable-containers"] }
51+
testcontainers-modules = { workspace = true, features = ["postgres"] }
52+
type-system = { workspace = true }
5653

5754
[lints]
5855
workspace = true

libs/@local/hashql/eval/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// Library Features
1313
allocator_api,
1414
iter_array_chunks,
15-
iterator_try_collect,
1615
maybe_uninit_fill,
1716
impl_trait_in_assoc_type,
1817
try_blocks
@@ -25,8 +24,6 @@
2524
extern crate alloc;
2625
pub mod context;
2726
pub mod error;
28-
#[cfg(feature = "graph")]
29-
pub mod graph;
3027
pub mod intern;
3128
pub mod orchestrator;
3229
pub mod postgres;

libs/@local/hashql/hir/src/context.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ impl SymbolRegistry<'_> {
2323
}
2424

2525
impl Default for SymbolRegistry<'_> {
26+
#[inline]
2627
fn default() -> Self {
2728
Self::new()
2829
}
@@ -44,6 +45,7 @@ impl Counter {
4445
}
4546

4647
impl Default for Counter {
48+
#[inline]
4749
fn default() -> Self {
4850
Self::new()
4951
}

libs/@local/hashql/hir/src/lower/normalization.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ pub struct NormalizationState<'heap> {
210210
}
211211

212212
impl Default for NormalizationState<'_> {
213+
#[inline]
213214
fn default() -> Self {
214215
Self {
215216
recycler: VecPool::new(4),

libs/@local/hashql/hir/src/map.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ impl<'heap> HirMap<'heap> {
169169
}
170170

171171
impl Default for HirMap<'_> {
172+
#[inline]
172173
fn default() -> Self {
173174
Self::new()
174175
}

0 commit comments

Comments
 (0)