Skip to content

Commit

Permalink
feat: initial impl of DiagramContentFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstonskj committed Feb 21, 2024
1 parent 2fe6aa3 commit 8c8c8dd
Show file tree
Hide file tree
Showing 7 changed files with 947 additions and 10 deletions.
7 changes: 5 additions & 2 deletions sdml-generate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sdml-generate"
description = "Simple Domain Modeling Language (SDML) generated Artifacts"
version = "0.2.10"
version = "0.2.11"
authors = ["Simon Johnston <johnstonskj@gmail.com>"]
repository = "https://github.com/johnstonskj/rust-sdml.git"
license-file = "../LICENSE"
Expand All @@ -15,9 +15,12 @@ all-features = true

[dependencies]
nu-ansi-term = "0.50.0"
sdml-core = { version = "0.2.14", features = ["serde"], path = "../sdml-core" }
regex = "1.10.3"
sdml-core = { version = "0.2.15", features = ["serde"], path = "../sdml-core" }
sdml_error = { version = "0.1.5", path = "../sdml_error" }
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.113"
serde_regex = "1.1.0"
tempfile = "3.10.0"
text_trees = "0.1.2"
tracing = "0.1.40"
Expand Down
9 changes: 9 additions & 0 deletions sdml-generate/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ The following figure demonstrates this package in the broader project context.

* Changes

*Version 0.2.11*

- Feature: add initial implementation for =DiagramContentFilter=.
- Add: module and member import filters.
- Add: local definition filter.
- Add: association filter.

This release does not use the content filter yet, it is to elicit feedback on the provided filters.

*Version 0.2.10*

- Build: upgrade to =sdml_core= version =0.2.14= and the new =ModelStore= trait.
Expand Down
2 changes: 1 addition & 1 deletion sdml-generate/src/convert/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use sdml_generate::convert::source::SourceGenerator;
use std::io::stdout;
# use sdml_core::model::identifiers::Identifier;
# fn load_module() -> (Module, ModuleCache) { (Module::empty(Identifier::new_unchecked("example")), ModuleCache::default()) }
# sdml_generate::color::set_colorize(sdml_generate::color::UseColor::Never);
# sdml_generate::color::set_colorize(sdml_error::diagnostics::color::UseColor::Never);
let (module, cache) = load_module();
Expand Down

0 comments on commit 8c8c8dd

Please sign in to comment.