Makes workspace dependencies
This commit is contained in:
parent
425645df76
commit
36f350c891
24
Cargo.toml
24
Cargo.toml
|
|
@ -25,3 +25,27 @@ lto = false
|
|||
codegen-units = 256
|
||||
incremental = true
|
||||
panic = "abort"
|
||||
|
||||
[workspace.dependencies]
|
||||
config = {path = "./crates/config"}
|
||||
tablegen = {path = "./crates/tablegen"}
|
||||
graphs = {path = "./crates/graphs"}
|
||||
cli_parser = {path = "./crates/cli_parser"}
|
||||
stats = {path = "./crates/stats"}
|
||||
make = {path = "./crates/make"}
|
||||
fast_class = {path = "./crates/fast_class"}
|
||||
|
||||
anyhow = "1.0.95"
|
||||
toml = "0.8.20"
|
||||
clap = { version = "4.5.28", features = ["derive"] }
|
||||
phf = { version = "0.11.3", features = ["macros"] }
|
||||
regex = "1.11.1"
|
||||
regex_static = "0.1.1"
|
||||
serde = { version = "1.0.217", features = ["derive", "alloc"] }
|
||||
csv = "1.3.1"
|
||||
ron = "0.8.1"
|
||||
glob = "0.3.2"
|
||||
tokio = "1.43.0"
|
||||
dynfmt = { version = "0.1.5", features = ["curly"] }
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
config = {path = "../config"}
|
||||
clap = { version = "4.5.28", features = ["derive"] }
|
||||
serde = { version = "1.0.217", features = ["derive", "alloc"] }
|
||||
config = {workspace = true}
|
||||
clap = {workspace = true}
|
||||
serde = {workspace = true}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.28", features = ["derive"] }
|
||||
phf = { version = "0.11.3", features = ["macros"] }
|
||||
serde = { version = "1.0.217", features = ["derive"] }
|
||||
clap = {workspace = true}
|
||||
phf = {workspace = true}
|
||||
serde = {workspace = true}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
//! # `fast_table` Configuration
|
||||
//!
|
||||
//! This module defines the command‑line configuration used by the **fast‑tables**
|
||||
//! tool. The struct `FastTableConfig` is a thin wrapper around the `clap`
|
||||
//! tool. The struct `FastTableConfig` is a thin wrapper around the `clap`
|
||||
//! `Args` derive macro, which automatically turns the struct into a CLI
|
||||
//! parser. All public fields are exposed to the user via command‑line flags
|
||||
//! parser. All public fields are exposed to the user via command‑line flags
|
||||
//! (or environment variables) and are documented below.
|
||||
//!
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ use clap::{Args, ValueEnum};
|
|||
/// Configuration for the `fast‑tables` command.
|
||||
///
|
||||
/// This struct is passed directly to `clap::Command::new` when creating the
|
||||
/// CLI. Each field corresponds to a CLI flag; the attribute annotations
|
||||
/// CLI. Each field corresponds to a CLI flag; the attribute annotations
|
||||
/// control how `clap` renders help text and parses values.
|
||||
///
|
||||
#[derive(Args, Debug, Clone)]
|
||||
|
|
@ -41,7 +41,7 @@ pub struct FastTableConfig {
|
|||
/// This enum implements `ValueEnum`, which gives it two important traits:
|
||||
/// * It can be used directly as a `clap` argument type.
|
||||
/// * It can be parsed from a string (`"classes"`, `"alchemy"`, etc.) in a
|
||||
/// case‑insensitive manner.
|
||||
/// case‑insensitive manner.
|
||||
#[derive(ValueEnum, Debug, Clone)]
|
||||
pub enum TableTargetType {
|
||||
/// Classes table
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
config = {path = "../config"}
|
||||
cli_parser = {path = "../cli_parser"}
|
||||
anyhow = "1.0.95"
|
||||
config = {workspace = true}
|
||||
cli_parser = {workspace = true}
|
||||
anyhow = {workspace = true}
|
||||
facet = "0.42.0"
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
config = {path = "../config"}
|
||||
cli_parser = {path = "../cli_parser"}
|
||||
anyhow = "1.0.95"
|
||||
config = {workspace = true}
|
||||
cli_parser = {workspace = true}
|
||||
anyhow = {workspace = true}
|
||||
charts-rs = "0.3.19"
|
||||
glob = "0.3.2"
|
||||
serde = { version = "1.0.217", features = ["derive", "alloc"] }
|
||||
csv = "1.3.1"
|
||||
ron = "0.8.1"
|
||||
serde = {workspace = true}
|
||||
csv = {workspace = true}
|
||||
ron = {workspace = true}
|
||||
glob = {workspace = true}
|
||||
|
|
|
|||
|
|
@ -4,15 +4,16 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
config = {path = "../config"}
|
||||
cli_parser = {path = "../cli_parser"}
|
||||
dynfmt = { version = "0.1.5", features = ["curly"] }
|
||||
config = {workspace = true}
|
||||
cli_parser = {workspace = true}
|
||||
anyhow = {workspace = true}
|
||||
regex = {workspace = true}
|
||||
serde = {workspace = true}
|
||||
toml = {workspace = true}
|
||||
tokio = {workspace = true}
|
||||
dynfmt = {workspace = true}
|
||||
|
||||
indicatif = { version = "0.17.11", features = ["rayon"] }
|
||||
logos = "0.15.0"
|
||||
tokio = "1.43.0"
|
||||
anyhow = "1.0.95"
|
||||
indexmap = "2.7.1"
|
||||
regex = "1.11.1"
|
||||
serde = { version = "1.0.217", features = ["derive", "alloc"] }
|
||||
console = "0.15.10"
|
||||
toml = "0.8.20"
|
||||
|
|
|
|||
|
|
@ -5,18 +5,17 @@ version = "0.1.4"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
tablegen = {path = "../tablegen"}
|
||||
graphs = {path = "../graphs"}
|
||||
cli_parser = {path = "../cli_parser"}
|
||||
# config = {path = "../config"}
|
||||
stats = {path = "../stats"}
|
||||
make = {path = "../make"}
|
||||
fast_class = {path = "../fast_class"}
|
||||
tablegen = {workspace = true}
|
||||
graphs = {workspace = true}
|
||||
cli_parser = {workspace = true}
|
||||
stats = {workspace = true}
|
||||
make = {workspace = true}
|
||||
fast_class = {workspace = true}
|
||||
|
||||
anyhow = "1.0.95"
|
||||
clap = { version = "4.5.28", features = ["derive"] }
|
||||
anyhow = {workspace = true}
|
||||
toml = {workspace = true}
|
||||
clap = {workspace = true}
|
||||
tokio = { version = "1.43.0", features = ["full"] }
|
||||
toml = "0.8.20"
|
||||
|
||||
[package.metadata.cargo-machete]
|
||||
ignored = ["tokio"]
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
config = {path = "../config"}
|
||||
cli_parser = {path = "../cli_parser"}
|
||||
anyhow = "1.0.95"
|
||||
csv = "1.3.1"
|
||||
config = {workspace = true}
|
||||
cli_parser = {workspace = true}
|
||||
anyhow = {workspace = true}
|
||||
csv = {workspace = true}
|
||||
debug_print = "1.0.0"
|
||||
serde = { version = "1.0.217", features = ["derive"] }
|
||||
serde = {workspace = true}
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@ version = "0.1.0"
|
|||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
cli_parser = {path = "../cli_parser"}
|
||||
config = {path = "../config"}
|
||||
anyhow = "1.0.95"
|
||||
csv = "1.3.1"
|
||||
dynfmt = { version = "0.1.5", features = ["curly"] }
|
||||
glob = "0.3.2"
|
||||
phf = { version = "0.11.3", features = ["macros"] }
|
||||
regex = "1.11.1"
|
||||
regex_static = "0.1.1"
|
||||
serde = { version = "1.0.217", features = ["derive", "alloc"] }
|
||||
cli_parser = {workspace = true}
|
||||
config = {workspace = true}
|
||||
anyhow = {workspace = true}
|
||||
csv = {workspace = true}
|
||||
dynfmt = {workspace = true}
|
||||
glob = {workspace = true}
|
||||
phf = {workspace = true}
|
||||
regex = {workspace = true}
|
||||
regex_static = {workspace = true}
|
||||
serde = {workspace = true}
|
||||
|
|
|
|||
Loading…
Reference in New Issue