[package]
edition = "2024"
rust-version = "1.85"
name = "gcode"
version = "0.7.0-rc.1"
authors = ["Michael Bryan <michaelfbryan@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A gcode parser for no-std applications."
readme = "README.md"
keywords = [
"gcode",
"parser",
]
categories = [
"no-std",
"parser-implementations",
"embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Michael-F-Bryan/gcode-rs"
[package.metadata.docs.rs]
features = ["unstable-doc-cfg"]
rust-version = "1.85"
[badges.maintenance]
status = "actively-developed"
[features]
alloc = []
default = [
"alloc",
"serde",
]
serde = ["dep:serde"]
unstable-doc-cfg = []
[lib]
name = "gcode"
path = "src/lib.rs"
[[example]]
name = "pretty_print_visitor"
path = "examples/pretty_print_visitor.rs"
doc-scrape-examples = true
[[test]]
name = "parse_fixtures"
path = "tests/parse_fixtures.rs"
harness = false
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[[bench]]
name = "example_files"
path = "benches/example_files.rs"
[dependencies.cfg-if]
version = "1.0.4"
[dependencies.doc-cfg]
version = "0.1.0"
[dependencies.document-features]
version = "0.2"
[dependencies.libm]
version = "0.2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.insta]
version = "1.46.3"
[dev-dependencies.libtest-mimic]
version = "0.7"
[dev-dependencies.pretty_assertions]
version = "1.4"