2023-02-21 09:42:41 +11:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
|
|
|
version = 3
|
|
|
|
|
2023-08-19 23:18:54 -07:00
|
|
|
[[package]]
|
|
|
|
name = "Inflector"
|
|
|
|
version = "0.11.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
]
|
2023-08-19 23:18:54 -07:00
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
2023-08-25 13:41:04 -07:00
|
|
|
version = "0.21.0"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-25 13:41:04 -07:00
|
|
|
checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
|
2023-08-18 19:37:52 +10:00
|
|
|
dependencies = [
|
|
|
|
"gimli",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.8.11"
|
2023-08-28 14:58:24 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
2023-08-30 21:05:35 -07:00
|
|
|
"cfg-if",
|
2023-08-28 14:58:24 -07:00
|
|
|
"getrandom",
|
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
2023-10-24 11:24:59 -07:00
|
|
|
"zerocopy",
|
2023-08-28 14:58:24 -07:00
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.1.3"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "android-tzdata"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "android_system_properties"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "anes"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "anstyle"
|
2024-08-12 10:21:07 -07:00
|
|
|
version = "1.0.8"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-12 10:21:07 -07:00
|
|
|
checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
|
2023-09-05 16:02:27 -07:00
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2024-09-16 11:32:54 -07:00
|
|
|
version = "1.0.89"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:32:54 -07:00
|
|
|
checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "approx"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08abcc3b4e9339e33a3d0a5ed15d84a687350c05689d825e0f6655eef9e76a94"
|
|
|
|
|
2024-02-11 12:59:00 +11:00
|
|
|
[[package]]
|
|
|
|
name = "approx"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
|
|
|
|
dependencies = [
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2024-02-11 12:59:00 +11:00
|
|
|
]
|
|
|
|
|
2024-05-20 22:07:56 -07:00
|
|
|
[[package]]
|
|
|
|
name = "arbitrary"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
|
|
|
|
dependencies = [
|
|
|
|
"derive_arbitrary",
|
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "async-codec-lite"
|
|
|
|
version = "0.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2527c30e3972d8ff366b353125dae828c4252a154dbe6063684f6c5e014760a3"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"bytes",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"log",
|
|
|
|
"pin-project-lite",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2023-09-20 18:27:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "async-recursion"
|
2024-04-25 22:02:00 -07:00
|
|
|
version = "1.1.1"
|
2023-09-20 18:27:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-25 22:02:00 -07:00
|
|
|
checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11"
|
2023-09-20 18:27:08 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-20 18:27:08 -07:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "async-trait"
|
2024-09-03 09:15:03 -07:00
|
|
|
version = "0.1.82"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-03 09:15:03 -07:00
|
|
|
checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "auto_impl"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.2.0"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
|
|
|
name = "backtrace"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.3.70"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "95d8e92cac0961e91dbd517496b00f7e9b92363dbe6d42c3198268323798860c"
|
2023-08-18 19:37:52 +10:00
|
|
|
dependencies = [
|
|
|
|
"addr2line",
|
|
|
|
"cc",
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
|
|
|
"miniz_oxide",
|
|
|
|
"object",
|
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.13.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.21.7"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2024-03-26 21:28:50 -07:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2024-05-01 09:47:32 -07:00
|
|
|
version = "0.22.1"
|
2024-03-26 21:28:50 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-01 09:47:32 -07:00
|
|
|
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
2024-03-26 21:28:50 -07:00
|
|
|
|
2023-09-20 17:36:26 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bigdecimal"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.3"
|
2023-09-20 17:36:26 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "9324c8014cd04590682b34f1e9448d38f0674d0f7b2dc553331016ef0e4e9ebc"
|
2023-09-20 17:36:26 -07:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"libm",
|
|
|
|
"num-bigint",
|
|
|
|
"num-integer",
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2023-09-20 17:36:26 -07:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-08-02 16:23:17 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bincode"
|
|
|
|
version = "1.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.5.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bitvec"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
|
|
|
|
dependencies = [
|
|
|
|
"funty",
|
|
|
|
"radium",
|
|
|
|
"tap",
|
|
|
|
"wyz",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.10.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bson"
|
2024-09-20 10:21:11 -07:00
|
|
|
version = "2.13.0"
|
2023-08-28 14:58:24 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-20 10:21:11 -07:00
|
|
|
checksum = "068208f2b6fcfa27a7f1ee37488d2bb8ba2640f68f5475d08e1d9130696aba59"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
|
|
|
"ahash",
|
|
|
|
"base64 0.13.1",
|
|
|
|
"bitvec",
|
|
|
|
"chrono",
|
|
|
|
"hex",
|
2024-09-19 14:06:29 -07:00
|
|
|
"indexmap 2.5.0",
|
2023-08-28 14:58:24 -07:00
|
|
|
"js-sys",
|
2023-08-30 21:05:35 -07:00
|
|
|
"once_cell",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand 0.8.5",
|
2023-08-28 14:58:24 -07:00
|
|
|
"serde",
|
|
|
|
"serde_bytes",
|
|
|
|
"serde_json",
|
2023-09-14 15:05:07 -06:00
|
|
|
"time",
|
2023-08-28 14:58:24 -07:00
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "3.15.4"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa"
|
2023-02-21 09:42:41 +11:00
|
|
|
|
2024-07-25 18:02:49 -04:00
|
|
|
[[package]]
|
|
|
|
name = "bytecount"
|
|
|
|
version = "0.6.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce"
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bytemuck"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.15.0"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "5d6d68c57235a3a081186990eca2867354726650f42f7516ca50c28d6281fd15"
|
2023-09-12 14:59:40 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "1.5.0"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
2024-08-04 00:51:30 -04:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder-lite"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2023-09-18 18:22:25 -06:00
|
|
|
version = "1.5.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-18 18:22:25 -06:00
|
|
|
checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cast"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.0.90"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
|
2023-08-18 19:37:52 +10:00
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cgmath"
|
|
|
|
version = "0.16.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "64a4b57c8f4e3a2e9ac07e0f6abc9c24b6fc9e1b54c3478cfb598f3d0023e51c"
|
|
|
|
dependencies = [
|
|
|
|
"approx 0.1.1",
|
|
|
|
"mint",
|
|
|
|
"num-traits 0.1.43",
|
|
|
|
"rand 0.4.6",
|
|
|
|
]
|
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "chrono"
|
2024-04-16 10:54:52 -07:00
|
|
|
version = "0.4.38"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-16 10:54:52 -07:00
|
|
|
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"android-tzdata",
|
2023-08-25 13:41:04 -07:00
|
|
|
"iana-time-zone",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
"js-sys",
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2023-08-18 08:12:32 -07:00
|
|
|
"serde",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
"wasm-bindgen",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-targets 0.52.4",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ciborium"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.2"
|
2023-09-20 13:15:28 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
|
2023-09-20 13:15:28 -05:00
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"ciborium-ll",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-io"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.2"
|
2023-09-20 13:15:28 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
|
2023-09-20 13:15:28 -05:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-ll"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.2"
|
2023-09-20 13:15:28 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
2023-09-20 13:15:28 -05:00
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
2024-03-23 15:45:55 -07:00
|
|
|
"half",
|
2023-09-20 13:15:28 -05:00
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2024-09-05 13:14:06 -07:00
|
|
|
version = "4.5.17"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-05 13:14:06 -07:00
|
|
|
checksum = "3e5a21b8495e732f1b3c364c9949b201ca7bae518c502c80256c96ad79eaf6ac"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"clap_builder",
|
2023-09-14 15:05:07 -06:00
|
|
|
"clap_derive",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_builder"
|
2024-09-05 13:14:06 -07:00
|
|
|
version = "4.5.17"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-05 13:14:06 -07:00
|
|
|
checksum = "8cf2dd12af7a047ad9d6da2b6b249759a22a7abc0f474c1dae1777afa4b21a73"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"anstyle",
|
2023-09-14 15:05:07 -06:00
|
|
|
"clap_lex",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_derive"
|
2024-07-31 22:18:40 -07:00
|
|
|
version = "4.5.13"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-31 22:18:40 -07:00
|
|
|
checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
2024-03-21 03:57:58 +00:00
|
|
|
"heck 0.5.0",
|
2023-09-05 16:02:27 -07:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_lex"
|
2024-02-11 11:09:03 -08:00
|
|
|
version = "0.7.0"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 11:09:03 -08:00
|
|
|
checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
|
2023-09-05 16:02:27 -07:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.1.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "console"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.15.8"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"encode_unicode",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"unicode-width",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-03-11 17:50:31 -07:00
|
|
|
[[package]]
|
|
|
|
name = "console_error_panic_hook"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "convert_case"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
|
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.9.4"
|
2023-08-28 14:58:24 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.8.6"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "cpufeatures"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.12"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.4.0"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "criterion"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f"
|
|
|
|
dependencies = [
|
|
|
|
"anes",
|
|
|
|
"cast",
|
|
|
|
"ciborium",
|
|
|
|
"clap",
|
|
|
|
"criterion-plot",
|
2024-06-27 15:43:49 -07:00
|
|
|
"futures",
|
2023-09-20 13:15:28 -05:00
|
|
|
"is-terminal",
|
|
|
|
"itertools 0.10.5",
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2023-09-20 13:15:28 -05:00
|
|
|
"once_cell",
|
|
|
|
"oorandom",
|
|
|
|
"plotters",
|
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tinytemplate",
|
2024-06-27 15:43:49 -07:00
|
|
|
"tokio",
|
2023-09-20 13:15:28 -05:00
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "criterion-plot"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
|
|
|
dependencies = [
|
|
|
|
"cast",
|
|
|
|
"itertools 0.10.5",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.5.12"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "ab3db02a9c5b5121e1e42fbdb1aeb65f5e02624cc58c43f2884c6ccac0b82f95"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.8.5"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.9.18"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.8.19"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "crunchy"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-common"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array",
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
2024-04-25 00:13:09 -07:00
|
|
|
[[package]]
|
|
|
|
name = "darling"
|
|
|
|
version = "0.20.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "54e36fcd13ed84ffdfda6f5be89b31287cbb80c439841fe69e04841435464391"
|
|
|
|
dependencies = [
|
|
|
|
"darling_core",
|
|
|
|
"darling_macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darling_core"
|
|
|
|
version = "0.20.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f"
|
|
|
|
dependencies = [
|
|
|
|
"fnv",
|
|
|
|
"ident_case",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-08-24 17:47:09 -07:00
|
|
|
"strsim",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-04-25 00:13:09 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darling_macro"
|
|
|
|
version = "0.20.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f"
|
|
|
|
dependencies = [
|
|
|
|
"darling_core",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-04-25 00:13:09 -07:00
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "dashmap"
|
|
|
|
version = "5.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2024-03-23 15:45:55 -07:00
|
|
|
"hashbrown 0.14.3",
|
2023-09-05 16:02:27 -07:00
|
|
|
"lock_api",
|
|
|
|
"once_cell",
|
2023-10-24 11:24:59 -07:00
|
|
|
"parking_lot_core 0.9.9",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
2024-06-24 21:37:34 -07:00
|
|
|
[[package]]
|
|
|
|
name = "dashmap"
|
2024-09-06 10:07:51 -07:00
|
|
|
version = "6.1.0"
|
2024-06-24 21:37:34 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-06 10:07:51 -07:00
|
|
|
checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
|
2024-06-24 21:37:34 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"hashbrown 0.14.3",
|
|
|
|
"lock_api",
|
|
|
|
"once_cell",
|
|
|
|
"parking_lot_core 0.9.9",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "data-encoding"
|
2024-08-14 14:26:44 -04:00
|
|
|
version = "2.6.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-14 14:26:44 -04:00
|
|
|
checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2023-11-09 16:39:12 -06:00
|
|
|
[[package]]
|
|
|
|
name = "databake"
|
2024-06-11 07:49:30 -05:00
|
|
|
version = "0.1.8"
|
2023-11-09 16:39:12 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-11 07:49:30 -05:00
|
|
|
checksum = "6a04fbfbecca8f0679c8c06fef907594adcc3e2052e11163a6d30535a1a5604d"
|
2023-11-09 16:39:12 -06:00
|
|
|
dependencies = [
|
|
|
|
"databake-derive",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "databake-derive"
|
2024-06-11 07:49:30 -05:00
|
|
|
version = "0.1.8"
|
2023-11-09 16:39:12 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-11 07:49:30 -05:00
|
|
|
checksum = "4078275de501a61ceb9e759d37bdd3d7210e654dbc167ac1a3678ef4435ed57b"
|
2023-11-09 16:39:12 -06:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-06-04 16:28:32 -05:00
|
|
|
"synstructure",
|
2023-11-09 16:39:12 -06:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "deranged"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.3.11"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
|
2023-10-24 11:24:59 -07:00
|
|
|
dependencies = [
|
|
|
|
"powerfmt",
|
|
|
|
]
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "derive-docs"
|
2024-09-19 16:31:32 -07:00
|
|
|
version = "0.1.27"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-13 12:56:46 -07:00
|
|
|
"Inflector",
|
2024-03-23 15:45:55 -07:00
|
|
|
"anyhow",
|
2023-08-25 13:41:04 -07:00
|
|
|
"convert_case",
|
|
|
|
"expectorate",
|
Remove just one enum (#1096)
# Problem
This is my proposal for fixing #1107 . I've only done it for one stdlib function, `tangentialArcTo` -- if y'all like it, I'll apply this idea to the rest of the stdlib.
Previously, if users want to put a tag on the arc, the function's parameters change type.
```
// Tag missing: first param is array
tangentialArcTo([x, y], %)
// Tag present: first param is object
tangentialArcTo({to: [x, y], tag: "myTag"}, %)
```
# Solution
My proposal in #1006 is that KCL should have optional values. This means we can change the stdlib `tangentialArcTo` function to use them. In this PR, the calls are now like
```
// Tag missing: first param is array
tangentialArcTo([x, y], %)
// Tag present: first param is array still, but we now pass a tag at the end.
tangentialArcTo([x, y], %, "myTag")
```
This adds an "option" type to KCL typesystem, but it's not really revealed to users (no KCL types are revealed to users right now, they write untyped code and only interact with types when they get type errors upon executing programs). Also adds a None type, which is the default case of the Optional enum.
2023-12-18 23:49:32 -06:00
|
|
|
"once_cell",
|
2023-08-25 13:41:04 -07:00
|
|
|
"pretty_assertions",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
Remove just one enum (#1096)
# Problem
This is my proposal for fixing #1107 . I've only done it for one stdlib function, `tangentialArcTo` -- if y'all like it, I'll apply this idea to the rest of the stdlib.
Previously, if users want to put a tag on the arc, the function's parameters change type.
```
// Tag missing: first param is array
tangentialArcTo([x, y], %)
// Tag present: first param is object
tangentialArcTo({to: [x, y], tag: "myTag"}, %)
```
# Solution
My proposal in #1006 is that KCL should have optional values. This means we can change the stdlib `tangentialArcTo` function to use them. In this PR, the calls are now like
```
// Tag missing: first param is array
tangentialArcTo([x, y], %)
// Tag present: first param is array still, but we now pass a tag at the end.
tangentialArcTo([x, y], %, "myTag")
```
This adds an "option" type to KCL typesystem, but it's not really revealed to users (no KCL types are revealed to users right now, they write untyped code and only interact with types when they get type errors upon executing programs). Also adds a None type, which is the default case of the Optional enum.
2023-12-18 23:49:32 -06:00
|
|
|
"regex",
|
2024-03-23 15:45:55 -07:00
|
|
|
"rustfmt-wrapper",
|
2024-03-13 14:22:22 -07:00
|
|
|
"serde",
|
|
|
|
"serde_tokenstream",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-03-13 14:22:22 -07:00
|
|
|
]
|
|
|
|
|
2024-05-20 22:07:56 -07:00
|
|
|
[[package]]
|
|
|
|
name = "derive_arbitrary"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-05-20 22:07:56 -07:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
|
|
|
version = "0.1.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.10.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer",
|
|
|
|
"crypto-common",
|
|
|
|
]
|
|
|
|
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "displaydoc"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "dyn-clone"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.0.17"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2024-05-19 23:36:44 -07:00
|
|
|
version = "1.12.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-19 23:36:44 -07:00
|
|
|
checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "encode_unicode"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "encoding_rs"
|
|
|
|
version = "0.8.33"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "enum-iterator"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c280b9e6b3ae19e152d8e31cf47f18389781e119d4013a2a2bb0180e5facc635"
|
|
|
|
dependencies = [
|
|
|
|
"enum-iterator-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enum-iterator-derive"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1ab991c1362ac86c61ab6f556cff143daa22e5a15e4e189df818b2fd19fe65b"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn 2.0.77",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "equivalent"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.3.8"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "euler"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f19d11568a4a46aee488bdab3a2963e5e2c3cfd6091aa0abceaddcea82c0bc1"
|
|
|
|
dependencies = [
|
|
|
|
"approx 0.1.1",
|
|
|
|
"cgmath",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "expectorate"
|
2023-09-27 08:39:16 -07:00
|
|
|
version = "1.1.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-27 08:39:16 -07:00
|
|
|
checksum = "de6f19b25bdfa2747ae775f37cd109c31f1272d4e4c83095be0727840aa1d75f"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"console",
|
|
|
|
"newline-converter",
|
|
|
|
"similar",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fastrand"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "2.0.1"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "fdeflate"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.3.4"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"simd-adler32",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "1.0.28"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
|
|
|
"miniz_oxide",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
|
|
|
version = "1.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.2.1"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"percent-encoding",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "format_serde_error"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e5837b8e6a4001f99fe4746767fb7379e8510c508a843caa136cc12ed9c0bad0"
|
|
|
|
dependencies = [
|
|
|
|
"colored",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2024-03-23 15:45:55 -07:00
|
|
|
"serde_yaml",
|
2023-08-25 13:41:04 -07:00
|
|
|
"unicode-segmentation",
|
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-cprng"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "funty"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2024-02-11 19:54:02 +00:00
|
|
|
version = "0.3.30"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-02-11 19:54:02 +00:00
|
|
|
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite",
|
|
|
|
"pin-utils",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.14.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.12"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"libc",
|
2023-09-14 15:05:07 -06:00
|
|
|
"wasi",
|
2023-08-18 08:12:32 -07:00
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.28.1"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2024-04-09 18:05:36 -07:00
|
|
|
[[package]]
|
|
|
|
name = "git_rev"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "60884563ea313b5037683cd5d44f1e14e9cb07b08543756242a65887f9cff48e"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "gloo-utils"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa"
|
|
|
|
dependencies = [
|
|
|
|
"js-sys",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2024-02-12 12:18:37 -08:00
|
|
|
[[package]]
|
|
|
|
name = "gltf-derive"
|
2024-05-13 16:26:42 -07:00
|
|
|
version = "1.4.1"
|
2024-02-12 12:18:37 -08:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-13 16:26:42 -07:00
|
|
|
checksum = "14070e711538afba5d6c807edb74bcb84e5dbb9211a3bf5dea0dfab5b24f4c51"
|
2024-02-12 12:18:37 -08:00
|
|
|
dependencies = [
|
|
|
|
"inflections",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-02-12 12:18:37 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gltf-json"
|
2024-05-13 16:26:42 -07:00
|
|
|
version = "1.4.1"
|
2024-02-12 12:18:37 -08:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-13 16:26:42 -07:00
|
|
|
checksum = "e6176f9d60a7eab0a877e8e96548605dedbde9190a7ae1e80bbcc1c9af03ab14"
|
2024-02-12 12:18:37 -08:00
|
|
|
dependencies = [
|
|
|
|
"gltf-derive",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2024-04-08 18:25:47 -05:00
|
|
|
version = "0.3.26"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-08 18:25:47 -05:00
|
|
|
checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2024-09-19 14:06:29 -07:00
|
|
|
"indexmap 2.5.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
"slab",
|
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "half"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.4.0"
|
2024-03-19 16:19:57 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "b5eceaaeec696539ddaf7b333340f1af35a5aa87ae3e4f3ead0532f72affab2e"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"cfg-if",
|
2023-09-12 14:59:40 -07:00
|
|
|
"crunchy",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
|
|
|
version = "0.12.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.14.3"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
|
|
|
2024-03-21 03:57:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
2024-03-19 16:19:57 -05:00
|
|
|
name = "hermit-abi"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.3.9"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "home"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.5.9"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "http"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.12"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"itoa",
|
|
|
|
]
|
|
|
|
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "http"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.1.0"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"itoa",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.6"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2023-08-25 13:41:04 -07:00
|
|
|
"pin-project-lite",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "httparse"
|
|
|
|
version = "1.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
2023-08-25 13:41:04 -07:00
|
|
|
name = "httpdate"
|
|
|
|
version = "1.0.3"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-25 13:41:04 -07:00
|
|
|
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
|
|
|
[[package]]
|
2023-08-25 13:41:04 -07:00
|
|
|
name = "hyper"
|
2024-06-06 16:01:41 -05:00
|
|
|
version = "0.14.29"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-06 16:01:41 -05:00
|
|
|
checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
2023-08-25 13:41:04 -07:00
|
|
|
"bytes",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"h2",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2023-08-25 13:41:04 -07:00
|
|
|
"http-body",
|
|
|
|
"httparse",
|
|
|
|
"httpdate",
|
|
|
|
"itoa",
|
|
|
|
"pin-project-lite",
|
2024-03-23 15:45:55 -07:00
|
|
|
"socket2",
|
2023-08-25 13:41:04 -07:00
|
|
|
"tokio",
|
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
|
|
|
"want",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-08-25 13:41:04 -07:00
|
|
|
name = "hyper-rustls"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.24.2"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"futures-util",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2023-08-25 13:41:04 -07:00
|
|
|
"hyper",
|
2024-05-17 16:06:16 -05:00
|
|
|
"rustls 0.21.12",
|
2023-08-25 13:41:04 -07:00
|
|
|
"tokio",
|
2024-02-11 19:19:37 +00:00
|
|
|
"tokio-rustls 0.24.1",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2024-04-04 09:50:34 -05:00
|
|
|
[[package]]
|
|
|
|
name = "iai"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "71a816c97c42258aa5834d07590b718b4c9a598944cd39a52dc25b351185d678"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
2023-08-25 13:41:04 -07:00
|
|
|
name = "iana-time-zone"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.1.60"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
2023-08-25 13:41:04 -07:00
|
|
|
"android_system_properties",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"iana-time-zone-haiku",
|
|
|
|
"js-sys",
|
2023-08-18 08:12:32 -07:00
|
|
|
"wasm-bindgen",
|
2023-10-24 11:24:59 -07:00
|
|
|
"windows-core",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-08-25 13:41:04 -07:00
|
|
|
name = "iana-time-zone-haiku"
|
|
|
|
version = "0.1.2"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-25 13:41:04 -07:00
|
|
|
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
2023-08-25 13:41:04 -07:00
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2024-04-25 00:13:09 -07:00
|
|
|
[[package]]
|
|
|
|
name = "ident_case"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.5.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "image"
|
2024-08-04 00:51:30 -04:00
|
|
|
version = "0.25.2"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-04 00:51:30 -04:00
|
|
|
checksum = "99314c8a2152b8ddb211f924cdae532d8c5e4c8bb54728e12fff1b0cd5963a10"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"bytemuck",
|
2024-08-04 00:51:30 -04:00
|
|
|
"byteorder-lite",
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2023-09-12 14:59:40 -07:00
|
|
|
"png",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "image-compare"
|
2024-06-04 17:09:01 -05:00
|
|
|
version = "0.4.1"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:09:01 -05:00
|
|
|
checksum = "96cd73af13ae2e7220a1c02fe7d6bb53be50612ba7fabbb5c88e7753645f1f3c"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"image",
|
2024-06-04 17:09:01 -05:00
|
|
|
"itertools 0.12.1",
|
2023-09-12 14:59:40 -07:00
|
|
|
"rayon",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
|
|
|
version = "1.9.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"hashbrown 0.12.3",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2024-09-19 14:06:29 -07:00
|
|
|
version = "2.5.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-19 14:06:29 -07:00
|
|
|
checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"equivalent",
|
2024-03-23 15:45:55 -07:00
|
|
|
"hashbrown 0.14.3",
|
2024-09-19 14:06:29 -07:00
|
|
|
"serde",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-06-19 17:32:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "indoc"
|
|
|
|
version = "2.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
|
|
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "inflections"
|
|
|
|
version = "1.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a257582fdcde896fd96463bf2d40eefea0580021c0712a0e2b028b60b47a837a"
|
|
|
|
|
2023-11-01 12:40:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "insta"
|
2024-09-13 09:41:38 -07:00
|
|
|
version = "1.40.0"
|
2023-11-01 12:40:40 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-13 09:41:38 -07:00
|
|
|
checksum = "6593a41c7a73841868772495db7dc1e8ecab43bb5c0b6da2059246c4b506ab60"
|
2023-11-01 12:40:40 -05:00
|
|
|
dependencies = [
|
|
|
|
"console",
|
|
|
|
"lazy_static",
|
|
|
|
"linked-hash-map",
|
|
|
|
"serde",
|
|
|
|
"similar",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
|
|
|
version = "0.1.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "ipnet"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "2.9.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "is-terminal"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.12"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.10.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2024-05-19 23:36:44 -07:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2023-11-15 11:41:12 -06:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2024-05-17 09:09:23 -07:00
|
|
|
version = "0.13.0"
|
2023-11-15 11:41:12 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 09:09:23 -07:00
|
|
|
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
2023-11-15 11:41:12 -06:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.0.10"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "js-sys"
|
2024-03-05 20:22:54 +00:00
|
|
|
version = "0.3.69"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-05 20:22:54 +00:00
|
|
|
checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
2023-08-29 12:35:45 -07:00
|
|
|
name = "kcl-lib"
|
2024-09-23 11:37:11 -04:00
|
|
|
version = "0.2.18"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
2024-09-18 17:04:04 -05:00
|
|
|
"approx 0.5.1",
|
2023-09-20 18:27:08 -07:00
|
|
|
"async-recursion",
|
2023-09-17 21:57:43 -07:00
|
|
|
"async-trait",
|
2024-05-01 09:47:32 -07:00
|
|
|
"base64 0.22.1",
|
2023-08-28 14:58:24 -07:00
|
|
|
"bson",
|
2024-03-12 23:57:43 -07:00
|
|
|
"chrono",
|
2023-09-14 15:05:07 -06:00
|
|
|
"clap",
|
2024-03-26 21:28:50 -07:00
|
|
|
"convert_case",
|
2023-09-20 13:15:28 -05:00
|
|
|
"criterion",
|
2024-09-06 10:07:51 -07:00
|
|
|
"dashmap 6.1.0",
|
2023-11-09 16:39:12 -06:00
|
|
|
"databake",
|
2024-04-09 00:18:35 -05:00
|
|
|
"derive-docs",
|
2023-08-28 14:58:24 -07:00
|
|
|
"expectorate",
|
2024-04-09 18:05:36 -07:00
|
|
|
"form_urlencoded",
|
2023-08-28 14:58:24 -07:00
|
|
|
"futures",
|
2024-04-09 18:05:36 -07:00
|
|
|
"git_rev",
|
2024-02-12 12:18:37 -08:00
|
|
|
"gltf-json",
|
2024-08-23 07:50:30 -05:00
|
|
|
"http 0.2.12",
|
2024-04-04 09:50:34 -05:00
|
|
|
"iai",
|
2024-03-26 21:28:50 -07:00
|
|
|
"image",
|
2024-09-19 14:06:29 -07:00
|
|
|
"indexmap 2.5.0",
|
2023-11-01 12:40:40 -05:00
|
|
|
"insta",
|
2024-05-17 09:09:23 -07:00
|
|
|
"itertools 0.13.0",
|
2023-08-28 14:58:24 -07:00
|
|
|
"js-sys",
|
|
|
|
"kittycad",
|
2024-09-18 17:04:04 -05:00
|
|
|
"kittycad-modeling-cmds",
|
2023-08-28 14:58:24 -07:00
|
|
|
"lazy_static",
|
2024-08-21 12:12:56 -07:00
|
|
|
"measurements",
|
2024-03-12 23:57:43 -07:00
|
|
|
"mime_guess",
|
2024-06-04 16:28:32 -05:00
|
|
|
"parse-display",
|
2023-08-28 14:58:24 -07:00
|
|
|
"pretty_assertions",
|
2024-06-19 17:32:08 -07:00
|
|
|
"pyo3",
|
2023-08-28 14:58:24 -07:00
|
|
|
"reqwest",
|
2024-02-15 13:56:31 -08:00
|
|
|
"ropey",
|
2023-08-28 14:58:24 -07:00
|
|
|
"schemars",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2024-03-12 23:57:43 -07:00
|
|
|
"sha2",
|
2024-07-25 18:02:49 -04:00
|
|
|
"tabled",
|
2023-08-28 14:58:24 -07:00
|
|
|
"thiserror",
|
|
|
|
"tokio",
|
2024-02-11 19:19:37 +00:00
|
|
|
"tokio-tungstenite",
|
2024-04-25 00:13:09 -07:00
|
|
|
"toml",
|
2023-09-05 16:02:27 -07:00
|
|
|
"tower-lsp",
|
2024-01-11 15:31:35 -08:00
|
|
|
"ts-rs",
|
2024-03-26 21:28:50 -07:00
|
|
|
"twenty-twenty",
|
2024-04-15 17:18:32 -07:00
|
|
|
"url",
|
2024-08-01 17:53:42 -07:00
|
|
|
"urlencoding",
|
2023-08-28 14:58:24 -07:00
|
|
|
"uuid",
|
2024-04-25 00:13:09 -07:00
|
|
|
"validator",
|
2023-08-28 14:58:24 -07:00
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
2023-09-17 21:57:43 -07:00
|
|
|
"web-sys",
|
2024-09-06 09:42:11 -05:00
|
|
|
"winnow",
|
2024-03-12 23:57:43 -07:00
|
|
|
"zip",
|
2023-08-28 14:58:24 -07:00
|
|
|
]
|
|
|
|
|
2023-11-10 10:36:21 -06:00
|
|
|
[[package]]
|
|
|
|
name = "kcl-macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"databake",
|
|
|
|
"kcl-lib",
|
|
|
|
"pretty_assertions",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-11-10 10:36:21 -06:00
|
|
|
]
|
|
|
|
|
2024-06-18 14:38:25 -05:00
|
|
|
[[package]]
|
|
|
|
name = "kcl-test-server"
|
2024-09-19 16:31:32 -07:00
|
|
|
version = "0.1.11"
|
2024-06-18 14:38:25 -05:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"hyper",
|
|
|
|
"kcl-lib",
|
|
|
|
"pico-args",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "kittycad"
|
2024-09-12 14:23:54 -07:00
|
|
|
version = "0.3.20"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-12 14:23:54 -07:00
|
|
|
checksum = "b6d94d74f88582f566f81fa443c638439f5d7b7eeb80d4c321f64703310a45da"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
2023-09-12 14:59:40 -07:00
|
|
|
"async-trait",
|
2024-05-19 23:36:44 -07:00
|
|
|
"base64 0.22.1",
|
2023-09-21 15:22:04 -05:00
|
|
|
"bigdecimal",
|
2023-08-25 13:41:04 -07:00
|
|
|
"bytes",
|
|
|
|
"chrono",
|
2023-08-18 08:12:32 -07:00
|
|
|
"data-encoding",
|
2023-09-12 14:59:40 -07:00
|
|
|
"format_serde_error",
|
|
|
|
"futures",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2024-06-17 14:01:45 -04:00
|
|
|
"itertools 0.13.0",
|
2023-09-12 14:59:40 -07:00
|
|
|
"log",
|
2024-03-12 23:57:43 -07:00
|
|
|
"mime_guess",
|
2024-06-04 16:28:32 -05:00
|
|
|
"parse-display",
|
2023-08-18 08:12:32 -07:00
|
|
|
"phonenumber",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand 0.8.5",
|
2023-09-12 14:59:40 -07:00
|
|
|
"reqwest",
|
|
|
|
"reqwest-conditional-middleware",
|
2023-09-14 15:05:07 -06:00
|
|
|
"reqwest-middleware",
|
2023-09-12 14:59:40 -07:00
|
|
|
"reqwest-retry",
|
|
|
|
"reqwest-tracing",
|
2023-08-18 08:12:32 -07:00
|
|
|
"schemars",
|
|
|
|
"serde",
|
2023-08-29 16:31:19 -07:00
|
|
|
"serde_bytes",
|
2023-08-18 08:12:32 -07:00
|
|
|
"serde_json",
|
2023-09-12 14:59:40 -07:00
|
|
|
"serde_urlencoded",
|
2023-08-18 08:12:32 -07:00
|
|
|
"thiserror",
|
2024-08-12 20:52:48 -07:00
|
|
|
"tokio",
|
2023-09-12 14:59:40 -07:00
|
|
|
"tracing",
|
2023-08-18 08:12:32 -07:00
|
|
|
"url",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "kittycad-modeling-cmds"
|
2024-09-20 16:33:38 -05:00
|
|
|
version = "0.2.61"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5128ba683e849388cac4214b65911c343842d559bec10827575c840a47733786"
|
2024-09-18 17:04:04 -05:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"chrono",
|
|
|
|
"data-encoding",
|
|
|
|
"enum-iterator",
|
|
|
|
"enum-iterator-derive",
|
|
|
|
"euler",
|
|
|
|
"http 0.2.12",
|
|
|
|
"kittycad-modeling-cmds-macros",
|
|
|
|
"kittycad-unit-conversion-derive",
|
|
|
|
"measurements",
|
|
|
|
"parse-display",
|
|
|
|
"parse-display-derive",
|
|
|
|
"schemars",
|
|
|
|
"serde",
|
|
|
|
"serde_bytes",
|
|
|
|
"serde_json",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kittycad-modeling-cmds-macros"
|
|
|
|
version = "0.1.9"
|
2024-09-20 16:33:38 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e0cdc505a33bfffb87c317435ec41ced8f73474217cf30db685e479bf289757e"
|
2024-09-18 17:04:04 -05:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn 2.0.77",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kittycad-unit-conversion-derive"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7001c46a92c1edce6722a3900539b198230980799035f02d92b4e7df3fc08738"
|
|
|
|
dependencies = [
|
|
|
|
"inflections",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn 1.0.109",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2024-06-23 22:02:53 -07:00
|
|
|
version = "1.5.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-23 22:02:53 -07:00
|
|
|
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.153"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2023-09-20 17:36:26 -07:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.2.8"
|
2023-09-20 17:36:26 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
|
2023-09-20 17:36:26 -07:00
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
|
|
|
version = "0.5.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
|
|
|
|
2023-09-14 15:05:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.13"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.4.11"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.21"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
2023-08-25 13:41:04 -07:00
|
|
|
"serde",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lru-cache"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c"
|
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "lsp-types"
|
|
|
|
version = "0.94.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c66bfd44a06ae10647fe3f8214762e9369fd4248df1350924b4ef9e770a85ea1"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags 1.3.2",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_repr",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
name = "matchit"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
|
|
|
|
|
2024-08-21 12:12:56 -07:00
|
|
|
[[package]]
|
|
|
|
name = "measurements"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f5b734b4e8187ea5777bc29c086f0970a27d8de42061b48f5af32cafc0ca904b"
|
|
|
|
dependencies = [
|
|
|
|
"libm",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.7.1"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2024-06-19 17:32:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "mime"
|
|
|
|
version = "0.3.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mime_guess"
|
2024-07-01 11:31:43 -07:00
|
|
|
version = "2.0.5"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-01 11:31:43 -07:00
|
|
|
checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"mime",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.7.2"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"adler",
|
2023-09-12 14:59:40 -07:00
|
|
|
"simd-adler32",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "mint"
|
|
|
|
version = "0.5.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e53debba6bda7a793e5f99b8dacf19e626084f525f7829104ba9898f367d85ff"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2024-07-28 22:06:55 -07:00
|
|
|
version = "1.0.1"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-28 22:06:55 -07:00
|
|
|
checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
2024-07-28 22:06:55 -07:00
|
|
|
"hermit-abi",
|
2023-08-24 15:34:51 -07:00
|
|
|
"libc",
|
2023-09-14 15:05:07 -06:00
|
|
|
"wasi",
|
2024-07-28 22:06:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "newline-converter"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 16:28:32 -05:00
|
|
|
checksum = "47b6b097ecb1cbfed438542d16e84fd7ad9b0c76c8a65b7f9039212a3d14dc7f"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
dependencies = [
|
2024-06-04 16:28:32 -05:00
|
|
|
"unicode-segmentation",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "7.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "num-bigint"
|
|
|
|
version = "0.4.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-integer",
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-03-23 15:45:55 -07:00
|
|
|
[[package]]
|
|
|
|
name = "num-conv"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "num-integer"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.1.46"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
|
|
|
version = "0.1.43"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits 0.2.18",
|
2023-09-12 14:59:40 -07:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.18"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.32.2"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2024-09-16 11:34:58 -07:00
|
|
|
version = "1.20.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:58 -07:00
|
|
|
checksum = "33ea5043e58958ee56f3e15a90aee535795cd7dfd319846288d93c5b57d85cbe"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "oncemutex"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "44d11de466f4a3006fe8a5e7ec84e93b79c70cb992ae0aa0eb631ad2df8abfe2"
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "oorandom"
|
|
|
|
version = "11.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "opentelemetry"
|
|
|
|
version = "0.17.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6105e89802af13fdf48c49d7646d3b533a70e536d818aae7e78ba0433d01acb8"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"crossbeam-channel",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-util",
|
|
|
|
"js-sys",
|
|
|
|
"lazy_static",
|
|
|
|
"percent-encoding",
|
|
|
|
"pin-project",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand 0.8.5",
|
2023-09-12 14:59:40 -07:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2024-07-25 18:02:49 -04:00
|
|
|
[[package]]
|
|
|
|
name = "papergrid"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9ad43c07024ef767f9160710b3a6773976194758c7919b17e63b863db0bdf7fb"
|
|
|
|
dependencies = [
|
|
|
|
"bytecount",
|
|
|
|
"fnv",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.11.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
|
|
|
dependencies = [
|
|
|
|
"instant",
|
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core 0.8.6",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
2023-10-24 11:24:59 -07:00
|
|
|
"parking_lot_core 0.9.9",
|
2023-09-12 14:59:40 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
|
|
|
version = "0.8.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"instant",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall 0.2.16",
|
|
|
|
"smallvec",
|
|
|
|
"winapi",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.9.9"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"libc",
|
2023-10-24 11:24:59 -07:00
|
|
|
"redox_syscall 0.4.1",
|
2023-08-24 15:34:51 -07:00
|
|
|
"smallvec",
|
2023-08-25 13:41:04 -07:00
|
|
|
"windows-targets 0.48.5",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
2024-02-11 12:09:50 -08:00
|
|
|
[[package]]
|
|
|
|
name = "parse-display"
|
2024-06-04 17:27:47 -07:00
|
|
|
version = "0.9.1"
|
2024-02-11 12:09:50 -08:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:27:47 -07:00
|
|
|
checksum = "914a1c2265c98e2446911282c6ac86d8524f495792c38c5bd884f80499c7538a"
|
2024-02-11 12:09:50 -08:00
|
|
|
dependencies = [
|
2024-06-04 16:28:32 -05:00
|
|
|
"parse-display-derive",
|
2024-02-11 12:09:50 -08:00
|
|
|
"regex",
|
2024-06-04 17:27:47 -07:00
|
|
|
"regex-syntax 0.8.3",
|
2024-02-11 12:09:50 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parse-display-derive"
|
2024-06-04 17:27:47 -07:00
|
|
|
version = "0.9.1"
|
2024-02-11 12:09:50 -08:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:27:47 -07:00
|
|
|
checksum = "2ae7800a4c974efd12df917266338e79a7a74415173caf7e70aa0a0707345281"
|
2024-02-11 12:09:50 -08:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
2024-06-04 17:27:47 -07:00
|
|
|
"regex-syntax 0.8.3",
|
2024-06-04 16:28:32 -05:00
|
|
|
"structmeta",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.3.1"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phonenumber"
|
2024-07-09 08:33:44 -07:00
|
|
|
version = "0.3.6+8.13.36"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-09 08:33:44 -07:00
|
|
|
checksum = "11756237b57b8cc5e97dc8b1e70ea436324d30e7075de63b14fd15073a8f692a"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"either",
|
|
|
|
"fnv",
|
2024-08-26 08:55:52 -07:00
|
|
|
"itertools 0.12.1",
|
2023-08-18 08:12:32 -07:00
|
|
|
"lazy_static",
|
|
|
|
"nom",
|
|
|
|
"quick-xml",
|
|
|
|
"regex",
|
|
|
|
"regex-cache",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2023-09-21 15:02:23 -05:00
|
|
|
"strum",
|
2023-08-18 08:12:32 -07:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2024-06-18 14:38:25 -05:00
|
|
|
[[package]]
|
|
|
|
name = "pico-args"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.1.5"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"pin-project-internal",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-internal"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.1.5"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2023-08-28 14:58:24 -07:00
|
|
|
version = "0.2.13"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-28 14:58:24 -07:00
|
|
|
checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "plotters"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45"
|
|
|
|
dependencies = [
|
2024-09-18 17:04:04 -05:00
|
|
|
"num-traits 0.2.18",
|
2023-09-20 13:15:28 -05:00
|
|
|
"plotters-backend",
|
|
|
|
"plotters-svg",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-backend"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-svg"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab"
|
|
|
|
dependencies = [
|
|
|
|
"plotters-backend",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "png"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.17.13"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"bitflags 1.3.2",
|
|
|
|
"crc32fast",
|
|
|
|
"fdeflate",
|
|
|
|
"flate2",
|
|
|
|
"miniz_oxide",
|
|
|
|
]
|
|
|
|
|
2024-06-19 17:32:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "portable-atomic"
|
|
|
|
version = "1.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
|
|
|
|
|
2023-10-24 11:24:59 -07:00
|
|
|
[[package]]
|
|
|
|
name = "powerfmt"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
|
|
|
version = "0.2.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
2024-09-16 11:34:22 -07:00
|
|
|
version = "1.4.1"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:22 -07:00
|
|
|
checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
"yansi",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error-attr",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn 1.0.109",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2024-06-21 08:50:48 -07:00
|
|
|
version = "1.0.86"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-21 08:50:48 -07:00
|
|
|
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
2024-06-19 17:32:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "pyo3"
|
2024-09-16 11:34:36 -07:00
|
|
|
version = "0.22.3"
|
2024-06-19 17:32:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:36 -07:00
|
|
|
checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
|
2024-06-19 17:32:08 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"indoc",
|
|
|
|
"libc",
|
|
|
|
"memoffset",
|
2024-06-24 21:37:59 -07:00
|
|
|
"once_cell",
|
2024-06-19 17:32:08 -07:00
|
|
|
"portable-atomic",
|
|
|
|
"pyo3-build-config",
|
|
|
|
"pyo3-ffi",
|
|
|
|
"pyo3-macros",
|
|
|
|
"unindent",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pyo3-build-config"
|
2024-09-16 11:34:36 -07:00
|
|
|
version = "0.22.3"
|
2024-06-19 17:32:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:36 -07:00
|
|
|
checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
|
2024-06-19 17:32:08 -07:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"target-lexicon",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pyo3-ffi"
|
2024-09-16 11:34:36 -07:00
|
|
|
version = "0.22.3"
|
2024-06-19 17:32:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:36 -07:00
|
|
|
checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
|
2024-06-19 17:32:08 -07:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"pyo3-build-config",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pyo3-macros"
|
2024-09-16 11:34:36 -07:00
|
|
|
version = "0.22.3"
|
2024-06-19 17:32:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:36 -07:00
|
|
|
checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
|
2024-06-19 17:32:08 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"pyo3-macros-backend",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-06-19 17:32:08 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pyo3-macros-backend"
|
2024-09-16 11:34:36 -07:00
|
|
|
version = "0.22.3"
|
2024-06-19 17:32:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:36 -07:00
|
|
|
checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
|
2024-06-19 17:32:08 -07:00
|
|
|
dependencies = [
|
2024-06-24 21:37:59 -07:00
|
|
|
"heck 0.5.0",
|
2024-06-19 17:32:08 -07:00
|
|
|
"proc-macro2",
|
|
|
|
"pyo3-build-config",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-06-19 17:32:08 -07:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "quick-xml"
|
|
|
|
version = "0.28.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2024-08-23 08:48:53 -07:00
|
|
|
version = "1.0.37"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-23 08:48:53 -07:00
|
|
|
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "radium"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
|
|
|
version = "0.4.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293"
|
|
|
|
dependencies = [
|
|
|
|
"fuchsia-cprng",
|
|
|
|
"libc",
|
|
|
|
"rand_core 0.3.1",
|
|
|
|
"rdrand",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
|
|
|
version = "0.8.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"rand_chacha",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand_core 0.6.4",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand_core 0.6.4",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.4.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.6.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.9.0"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
"rayon-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.12.1"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-deque",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2024-09-18 17:04:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rdrand"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.3.1",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
|
|
|
version = "0.2.16"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags 1.3.2",
|
|
|
|
]
|
|
|
|
|
2023-10-24 11:24:59 -07:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags 1.3.2",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2024-06-10 17:29:24 -07:00
|
|
|
version = "1.10.5"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-10 17:29:24 -07:00
|
|
|
checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-automata",
|
2024-06-04 17:27:47 -07:00
|
|
|
"regex-syntax 0.8.3",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.6"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
2024-06-04 17:27:47 -07:00
|
|
|
"regex-syntax 0.8.3",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-cache"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2f7b62d69743b8b94f353b6b7c3deb4c5582828328bcb8d5fedf214373808793"
|
|
|
|
dependencies = [
|
|
|
|
"lru-cache",
|
|
|
|
"oncemutex",
|
|
|
|
"regex",
|
2023-08-25 13:41:04 -07:00
|
|
|
"regex-syntax 0.6.29",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2023-08-25 13:41:04 -07:00
|
|
|
version = "0.6.29"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-25 13:41:04 -07:00
|
|
|
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2023-10-24 11:24:59 -07:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2024-06-04 17:27:47 -07:00
|
|
|
version = "0.8.3"
|
2023-10-24 11:24:59 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:27:47 -07:00
|
|
|
checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
|
2023-10-24 11:24:59 -07:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "reqwest"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.11.27"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"base64 0.21.7",
|
2023-08-25 13:41:04 -07:00
|
|
|
"bytes",
|
|
|
|
"encoding_rs",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"h2",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2023-08-25 13:41:04 -07:00
|
|
|
"http-body",
|
|
|
|
"hyper",
|
|
|
|
"hyper-rustls",
|
|
|
|
"ipnet",
|
|
|
|
"js-sys",
|
|
|
|
"log",
|
|
|
|
"mime",
|
|
|
|
"mime_guess",
|
|
|
|
"once_cell",
|
|
|
|
"percent-encoding",
|
|
|
|
"pin-project-lite",
|
2024-05-17 16:06:16 -05:00
|
|
|
"rustls 0.21.12",
|
2024-03-23 15:45:55 -07:00
|
|
|
"rustls-pemfile 1.0.4",
|
2023-08-25 13:41:04 -07:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_urlencoded",
|
2024-02-11 19:40:06 +00:00
|
|
|
"sync_wrapper",
|
2023-10-03 07:20:08 -07:00
|
|
|
"system-configuration",
|
2023-08-25 13:41:04 -07:00
|
|
|
"tokio",
|
2024-02-11 19:19:37 +00:00
|
|
|
"tokio-rustls 0.24.1",
|
2024-02-15 13:56:31 -08:00
|
|
|
"tokio-util",
|
2023-08-25 13:41:04 -07:00
|
|
|
"tower-service",
|
|
|
|
"url",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
2024-02-15 13:56:31 -08:00
|
|
|
"wasm-streams",
|
2023-08-25 13:41:04 -07:00
|
|
|
"web-sys",
|
|
|
|
"webpki-roots",
|
|
|
|
"winreg",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "reqwest-conditional-middleware"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "59e50a2e70970896c99d1b8f20ddc30a70b30d3ac6e619a03a8353b64a49b277"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"reqwest",
|
2023-09-14 15:05:07 -06:00
|
|
|
"reqwest-middleware",
|
2023-08-25 13:41:04 -07:00
|
|
|
"task-local-extensions",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "reqwest-middleware"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.5"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "5a735987236a8e238bf0296c7e351b999c188ccc11477f311b82b55c93984216"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"async-trait",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2023-09-12 14:59:40 -07:00
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"task-local-extensions",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "reqwest-retry"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c6a11c05102e5bec712c0619b8c7b7eda8b21a558a0bd981ceee15c38df8be4"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"async-trait",
|
|
|
|
"chrono",
|
|
|
|
"futures",
|
|
|
|
"getrandom",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 0.2.12",
|
2023-09-12 14:59:40 -07:00
|
|
|
"hyper",
|
|
|
|
"parking_lot 0.11.2",
|
|
|
|
"reqwest",
|
2023-09-14 15:05:07 -06:00
|
|
|
"reqwest-middleware",
|
2023-09-12 14:59:40 -07:00
|
|
|
"retry-policies",
|
|
|
|
"task-local-extensions",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
"wasm-timer",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "reqwest-tracing"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.4.8"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "190838e54153d7a7e2ea98851304b3ce92daeabf14c54d32b01b84a3e636f683"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"async-trait",
|
|
|
|
"getrandom",
|
|
|
|
"matchit",
|
|
|
|
"opentelemetry",
|
|
|
|
"reqwest",
|
2023-09-14 15:05:07 -06:00
|
|
|
"reqwest-middleware",
|
2023-09-12 14:59:40 -07:00
|
|
|
"task-local-extensions",
|
|
|
|
"tracing",
|
|
|
|
"tracing-opentelemetry",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "retry-policies"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e09bbcb5003282bcb688f0bae741b278e9c7e8f378f561522c9806c58e075d9b"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"chrono",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand 0.8.5",
|
2023-09-12 14:59:40 -07:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "ring"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.17.8"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
2024-03-23 15:45:55 -07:00
|
|
|
"cfg-if",
|
2023-10-24 11:24:59 -07:00
|
|
|
"getrandom",
|
2023-08-25 13:41:04 -07:00
|
|
|
"libc",
|
2024-06-04 16:28:32 -05:00
|
|
|
"spin",
|
|
|
|
"untrusted",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-02-15 13:56:31 -08:00
|
|
|
[[package]]
|
|
|
|
name = "ropey"
|
|
|
|
version = "1.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "93411e420bcd1a75ddd1dc3caf18c23155eda2c090631a85af21ba19e97093b5"
|
|
|
|
dependencies = [
|
|
|
|
"smallvec",
|
|
|
|
"str_indices",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
|
|
|
version = "0.1.23"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-wrapper"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.2.1"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "f1adc9dfed5cc999077978cc7163b9282c5751c8d39827c4ea8c8c220ca5a440"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"tempfile",
|
|
|
|
"thiserror",
|
|
|
|
"toml",
|
|
|
|
"toolchain_find",
|
|
|
|
]
|
|
|
|
|
2023-09-14 15:05:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.38.32"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "65e04861e65f21776e67888bfbea442b3642beaa0138fdb1dd7a84a52dffdb89"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"bitflags 2.5.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
"errno",
|
|
|
|
"libc",
|
2023-09-18 18:22:25 -06:00
|
|
|
"linux-raw-sys",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls"
|
2024-05-17 16:06:16 -05:00
|
|
|
version = "0.21.12"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-17 16:06:16 -05:00
|
|
|
checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
2024-06-04 16:28:32 -05:00
|
|
|
"ring",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-webpki 0.101.7",
|
2023-08-25 13:41:04 -07:00
|
|
|
"sct",
|
|
|
|
]
|
|
|
|
|
2024-02-11 19:19:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustls"
|
2024-06-04 17:27:22 -07:00
|
|
|
version = "0.23.7"
|
2024-02-11 19:19:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:27:22 -07:00
|
|
|
checksum = "ebbbdb961df0ad3f2652da8f3fdc4b36122f568f968f45ad3316f26c025c677b"
|
2024-02-11 19:19:37 +00:00
|
|
|
dependencies = [
|
2024-06-04 17:27:22 -07:00
|
|
|
"once_cell",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-pki-types",
|
|
|
|
"rustls-webpki 0.102.2",
|
|
|
|
"subtle",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-native-certs"
|
2024-09-16 11:31:55 -07:00
|
|
|
version = "0.8.0"
|
2023-08-28 14:58:24 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:31:55 -07:00
|
|
|
checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
|
|
|
"openssl-probe",
|
2024-03-23 15:45:55 -07:00
|
|
|
"rustls-pemfile 2.1.1",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-pki-types",
|
2023-08-28 14:58:24 -07:00
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-pemfile"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.0.4"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"base64 0.21.7",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-02-11 19:19:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-pemfile"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.1.1"
|
2024-02-11 19:19:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab"
|
2024-02-11 19:19:37 +00:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"base64 0.21.7",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-pki-types",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustls-pki-types"
|
2024-09-18 17:04:04 -05:00
|
|
|
version = "1.8.0"
|
2024-02-11 19:19:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-18 17:04:04 -05:00
|
|
|
checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0"
|
2024-02-11 19:19:37 +00:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-webpki"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.101.7"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-06-04 16:28:32 -05:00
|
|
|
"ring",
|
|
|
|
"untrusted",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2024-02-11 19:19:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustls-webpki"
|
|
|
|
version = "0.102.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610"
|
|
|
|
dependencies = [
|
2024-06-04 16:28:32 -05:00
|
|
|
"ring",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-pki-types",
|
2024-06-04 16:28:32 -05:00
|
|
|
"untrusted",
|
2024-02-11 19:19:37 +00:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
|
|
|
version = "1.0.14"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.0.17"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
|
|
|
version = "1.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
|
|
dependencies = [
|
|
|
|
"winapi-util",
|
|
|
|
]
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.1.23"
|
2023-08-28 14:58:24 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-28 14:58:24 -07:00
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "schemars"
|
2024-06-17 14:01:45 -04:00
|
|
|
version = "0.8.21"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-17 14:01:45 -04:00
|
|
|
checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
2023-09-21 15:22:04 -05:00
|
|
|
"bigdecimal",
|
2023-08-18 08:12:32 -07:00
|
|
|
"bytes",
|
|
|
|
"chrono",
|
|
|
|
"dyn-clone",
|
|
|
|
"schemars_derive",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"url",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "schemars_derive"
|
2024-06-17 14:01:45 -04:00
|
|
|
version = "0.8.21"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-17 14:01:45 -04:00
|
|
|
checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde_derive_internals",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-08-24 15:34:51 -07:00
|
|
|
name = "scopeguard"
|
|
|
|
version = "1.2.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-24 15:34:51 -07:00
|
|
|
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
2023-08-18 08:12:32 -07:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "sct"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.7.1"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-06-04 16:28:32 -05:00
|
|
|
"ring",
|
|
|
|
"untrusted",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
|
|
|
version = "2.9.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags 1.3.2",
|
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
|
|
|
version = "2.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.0.22"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
2023-08-24 15:34:51 -07:00
|
|
|
name = "serde"
|
2024-09-12 12:14:12 -07:00
|
|
|
version = "1.0.210"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-12 12:14:12 -07:00
|
|
|
checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
2023-08-24 15:34:51 -07:00
|
|
|
"serde_derive",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "serde_bytes"
|
2024-09-18 17:04:04 -05:00
|
|
|
version = "0.11.15"
|
2023-08-28 14:58:24 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-18 17:04:04 -05:00
|
|
|
checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a"
|
2023-08-28 14:58:24 -07:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2024-09-12 12:14:12 -07:00
|
|
|
version = "1.0.210"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-12 12:14:12 -07:00
|
|
|
checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive_internals"
|
2024-04-30 19:10:41 +00:00
|
|
|
version = "0.29.0"
|
2023-08-18 08:12:32 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-30 19:10:41 +00:00
|
|
|
checksum = "330f01ce65a3a5fe59a60c82f3c9a024b573b8a6e875bd233fe5f934e71d54e3"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2024-09-05 12:41:35 -07:00
|
|
|
version = "1.0.128"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-05 12:41:35 -07:00
|
|
|
checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-09-19 14:06:29 -07:00
|
|
|
"indexmap 2.5.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
"itoa",
|
2024-07-28 21:21:55 -07:00
|
|
|
"memchr",
|
2023-08-25 13:41:04 -07:00
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "serde_repr"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.1.18"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
2023-10-24 11:24:59 -07:00
|
|
|
[[package]]
|
|
|
|
name = "serde_spanned"
|
2024-07-27 18:03:52 -07:00
|
|
|
version = "0.6.7"
|
2023-10-24 11:24:59 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-27 18:03:52 -07:00
|
|
|
checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d"
|
2023-10-24 11:24:59 -07:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "serde_tokenstream"
|
2024-08-14 21:15:25 -07:00
|
|
|
version = "0.2.2"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-08-14 21:15:25 -07:00
|
|
|
checksum = "64060d864397305347a78851c51588fd283767e7e7589829e8121d65512340f1"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"serde",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_urlencoded"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
|
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_yaml"
|
|
|
|
version = "0.8.26"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b"
|
|
|
|
dependencies = [
|
|
|
|
"indexmap 1.9.3",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
"yaml-rust",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sha1"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.10.6"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest",
|
|
|
|
]
|
|
|
|
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
|
|
|
version = "0.10.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "sharded-slab"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.7"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
|
|
|
version = "1.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "simd-adler32"
|
|
|
|
version = "0.3.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "similar"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.4.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
|
|
|
version = "0.4.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.13.2"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.5.6"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
|
|
|
version = "0.9.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
|
|
|
|
2024-02-15 13:56:31 -08:00
|
|
|
[[package]]
|
|
|
|
name = "str_indices"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e9557cb6521e8d009c51a8666f09356f4b817ba9ba0981a305bd86aee47bd35c"
|
|
|
|
|
2024-04-25 00:13:09 -07:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
|
|
|
|
2024-02-11 12:09:50 -08:00
|
|
|
[[package]]
|
|
|
|
name = "structmeta"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2e1575d8d40908d70f6fd05537266b90ae71b15dbbe7a8b7dffa2b759306d329"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-06-04 16:28:32 -05:00
|
|
|
"structmeta-derive",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-18 19:37:52 +10:00
|
|
|
]
|
|
|
|
|
2024-02-11 12:09:50 -08:00
|
|
|
[[package]]
|
|
|
|
name = "structmeta-derive"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "152a0b65a590ff6c3da95cabe2353ee04e6167c896b28e3b14478c2636c922fc"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-02-11 12:09:50 -08:00
|
|
|
]
|
|
|
|
|
2023-09-21 15:02:23 -05:00
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
|
|
|
version = "0.24.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
|
|
|
|
dependencies = [
|
|
|
|
"strum_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
|
|
|
version = "0.24.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
|
|
|
|
dependencies = [
|
2024-03-21 03:57:58 +00:00
|
|
|
"heck 0.4.1",
|
2023-09-21 15:02:23 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"rustversion",
|
|
|
|
"syn 1.0.109",
|
|
|
|
]
|
|
|
|
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "subtle"
|
|
|
|
version = "2.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "syn"
|
2023-08-25 13:41:04 -07:00
|
|
|
version = "1.0.109"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-25 13:41:04 -07:00
|
|
|
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
2023-02-21 09:42:41 +11:00
|
|
|
|
2023-07-20 12:38:05 +10:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "syn"
|
2024-09-02 11:46:07 -07:00
|
|
|
version = "2.0.77"
|
2023-07-20 12:38:05 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-02 11:46:07 -07:00
|
|
|
checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
|
2023-07-20 12:38:05 +10:00
|
|
|
dependencies = [
|
2023-08-18 08:12:32 -07:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-ident",
|
2023-07-20 12:38:05 +10:00
|
|
|
]
|
|
|
|
|
2024-02-11 19:40:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sync_wrapper"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
|
|
|
|
|
2023-11-09 16:39:12 -06:00
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.13.1"
|
2023-11-09 16:39:12 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
|
2023-11-09 16:39:12 -06:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-11-09 16:39:12 -06:00
|
|
|
]
|
|
|
|
|
2023-10-03 07:20:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "system-configuration"
|
2024-03-12 23:43:06 -07:00
|
|
|
version = "0.5.1"
|
2023-10-03 07:20:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-12 23:43:06 -07:00
|
|
|
checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
|
2023-10-03 07:20:08 -07:00
|
|
|
dependencies = [
|
2024-03-12 23:43:06 -07:00
|
|
|
"bitflags 1.3.2",
|
2023-10-03 07:20:08 -07:00
|
|
|
"core-foundation",
|
|
|
|
"system-configuration-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "system-configuration-sys"
|
2024-03-12 23:43:06 -07:00
|
|
|
version = "0.5.0"
|
2023-10-03 07:20:08 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-12 23:43:06 -07:00
|
|
|
checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
|
2023-10-03 07:20:08 -07:00
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2024-07-25 18:02:49 -04:00
|
|
|
[[package]]
|
|
|
|
name = "tabled"
|
|
|
|
version = "0.15.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4c998b0c8b921495196a48aabaf1901ff28be0760136e31604f7967b0792050e"
|
|
|
|
dependencies = [
|
|
|
|
"papergrid",
|
|
|
|
"tabled_derive",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tabled_derive"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4c138f99377e5d653a371cdad263615634cfc8467685dfe8e73e2b8e98f44b17"
|
|
|
|
dependencies = [
|
|
|
|
"heck 0.4.1",
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn 1.0.109",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tap"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
|
|
|
2024-06-19 17:32:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "target-lexicon"
|
|
|
|
version = "0.12.14"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "task-local-extensions"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ba323866e5d033818e3240feeb9f7db2c4296674e4d9e16b97b7bf8f490434e8"
|
|
|
|
dependencies = [
|
|
|
|
"pin-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "3.10.1"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"fastrand",
|
2023-09-18 18:22:25 -06:00
|
|
|
"rustix",
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2023-08-19 23:18:54 -07:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.4.1"
|
2023-08-19 23:18:54 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
|
2023-08-19 23:18:54 -07:00
|
|
|
dependencies = [
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "thiserror"
|
2024-09-23 12:42:17 -07:00
|
|
|
version = "1.0.64"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-23 12:42:17 -07:00
|
|
|
checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
2023-02-21 09:42:41 +11:00
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "thiserror-impl"
|
2024-09-23 12:42:17 -07:00
|
|
|
version = "1.0.64"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-23 12:42:17 -07:00
|
|
|
checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
|
2023-08-18 08:12:32 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-18 08:12:32 -07:00
|
|
|
]
|
2023-08-18 19:37:52 +10:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.1.8"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2024-07-25 18:02:49 -04:00
|
|
|
version = "0.3.36"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-25 18:02:49 -04:00
|
|
|
checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"deranged",
|
|
|
|
"itoa",
|
2024-03-23 15:45:55 -07:00
|
|
|
"num-conv",
|
2023-10-24 11:24:59 -07:00
|
|
|
"powerfmt",
|
2023-08-25 13:41:04 -07:00
|
|
|
"serde",
|
|
|
|
"time-core",
|
|
|
|
"time-macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time-core"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.2"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
2024-07-25 18:02:49 -04:00
|
|
|
version = "0.2.18"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-25 18:02:49 -04:00
|
|
|
checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"num-conv",
|
2023-08-25 13:41:04 -07:00
|
|
|
"time-core",
|
|
|
|
]
|
|
|
|
|
2023-09-20 13:15:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tinytemplate"
|
|
|
|
version = "1.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "tinyvec"
|
|
|
|
version = "1.6.0"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-18 08:12:32 -07:00
|
|
|
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
2023-08-18 08:12:32 -07:00
|
|
|
"tinyvec_macros",
|
2023-02-21 09:42:41 +11:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "tinyvec_macros"
|
|
|
|
version = "0.1.1"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-18 08:12:32 -07:00
|
|
|
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
2023-02-21 09:42:41 +11:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2024-09-02 11:45:58 -07:00
|
|
|
version = "1.40.0"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-02 11:45:58 -07:00
|
|
|
checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
"bytes",
|
|
|
|
"libc",
|
|
|
|
"mio",
|
2023-09-12 14:59:40 -07:00
|
|
|
"parking_lot 0.12.1",
|
2023-08-24 15:34:51 -07:00
|
|
|
"pin-project-lite",
|
|
|
|
"signal-hook-registry",
|
2024-03-23 15:45:55 -07:00
|
|
|
"socket2",
|
2023-08-24 15:34:51 -07:00
|
|
|
"tokio-macros",
|
2024-07-28 22:06:55 -07:00
|
|
|
"windows-sys 0.52.0",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
2024-07-28 22:06:55 -07:00
|
|
|
version = "2.4.0"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-28 22:06:55 -07:00
|
|
|
checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-rustls"
|
|
|
|
version = "0.24.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
|
|
|
|
dependencies = [
|
2024-05-17 16:06:16 -05:00
|
|
|
"rustls 0.21.12",
|
2023-08-25 13:41:04 -07:00
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
2024-02-11 19:19:37 +00:00
|
|
|
name = "tokio-rustls"
|
2024-06-04 17:27:22 -07:00
|
|
|
version = "0.26.0"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:27:22 -07:00
|
|
|
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
2024-06-04 17:27:22 -07:00
|
|
|
"rustls 0.23.7",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-pki-types",
|
2023-08-24 15:34:51 -07:00
|
|
|
"tokio",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tokio-tungstenite"
|
2024-09-16 11:31:55 -07:00
|
|
|
version = "0.24.0"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:31:55 -07:00
|
|
|
checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
dependencies = [
|
|
|
|
"futures-util",
|
|
|
|
"log",
|
2024-06-04 17:27:22 -07:00
|
|
|
"rustls 0.23.7",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-native-certs",
|
|
|
|
"rustls-pki-types",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
"tokio",
|
2024-06-04 17:27:22 -07:00
|
|
|
"tokio-rustls 0.26.0",
|
2024-02-11 19:19:37 +00:00
|
|
|
"tungstenite",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.7.10"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2024-07-31 22:18:29 -07:00
|
|
|
version = "0.8.19"
|
2023-10-24 11:24:59 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-31 22:18:29 -07:00
|
|
|
checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
|
2023-10-24 11:24:59 -07:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_spanned",
|
|
|
|
"toml_datetime",
|
|
|
|
"toml_edit",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "toml_datetime"
|
2024-07-31 11:08:07 -07:00
|
|
|
version = "0.6.8"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-31 11:08:07 -07:00
|
|
|
checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2023-10-24 11:24:59 -07:00
|
|
|
[[package]]
|
|
|
|
name = "toml_edit"
|
2024-07-31 22:18:29 -07:00
|
|
|
version = "0.22.20"
|
2023-10-24 11:24:59 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-31 22:18:29 -07:00
|
|
|
checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
|
2023-10-24 11:24:59 -07:00
|
|
|
dependencies = [
|
2024-09-19 14:06:29 -07:00
|
|
|
"indexmap 2.5.0",
|
2023-10-24 11:24:59 -07:00
|
|
|
"serde",
|
|
|
|
"serde_spanned",
|
|
|
|
"toml_datetime",
|
2024-09-06 09:42:11 -05:00
|
|
|
"winnow",
|
2023-10-24 11:24:59 -07:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "toolchain_find"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.4.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "ebc8c9a7f0a2966e1acdaf0461023d0b01471eeead645370cf4c3f5cff153f2a"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"home",
|
2023-10-24 11:24:59 -07:00
|
|
|
"once_cell",
|
2023-08-25 13:41:04 -07:00
|
|
|
"regex",
|
|
|
|
"semver",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tower"
|
|
|
|
version = "0.4.13"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
|
|
|
"pin-project",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tower-layer",
|
|
|
|
"tower-service",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tower-layer"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tower-lsp"
|
|
|
|
version = "0.20.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d4ba052b54a6627628d9b3c34c176e7eda8359b7da9acd497b9f20998d118508"
|
|
|
|
dependencies = [
|
|
|
|
"async-codec-lite",
|
|
|
|
"async-trait",
|
|
|
|
"auto_impl",
|
|
|
|
"bytes",
|
2024-06-24 21:37:34 -07:00
|
|
|
"dashmap 5.5.3",
|
2023-09-05 16:02:27 -07:00
|
|
|
"futures",
|
|
|
|
"httparse",
|
|
|
|
"lsp-types",
|
|
|
|
"memchr",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
|
|
|
"tower",
|
|
|
|
"tower-lsp-macros",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tower-lsp-macros"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "84fd902d4e0b9a4b27f2f440108dc034e1758628a9b702f8ec61ad66355422fa"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.40"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"pin-project-lite",
|
2023-09-05 16:02:27 -07:00
|
|
|
"tracing-attributes",
|
2023-08-25 13:41:04 -07:00
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
2023-09-05 16:02:27 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.27"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-09-05 16:02:27 -07:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.32"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
2023-09-12 14:59:40 -07:00
|
|
|
"valuable",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-log"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.4"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
2023-10-24 11:24:59 -07:00
|
|
|
"once_cell",
|
2023-09-12 14:59:40 -07:00
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-opentelemetry"
|
|
|
|
version = "0.17.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fbbe89715c1dbbb790059e2565353978564924ee85017b5fff365c872ff6721f"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"opentelemetry",
|
|
|
|
"tracing",
|
|
|
|
"tracing-core",
|
|
|
|
"tracing-log",
|
|
|
|
"tracing-subscriber",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-subscriber"
|
2024-01-08 21:22:53 -06:00
|
|
|
version = "0.3.18"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-08 21:22:53 -06:00
|
|
|
checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"sharded-slab",
|
|
|
|
"thread_local",
|
|
|
|
"tracing-core",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "try-lock"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.2.5"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-19 23:18:54 -07:00
|
|
|
[[package]]
|
2024-01-11 15:31:35 -08:00
|
|
|
name = "ts-rs"
|
2024-09-20 10:20:42 -07:00
|
|
|
version = "10.0.0"
|
2024-06-20 10:55:53 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-20 10:20:42 -07:00
|
|
|
checksum = "3a2f31991cee3dce1ca4f929a8a04fdd11fd8801aac0f2030b0fa8a0a3fef6b9"
|
2023-08-19 23:18:54 -07:00
|
|
|
dependencies = [
|
2024-04-25 00:13:09 -07:00
|
|
|
"chrono",
|
2024-09-20 10:20:42 -07:00
|
|
|
"lazy_static",
|
2024-06-20 16:36:28 -07:00
|
|
|
"serde_json",
|
2023-08-19 23:18:54 -07:00
|
|
|
"thiserror",
|
|
|
|
"ts-rs-macros",
|
2024-04-15 17:18:32 -07:00
|
|
|
"url",
|
2023-08-19 23:18:54 -07:00
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ts-rs-macros"
|
2024-09-20 10:20:42 -07:00
|
|
|
version = "10.0.0"
|
2024-06-20 10:55:53 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-20 10:20:42 -07:00
|
|
|
checksum = "0ea0b99e8ec44abd6f94a18f28f7934437809dd062820797c52401298116f70e"
|
2023-08-19 23:18:54 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-08-19 23:18:54 -07:00
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "tungstenite"
|
2024-09-16 11:31:55 -07:00
|
|
|
version = "0.24.0"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:31:55 -07:00
|
|
|
checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a"
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"bytes",
|
|
|
|
"data-encoding",
|
2024-03-23 15:45:55 -07:00
|
|
|
"http 1.1.0",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
"httparse",
|
|
|
|
"log",
|
2024-09-18 17:04:04 -05:00
|
|
|
"rand 0.8.5",
|
2024-06-04 17:27:22 -07:00
|
|
|
"rustls 0.23.7",
|
2024-02-11 19:19:37 +00:00
|
|
|
"rustls-pki-types",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
"sha1",
|
|
|
|
"thiserror",
|
|
|
|
"utf-8",
|
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "twenty-twenty"
|
2024-06-04 17:09:01 -05:00
|
|
|
version = "0.8.1"
|
2023-09-12 14:59:40 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-04 17:09:01 -05:00
|
|
|
checksum = "48e62b93cc5b5a8fabe3056a7d189f2195ebc7d57934a2cbe124601e34ad79b9"
|
2023-09-12 14:59:40 -07:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"image",
|
|
|
|
"image-compare",
|
|
|
|
"uuid",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2023-09-18 18:22:25 -06:00
|
|
|
version = "1.17.0"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-18 18:22:25 -06:00
|
|
|
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
|
2023-08-24 15:34:51 -07:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
|
|
|
version = "2.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
|
|
|
|
dependencies = [
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "unicode-bidi"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.3.15"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
|
2023-02-21 09:42:41 +11:00
|
|
|
|
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "unicode-ident"
|
2023-09-18 18:22:25 -06:00
|
|
|
version = "1.0.12"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-09-18 18:22:25 -06:00
|
|
|
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
2023-02-21 09:42:41 +11:00
|
|
|
|
2023-07-20 12:38:05 +10:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "unicode-normalization"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.1.23"
|
2023-07-20 12:38:05 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
|
2023-07-20 12:38:05 +10:00
|
|
|
dependencies = [
|
2023-08-18 08:12:32 -07:00
|
|
|
"tinyvec",
|
2023-07-20 12:38:05 +10:00
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "1.11.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.11"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2024-06-19 17:32:08 -07:00
|
|
|
[[package]]
|
|
|
|
name = "unindent"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "untrusted"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.9.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "url"
|
2024-06-18 22:51:07 -07:00
|
|
|
version = "2.5.2"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-06-18 22:51:07 -07:00
|
|
|
checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
2023-08-18 08:12:32 -07:00
|
|
|
"form_urlencoded",
|
2024-06-18 22:51:07 -07:00
|
|
|
"idna",
|
2023-08-18 08:12:32 -07:00
|
|
|
"percent-encoding",
|
|
|
|
"serde",
|
2023-02-21 09:42:41 +11:00
|
|
|
]
|
|
|
|
|
2024-08-01 17:53:42 -07:00
|
|
|
[[package]]
|
|
|
|
name = "urlencoding"
|
|
|
|
version = "2.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "utf-8"
|
|
|
|
version = "0.7.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
|
|
|
|
2023-07-20 12:38:05 +10:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "uuid"
|
2024-07-08 20:36:19 -07:00
|
|
|
version = "1.10.0"
|
2023-07-20 12:38:05 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-08 20:36:19 -07:00
|
|
|
checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
|
2023-07-20 12:38:05 +10:00
|
|
|
dependencies = [
|
2023-08-18 08:12:32 -07:00
|
|
|
"getrandom",
|
|
|
|
"serde",
|
|
|
|
"wasm-bindgen",
|
2023-07-20 12:38:05 +10:00
|
|
|
]
|
|
|
|
|
2024-04-25 00:13:09 -07:00
|
|
|
[[package]]
|
|
|
|
name = "validator"
|
|
|
|
version = "0.18.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "db79c75af171630a3148bd3e6d7c4f42b6a9a014c2945bc5ed0020cbb8d9478e"
|
|
|
|
dependencies = [
|
2024-06-18 22:51:07 -07:00
|
|
|
"idna",
|
2024-04-25 00:13:09 -07:00
|
|
|
"once_cell",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"url",
|
|
|
|
"validator_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "validator_derive"
|
|
|
|
version = "0.18.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "55591299b7007f551ed1eb79a684af7672c19c3193fb9e0a31936987bb2438ec"
|
|
|
|
dependencies = [
|
|
|
|
"darling",
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2024-04-25 00:13:09 -07:00
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "valuable"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
|
|
|
version = "0.9.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "2.5.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
|
|
|
"same-file",
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "want"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
|
|
|
|
dependencies = [
|
|
|
|
"try-lock",
|
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
2023-08-18 08:12:32 -07:00
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-18 08:12:32 -07:00
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
2023-02-21 09:42:41 +11:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen"
|
2024-03-05 20:22:54 +00:00
|
|
|
version = "0.2.92"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-05 20:22:54 +00:00
|
|
|
checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"wasm-bindgen-macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-backend"
|
2024-03-05 20:22:54 +00:00
|
|
|
version = "0.2.92"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-05 20:22:54 +00:00
|
|
|
checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
|
|
|
"bumpalo",
|
|
|
|
"log",
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-02-21 09:42:41 +11:00
|
|
|
"wasm-bindgen-shared",
|
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-futures"
|
2024-03-08 09:36:56 -08:00
|
|
|
version = "0.4.42"
|
2023-08-24 15:34:51 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-08 09:36:56 -08:00
|
|
|
checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0"
|
2023-08-24 15:34:51 -07:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
2023-09-05 16:02:27 -07:00
|
|
|
"futures-core",
|
2023-08-24 15:34:51 -07:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2023-02-21 09:42:41 +11:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2024-03-05 20:22:54 +00:00
|
|
|
version = "0.2.92"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-05 20:22:54 +00:00
|
|
|
checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"wasm-bindgen-macro-support",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro-support"
|
2024-03-05 20:22:54 +00:00
|
|
|
version = "0.2.92"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-05 20:22:54 +00:00
|
|
|
checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
|
2023-02-21 09:42:41 +11:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
2023-02-21 09:42:41 +11:00
|
|
|
"wasm-bindgen-backend",
|
|
|
|
"wasm-bindgen-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-shared"
|
2024-03-05 20:22:54 +00:00
|
|
|
version = "0.2.92"
|
2023-02-21 09:42:41 +11:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-05 20:22:54 +00:00
|
|
|
checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96"
|
2023-02-21 09:42:41 +11:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-lib"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2023-09-12 14:59:40 -07:00
|
|
|
"anyhow",
|
2023-08-28 14:58:24 -07:00
|
|
|
"bson",
|
2024-03-11 17:50:31 -07:00
|
|
|
"console_error_panic_hook",
|
2024-08-14 14:26:44 -04:00
|
|
|
"data-encoding",
|
2023-09-05 16:02:27 -07:00
|
|
|
"futures",
|
2023-08-18 19:37:52 +10:00
|
|
|
"gloo-utils",
|
2024-06-06 16:01:41 -05:00
|
|
|
"hyper",
|
2023-09-12 14:59:40 -07:00
|
|
|
"image",
|
2023-09-05 16:02:27 -07:00
|
|
|
"js-sys",
|
2023-08-29 12:35:45 -07:00
|
|
|
"kcl-lib",
|
2023-08-18 08:12:32 -07:00
|
|
|
"kittycad",
|
2024-09-18 17:04:04 -05:00
|
|
|
"kittycad-modeling-cmds",
|
2023-09-17 21:57:43 -07:00
|
|
|
"pretty_assertions",
|
2023-09-12 14:59:40 -07:00
|
|
|
"reqwest",
|
2023-02-21 09:42:41 +11:00
|
|
|
"serde_json",
|
2023-09-12 14:59:40 -07:00
|
|
|
"tokio",
|
2024-04-16 21:36:19 -07:00
|
|
|
"toml",
|
2023-09-05 16:02:27 -07:00
|
|
|
"tower-lsp",
|
2023-09-12 14:59:40 -07:00
|
|
|
"twenty-twenty",
|
|
|
|
"uuid",
|
2023-08-18 19:37:52 +10:00
|
|
|
"wasm-bindgen",
|
2023-08-24 15:34:51 -07:00
|
|
|
"wasm-bindgen-futures",
|
2023-09-05 16:02:27 -07:00
|
|
|
"wasm-streams",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-streams"
|
2023-11-01 08:43:18 -05:00
|
|
|
version = "0.4.0"
|
2023-09-05 16:02:27 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-11-01 08:43:18 -05:00
|
|
|
checksum = "b65dc4c90b63b118468cf747d8bf3566c1913ef60be765b5730ead9e0a3ba129"
|
2023-09-05 16:02:27 -07:00
|
|
|
dependencies = [
|
|
|
|
"futures-util",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
2023-08-18 19:37:52 +10:00
|
|
|
]
|
|
|
|
|
2023-09-12 14:59:40 -07:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-timer"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"js-sys",
|
|
|
|
"parking_lot 0.11.2",
|
|
|
|
"pin-utils",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2024-03-07 20:11:07 +00:00
|
|
|
version = "0.3.69"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 20:11:07 +00:00
|
|
|
checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef"
|
2023-08-18 19:37:52 +10:00
|
|
|
dependencies = [
|
|
|
|
"js-sys",
|
2023-02-21 09:42:41 +11:00
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
2023-08-18 19:37:52 +10:00
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "webpki-roots"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.25.4"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
|
|
|
version = "0.3.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
|
|
dependencies = [
|
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
|
|
|
2023-08-19 23:18:54 -07:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2023-10-24 11:24:59 -07:00
|
|
|
version = "0.1.6"
|
2023-08-19 23:18:54 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-10-24 11:24:59 -07:00
|
|
|
checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
|
2023-08-19 23:18:54 -07:00
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2023-08-18 08:12:32 -07:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
2023-10-24 11:24:59 -07:00
|
|
|
name = "windows-core"
|
2024-01-08 21:22:53 -06:00
|
|
|
version = "0.52.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-01-08 21:22:53 -06:00
|
|
|
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-targets 0.52.4",
|
2023-08-25 13:41:04 -07:00
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
|
|
dependencies = [
|
2023-08-25 13:41:04 -07:00
|
|
|
"windows-targets 0.48.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2024-03-23 15:45:55 -07:00
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.52.0"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
2023-08-25 13:41:04 -07:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows-targets 0.52.4",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
|
|
dependencies = [
|
2023-08-25 13:41:04 -07:00
|
|
|
"windows_aarch64_gnullvm 0.48.5",
|
|
|
|
"windows_aarch64_msvc 0.48.5",
|
|
|
|
"windows_i686_gnu 0.48.5",
|
|
|
|
"windows_i686_msvc 0.48.5",
|
|
|
|
"windows_x86_64_gnu 0.48.5",
|
|
|
|
"windows_x86_64_gnullvm 0.48.5",
|
|
|
|
"windows_x86_64_msvc 0.48.5",
|
2023-08-24 15:34:51 -07:00
|
|
|
]
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-01-08 21:22:53 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
|
2024-01-08 21:22:53 -06:00
|
|
|
dependencies = [
|
2024-03-23 15:45:55 -07:00
|
|
|
"windows_aarch64_gnullvm 0.52.4",
|
|
|
|
"windows_aarch64_msvc 0.52.4",
|
|
|
|
"windows_i686_gnu 0.52.4",
|
|
|
|
"windows_i686_msvc 0.52.4",
|
|
|
|
"windows_x86_64_gnu 0.52.4",
|
|
|
|
"windows_x86_64_gnullvm 0.52.4",
|
|
|
|
"windows_x86_64_msvc 0.52.4",
|
2024-01-08 21:22:53 -06:00
|
|
|
]
|
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-03-19 16:19:57 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-03-19 16:19:57 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-01-08 21:22:53 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-03-19 16:19:57 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-03-19 16:19:57 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2023-08-25 13:41:04 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
|
2023-08-25 13:41:04 -07:00
|
|
|
|
2023-08-24 15:34:51 -07:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.48.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
|
|
|
|
2024-01-08 21:22:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.52.4"
|
2024-01-08 21:22:53 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
|
2024-01-08 21:22:53 -06:00
|
|
|
|
2024-03-23 15:45:55 -07:00
|
|
|
[[package]]
|
|
|
|
name = "winnow"
|
2024-07-31 22:18:29 -07:00
|
|
|
version = "0.6.18"
|
2024-03-23 15:45:55 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-07-31 22:18:29 -07:00
|
|
|
checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
|
2024-03-23 15:45:55 -07:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "winreg"
|
|
|
|
version = "0.50.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if",
|
|
|
|
"windows-sys 0.48.0",
|
|
|
|
]
|
|
|
|
|
2023-08-28 14:58:24 -07:00
|
|
|
[[package]]
|
|
|
|
name = "wyz"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
|
|
|
|
dependencies = [
|
|
|
|
"tap",
|
|
|
|
]
|
|
|
|
|
2023-08-25 13:41:04 -07:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
|
|
|
version = "0.4.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
|
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
|
|
|
|
2023-08-18 19:37:52 +10:00
|
|
|
[[package]]
|
|
|
|
name = "yansi"
|
2024-09-16 11:34:22 -07:00
|
|
|
version = "1.0.1"
|
2023-08-18 19:37:52 +10:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-09-16 11:34:22 -07:00
|
|
|
checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
|
2023-09-12 14:59:40 -07:00
|
|
|
|
2023-10-24 11:24:59 -07:00
|
|
|
[[package]]
|
|
|
|
name = "zerocopy"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.7.32"
|
2023-10-24 11:24:59 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be"
|
2023-10-24 11:24:59 -07:00
|
|
|
dependencies = [
|
|
|
|
"zerocopy-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zerocopy-derive"
|
2024-03-23 15:45:55 -07:00
|
|
|
version = "0.7.32"
|
2023-10-24 11:24:59 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-23 15:45:55 -07:00
|
|
|
checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6"
|
2023-10-24 11:24:59 -07:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2024-09-02 11:46:07 -07:00
|
|
|
"syn 2.0.77",
|
Grackle (KCL to EP compiler) (#1270)
* Start Grackle (KCL-to-EP compiler)
This begins work on a second, different executor. The old executor is a tree-walk interpreter, this executor compiles the KCL programs into the Execution Plan virtual machine defined in its [own crate](https://github.com/KittyCAD/modeling-api/tree/main/execution-plan). This executor is called "Grackle", after an Austin bird, and it's got its own module in wasm-lib so that I can keep merging small PRs and developing incrementally, rather than building a complete executor which replaces the old executor in one PR.
Grackle's "Planner" walks the AST, like the tree-walk executor. But it doesn't actually execute code. Instead, as it walks each AST node, it outputs a sequence of Execution Plan instructions which, when run, can compute that node's value. It also notes which Execution Plan virtual machine address will eventually contain each KCL variable.
Done:
- Storing KCL variables
- Computing primitives, literals, binary expressions
- Calling native (i.e. Rust) functions from KCL
- Storing arrays
Todo:
- KCL functions (i.e. user-defined functions)
- Member expressions
- Port over existing executor's native funtions (e.g. `lineTo`, `extrude` and `startSketchAt`)
2024-01-11 09:25:10 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zeroize"
|
|
|
|
version = "1.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d"
|
2023-10-24 11:24:59 -07:00
|
|
|
|
2024-03-12 23:57:43 -07:00
|
|
|
[[package]]
|
|
|
|
name = "zip"
|
2024-05-28 00:31:28 +00:00
|
|
|
version = "2.0.0"
|
2024-03-12 23:57:43 -07:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-05-28 00:31:28 +00:00
|
|
|
checksum = "fccb210625924ecbbe92f9bb497d04b167b64fe5540cec75f10b16e0c51ee92b"
|
2024-03-12 23:57:43 -07:00
|
|
|
dependencies = [
|
2024-05-20 22:07:56 -07:00
|
|
|
"arbitrary",
|
2024-03-12 23:57:43 -07:00
|
|
|
"crc32fast",
|
|
|
|
"crossbeam-utils",
|
2024-05-20 22:07:56 -07:00
|
|
|
"displaydoc",
|
2024-09-19 14:06:29 -07:00
|
|
|
"indexmap 2.5.0",
|
2024-05-20 22:07:56 -07:00
|
|
|
"thiserror",
|
2024-03-12 23:57:43 -07:00
|
|
|
]
|