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
16 changes: 11 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ version = "0.1.1"
[workspace.dependencies]
chrono = "0.4.42"
email_address = { version = "0.2.9", default-features = false }
fortifier = { path = "./packages/fortifier", version = "0.1.0" }
fortifier-macros = { path = "./packages/fortifier-macros", version = "0.1.0" }
fortifier = { path = "./packages/fortifier", version = "0.1.1" }
fortifier-macros = { path = "./packages/fortifier-macros", version = "0.1.1" }
indexmap = "2.12.0"
phonenumber = "0.3.7"
pretty_assertions = "1.4.1"
Expand Down
41 changes: 41 additions & 0 deletions packages/fortifier-macros-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[package]
name = "fortifier-macros-tests"
description = "Tests for Fortifier macros. Separate package to prevent a cycle."
publish = false

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[package.metadata.docs.rs]
all-features = true

# TODO: Remove after adding more tests.
[package.metadata.cargo-machete]
ignored = ["chrono", "rust_decimal", "uuid"]

[dependencies]

[dev-dependencies]
chrono.workspace = true
email_address.workspace = true
fortifier = { workspace = true, features = [
"all-types",
"all-validations",
"serde",
] }
indexmap.workspace = true
phonenumber.workspace = true
pretty_assertions.workspace = true
regex.workspace = true
rust_decimal.workspace = true
serde.workspace = true
serde_json.workspace = true
trybuild = "1.0.114"
url.workspace = true
uuid.workspace = true

[lints]
workspace = true
3 changes: 3 additions & 0 deletions packages/fortifier-macros-tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Fortifier Macros Tests

Tests for Fortifier macros. Separate package to prevent a cycle between `fortifier` and `fortifier-macros`.
23 changes: 0 additions & 23 deletions packages/fortifier-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ version.workspace = true
[package.metadata.docs.rs]
all-features = true

# TODO: Remove after adding more tests.
[package.metadata.cargo-machete]
ignored = ["chrono", "rust_decimal", "uuid"]

[lib]
proc-macro = true

Expand All @@ -30,24 +26,5 @@ proc-macro2 = "1.0.103"
quote = "1.0.42"
syn = "2.0.110"

[dev-dependencies]
chrono.workspace = true
email_address.workspace = true
fortifier = { workspace = true, features = [
"all-types",
"all-validations",
"serde",
] }
indexmap.workspace = true
phonenumber.workspace = true
pretty_assertions.workspace = true
regex.workspace = true
rust_decimal.workspace = true
serde.workspace = true
serde_json.workspace = true
trybuild = "1.0.114"
url.workspace = true
uuid.workspace = true

[lints]
workspace = true
Loading