mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
222cced75e
* Dedup PhysicalValue
We had 2 different PhysicalValue structs in pcb-sch and pcb-zen-core
just to avoid adding starlark deps to pcb-sch. I don't think its worth
it.
* Use rust_decimal_macros
Factor out some duplicate code
* Add proper enum -> String attr support
* Add config("mpn") to generated components for compat
* Format list component properties nicely when exporting to kicad
* Format physical value, enum, list kicad properties in compiler
* Don't rely on __attr__ values
Handle typed, stringified component properties directly.
* Title case kicad properties
134 lines
3.8 KiB
TOML
134 lines
3.8 KiB
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
version = "0.2.17"
|
|
edition = "2021"
|
|
repository = "https://github.com/diodeinc/pcb"
|
|
homepage = "https://github.com/diodeinc/pcb"
|
|
authors = ["Diode Computers, Inc. <founders@diode.computer>"]
|
|
|
|
[workspace.dependencies]
|
|
starlark = { git = "https://github.com/diodeinc/starlark-rust", rev = "e80bd650" }
|
|
starlark_map = { git = "https://github.com/diodeinc/starlark-rust", rev = "e80bd650" }
|
|
starlark_derive = { git = "https://github.com/diodeinc/starlark-rust", rev = "e80bd650" }
|
|
starlark_syntax = { git = "https://github.com/diodeinc/starlark-rust", rev = "e80bd650" }
|
|
allocative = { git = "https://github.com/diodeinc/starlark-rust", rev = "e80bd650" }
|
|
|
|
ruff_python_formatter = { git = "https://github.com/astral-sh/ruff", tag = "0.13.0" }
|
|
ruff_formatter = { git = "https://github.com/astral-sh/ruff", tag = "0.13.0" }
|
|
|
|
gltfpack-sys = "0.1.2"
|
|
|
|
similar = "2.7.0"
|
|
|
|
pcb-command-runner = { path = "crates/pcb-command-runner" }
|
|
pcb-eda = { path = "crates/pcb-eda" }
|
|
pcb-layout = { path = "crates/pcb-layout" }
|
|
pcb-sch = { path = "crates/pcb-sch" }
|
|
pcb-zen = { path = "crates/pcb-zen" }
|
|
pcb-zen-core = { path = "crates/pcb-zen-core", default-features = true }
|
|
pcb-ui = { path = "crates/pcb-ui" }
|
|
pcb-kicad = { path = "crates/pcb-kicad" }
|
|
pcb-sexpr = { path = "crates/pcb-sexpr", features = ["serde"] }
|
|
pcb-starlark-lsp = { path = "crates/pcb-starlark-lsp" }
|
|
pcb-fmt = { path = "crates/pcb-fmt" }
|
|
pcb-test-utils = { path = "crates/pcb-test-utils" }
|
|
pcb-sim = { path = "crates/pcb-sim" }
|
|
pcb-diode-api = { path = "crates/pcb-diode-api" }
|
|
pcb-mcp = { path = "crates/pcb-mcp" }
|
|
|
|
anyhow = "1.0"
|
|
ariadne = { version = "0.5", features = ["auto-color"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
clap = { version = "4", features = ["derive", "wrap_help"] }
|
|
colored = "2"
|
|
derive_more = { version = "1.0.0", features = ["full"] }
|
|
dirs = "6"
|
|
dir_diff = "0.3.3"
|
|
dupe = "0.9.1"
|
|
duct = "1.1.0"
|
|
env_logger = "0.11"
|
|
indicatif = "0.17.8"
|
|
inquire = "0.7"
|
|
itertools = "0.13.0"
|
|
log = "0.4"
|
|
lru = "0.12"
|
|
minijinja = "2.5"
|
|
once_cell = "1.21.3"
|
|
open = "5"
|
|
regex = "1.11.0"
|
|
scan_fmt = "0.2.6"
|
|
natord = "1.0.9"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tempfile = "3.10.1"
|
|
thiserror = "1.0"
|
|
toml = "0.8"
|
|
uuid = { version = "1.4", features = ["v4", "v5"] }
|
|
walkdir = "2.3"
|
|
which = "7.0"
|
|
deunicode = "1.6"
|
|
insta = { version = "1.39", features = ["yaml", "filters", "json"] }
|
|
argfile = "0.1.0"
|
|
assert_cmd = "2.0"
|
|
assert_fs = "1.0"
|
|
base64 = "0.22"
|
|
console_error_panic_hook = "0.1"
|
|
console_log = "1.0.0"
|
|
crossterm = "0.28.1"
|
|
csv = "1.4"
|
|
debugserver-types = "0.5.0"
|
|
derivative = "2.2"
|
|
display_container = "0.9.0"
|
|
either = "1.8"
|
|
fixedbitset = "0.4"
|
|
getrandom = "0.2"
|
|
globset = "0.4.13"
|
|
js-sys = "0.3"
|
|
lazy_static = "1.4"
|
|
lsp-server = "0.7.2"
|
|
lsp-types = "0.94.1"
|
|
maplit = "1.0.2"
|
|
md5 = "0.7"
|
|
os_pipe = "1.1.4"
|
|
paste = "1.0"
|
|
pathdiff = "0.2"
|
|
regress = "0.10.2"
|
|
reqwest = { version = "0.12.19", features = ["blocking", "json"] }
|
|
rand = "0.8"
|
|
serde-wasm-bindgen = "0.6"
|
|
serde_yaml = "0.9"
|
|
serial_test = "3.0"
|
|
smallvec = "1.15"
|
|
strip-ansi-escapes = "0.2"
|
|
tar = "0.4"
|
|
terminal_size = "0.4.0"
|
|
textwrap = "0.11"
|
|
typify = "0.3.0"
|
|
unicode-width = "0.2.0"
|
|
urlencoding = "2.1"
|
|
wasm-bindgen = "0.2.95"
|
|
wasm-bindgen-test = "0.3"
|
|
web-sys = { version = "0.3", features = ["console"] }
|
|
zip = { version = "4.3", default-features = false, features = ["deflate"] }
|
|
flate2 = "1.0.34"
|
|
fslock = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
rust_decimal = { version = "1.38", features = ["serde", "serde-with-str"] }
|
|
rust_decimal_macros = "1.38"
|
|
comfy-table = "7.1"
|
|
url = "2.5"
|
|
dir-diff = "0.3"
|
|
ignore = "0.4"
|
|
sha2 = "0.10"
|
|
semver = "1.0"
|
|
|
|
# The profile that 'dist' will build with
|
|
[profile.dist]
|
|
inherits = "release"
|
|
lto = "fat" # Maximum link-time optimization
|
|
codegen-units = 1 # Better optimization
|
|
strip = "debuginfo" # Strip debug symbols
|