generated from ElnuDev/rust-project
parent
18c1e84b79
commit
fb10870a3b
@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
"rust-analyzer.linkedProjects": [
|
"rust-analyzer.linkedProjects": [
|
||||||
"./dyesub-tool/Cargo.toml",
|
"./dyesub-tool/Cargo.toml",
|
||||||
|
"./dyesub/Cargo.toml",
|
||||||
|
"./svg-units/Cargo.toml",
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,3 +1,3 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["dyesub-tool"]
|
members = ["dyesub-tool", "dyesub", "svg-units"]
|
||||||
resolver = "2"
|
resolver = "2"
|
@ -0,0 +1,14 @@
|
|||||||
|
[package]
|
||||||
|
name = "dyesub"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
svg-units = { path = "../svg-units" }
|
||||||
|
askama = "0.12.0"
|
||||||
|
derive_more = "0.99.17"
|
||||||
|
kle-serial = "0.2.2"
|
||||||
|
lazy_static = "1.4.0"
|
||||||
|
serde_json = "1.0.105"
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
@ -0,0 +1,13 @@
|
|||||||
|
[package]
|
||||||
|
name = "svg-units"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
derive_more = "0.99.17"
|
||||||
|
lazy_static = "1.4.0"
|
||||||
|
regex = "1.9.3"
|
||||||
|
strum = "0.25.0"
|
||||||
|
strum_macros = "0.25.2"
|
@ -1,6 +1,6 @@
|
|||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
||||||
use crate::svg::{SVGMeasure, SVGUnit};
|
use crate::{SVGMeasure, SVGUnit};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn add() {
|
fn add() {
|
Loading…
Reference in new issue