Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
946 changes: 946 additions & 0 deletions Cargo.lock

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# SPDX-FileCopyrightText: 2025 hyperpolymath
# SPDX-License-Identifier: MIT OR AGPL-3.0-or-later

[workspace]
resolver = "2"
members = [
"crates/anv-core",
"crates/anv-syntax",
"crates/anv-types",
"crates/anv-cli",
]

[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
authors = ["hyperpolymath"]
license = "MIT OR AGPL-3.0-or-later"
repository = "https://github.com/hyperpolymath/anvomidav"
keywords = ["figure-skating", "choreography", "dsl", "notation"]
categories = ["compilers", "development-tools"]

[workspace.dependencies]
# Internal crates
anv-core = { path = "crates/anv-core" }
anv-syntax = { path = "crates/anv-syntax" }
anv-types = { path = "crates/anv-types" }

# Parsing
logos = "0.14"
chumsky = "0.9"

# Error handling
thiserror = "1.0"
miette = { version = "7", features = ["fancy"] }

# CLI
clap = { version = "4", features = ["derive"] }

# Data structures
indexmap = "2"
rustc-hash = "1.1"
smol_str = "0.2"

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# Utilities
derive_more = "0.99"
ordered-float = { version = "4", features = ["serde"] }

# Testing
pretty_assertions = "1"
insta = { version = "1", features = ["yaml"] }

[profile.release]
lto = true
codegen-units = 1

[profile.dev]
# Faster builds during development
debug = 1
25 changes: 25 additions & 0 deletions crates/anv-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2025 hyperpolymath
# SPDX-License-Identifier: MIT OR AGPL-3.0-or-later

[package]
name = "anv-cli"
version = "0.1.0"
edition = "2021"
description = "Command-line interface for the Anvomidav figure skating DSL"
license = "MIT OR AGPL-3.0-or-later"
repository = "https://github.com/hyperpolymath/anvomidav"
readme = "README.md"
keywords = ["figure-skating", "dsl", "cli"]
categories = ["command-line-utilities", "compilers"]

[[bin]]
name = "anv"
path = "src/main.rs"

[dependencies]
anv-core = { path = "../anv-core" }
anv-syntax = { path = "../anv-syntax" }
anv-types = { path = "../anv-types" }
clap = { workspace = true }
miette = { workspace = true }
thiserror = { workspace = true }
Loading
Loading