-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (39 loc) · 1.33 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "cnccoder"
authors = ["Fredrik Söderström <tirithen@gmail.com>"]
description = "A library for generating gcode operations targeted for GRBL controled cnc machines, and also generates camotics projects for simulation"
homepage = "https://github.com/tirithen/cnccoder"
repository = "https://github.com/tirithen/cnccoder"
readme = "README.md"
license = "MIT OR Apache-2.0"
version = "0.2.0"
edition = "2021"
keywords = ["cnc", "gcode", "grbl", "cam", "camotics"]
categories = ["algorithms", "command-line-utilities", "encoding"]
[features]
default = ["filesystem", "doc-images"]
filesystem = []
doc-images = []
glam = ["dep:glam"]
nalgebra = ["dep:nalgebra"]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
lazy_static = "1"
embed-doc-image = "0.1"
glam = { version = "0.24", optional = true }
nalgebra = { version = "0.32", optional = true }
time = { version = "0.3.36", features = ["local-offset", "parsing"] }
moby-name-gen = "0.1.0"
hostname = "0.4.0"
username = "0.2.0"
[dev-dependencies]
regex = "1.10.4"
[profile.release]
opt-level = 's'
lto = true
[package.metadata.docs.rs]
# docs.rs uses a nightly compiler, so by instructing it to use our `doc-images` feature we
# ensure that it will render any images that we may have in inner attribute documentation.
features = ["doc-images"]