Skip to content

Commit

Permalink
v0.5.1: remove unexpected serialization deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Sep 9, 2024
1 parent 345feaa commit 0e5eb47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "g-code"
version = "0.5.0"
version = "0.5.1"
authors = ["Sameer Puri <[email protected]>"]
edition = "2021"
keywords = ["gcode", "g-code", "plotter", "cnc"]
Expand All @@ -22,7 +22,7 @@ codespan-reporting = { version = "0.11", optional = true }
nom = { version = "7.1", optional = true }
paste = "1"
peg = "0.8"
rust_decimal = { version = "1.34", default-features = false, features = ["std"] }
rust_decimal = { version = "1.36", default-features = false }

[dependencies.serde]
default-features = false
Expand All @@ -32,6 +32,7 @@ features = ["derive"]

[features]
default = ["binary", "codespan_helpers"]
serde = ["dep:serde", "rust_decimal/serde"]
binary = ["dep:nom"]
codespan_helpers = ["codespan", "codespan-reporting"]

Expand Down
1 change: 1 addition & 0 deletions lib/src/emit/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub mod command;
#[cfg(feature = "binary")]
pub mod compact;
mod format;
mod token;
Expand Down
1 change: 1 addition & 0 deletions lib/src/parse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use codespan_reporting::diagnostic::{Diagnostic as CodespanDiagnostic, Label};
mod parser;
pub use parser::g_code::{file_parser, snippet_parser};
pub mod ast;
#[cfg(feature = "binary")]
pub mod compact;
pub mod token;

Expand Down

0 comments on commit 0e5eb47

Please sign in to comment.