Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ on:
paths:
- '.github/workflows/rust-cubesql.yml'
- 'packages/cubejs-backend-native/**'
- 'rust/cubenativeutils/**'
- 'rust/cubesqlplanner/**'
- 'rust/cubesql/**'
branches:
- 'master'
pull_request:
paths:
- '.github/workflows/rust-cubesql.yml'
- 'packages/cubejs-backend-native/**'
- 'rust/cubenativeutils/**'
- 'rust/cubesqlplanner/**'
- 'rust/cubesql/**'

jobs:
Expand Down Expand Up @@ -43,6 +47,10 @@ jobs:
run: cd rust/cubesql && cargo fmt --all -- --check
- name: Lint Native
run: cd packages/cubejs-backend-native && cargo fmt --all -- --check
- name: Lint cubenativeutils
run: cd rust/cubenativeutils && cargo fmt --all -- --check
- name: Lint cubesqlplanner
run: cd rust/cubesqlplanner && cargo fmt --all -- --check
- name: Clippy CubeSQL
run: cd rust/cubesql && cargo clippy --locked --workspace --all-targets --keep-going -- -D warnings
- name: Clippy Native
Expand Down
7 changes: 0 additions & 7 deletions packages/cubejs-backend-native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

159 changes: 0 additions & 159 deletions rust/cubenativeutils/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions rust/cubenativeutils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,10 @@ serde_derive = "1.0.115"
serde = "1.0.115"
serde_json = "1.0.56"
log = "0.4.21"
simple_logger = "1.7.0"
uuid = { version = "0.8", features = ["v4"] }
once_cell = "1.10"
libc = "0.2"
findshlibs = "0.10.2"
lazy_static = "1.4.0"
regex = "1.3.9"
convert_case = "0.6.0"
minijinja = { version = "1", features = ["json", "loader"] }
log-reroute = "0.1"
futures = "0.3.23"
# python
pyo3 = { version = "0.20.0", features = [], optional = true }
pyo3-asyncio = { version = "0.20.0", features = ["tokio-runtime", "attributes"], optional = true }

[dependencies.neon]
version = "=1"
Expand Down
4 changes: 2 additions & 2 deletions rust/cubenativeutils/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2023-12-13"
channel = "nightly-2024-07-15"
components = ["rustfmt", "rustc-dev", "clippy"]
profile = "minimal"
profile = "minimal"
1 change: 0 additions & 1 deletion rust/cubenativeutils/src/wrappers/object.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use super::inner_types::InnerTypes;
use super::object_handle::NativeObjectHandle;
use cubesql::CubeError;
use regex::Regex;

pub trait NativeObject<IT: InnerTypes>: Clone {
fn get_context(&self) -> IT::Context;
Expand Down
30 changes: 0 additions & 30 deletions rust/cubesqlplanner/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions rust/cubesqlplanner/cubesqlplanner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ chrono = "0.4.15"
chrono-tz = "0.8.2"
lazy_static = "1.4.0"
regex = "1.3.9"

[dependencies.neon]
version = "=1"
default-features = false
Expand Down
1 change: 0 additions & 1 deletion rust/cubesqlplanner/cubesqlplanner/src/plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pub mod query_plan;
pub mod select;
pub mod union;

use cubenativeutils::CubeError;
pub use expression::Expr;
pub use filter::{Filter, FilterItem};
pub use from::{From, FromSource};
Expand Down
Loading
Loading