Skip to content
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

Feat/no std parser #176

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 4 additions & 0 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
run: cargo check -p proof-of-sql --no-default-features --features="test"
- name: Run cargo check (proof-of-sql) (just "blitzar" feature)
run: cargo check -p proof-of-sql --no-default-features --features="blitzar"
- name: Install no_std target
run: rustup target add thumbv7em-none-eabi
- name: Run cargo check (proof-of-sql-parser) with no_std target
run: cargo check -p proof-of-sql-parser --target thumbv7em-none-eabi

test:
name: Test Suite
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ flexbuffers = { version = "2.0.0" }
# forge-script = { git = "https://github.com/foundry-rs/foundry", tag = "nightly-bf1a39980532f76cd76fd87ee32661180f606435" }
indexmap = { version = "2.1" }
itertools = { version = "0.13.0" }
lalrpop = { version = "0.21.0" }
lalrpop-util = { version = "0.20.0", default-features = false }
lalrpop = { git = "https://github.com/lalrpop/lalrpop", rev = "9e0ccd64aab70e166614b34be932cc58c407945c" }
lalrpop-util = { git = "https://github.com/lalrpop/lalrpop", rev = "9e0ccd64aab70e166614b34be932cc58c407945c", default-features = false }
lazy_static = { version = "1.4.0" }
merlin = { version = "2" }
num-traits = { version = "0.2" }
Expand All @@ -54,7 +54,7 @@ rand_core = { version = "0.6", default-features = false }
rayon = { version = "1.5" }
serde = { version = "1", default-features = false }
serde_json = { version = "1" }
thiserror = { version = "1", default-features = false }
thiserror = { git = "https://github.com/dtolnay/thiserror", rev = "44737a516b7fd0cc9dabcab07e7b1f927f8f5636", default-features = false }
tiny-keccak = { version = "2.0.2", features = [ "keccak" ] }
# tokio = { version = "1.39.3" }
tracing = { version = "0.1.36" }
Expand Down
1 change: 1 addition & 0 deletions crates/proof-of-sql-parser/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![doc = include_str!("../README.md")]
#![no_std]
extern crate alloc;

/// Module for handling an intermediate decimal type received from the lexer.
Expand Down
Loading