Skip to content

Commit c7ba513

Browse files
authored
Merge pull request #24 from radevgit/selen_zelen_split
Split Selen Zelen
2 parents c03ff96 + c5c97b3 commit c7ba513

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+11
-8468
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.9.0] - 2025-10-03
6+
- **Removed**: FlatZinc parser and integration (moved to [Zelen](https://github.com/radevgit/zelen)
7+
58
## [0.8.7] - 2025-10-03
6-
- FlatZinc Parser
9+
- FlatZinc Parser (deprecated - moved to Zelen in v0.9.0)
710

811
## [0.8.6] - 2025-10-01
912
- Linear Constraint Helpers

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "selen"
3-
version = "0.8.7"
3+
version = "0.9.0"
44
edition = "2024"
55
description = "Constraint Satisfaction Problem (CSP) solver"
66
rust-version = "1.88"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ post!(m, x * y == int(12)); // x * y == 12
4545
post!(m, z / y != int(0)); // z / y != 0
4646
```
4747

48-
**Import FlatZinc `.fzn` file**
48+
**FlatZinc/MiniZinc Support**
49+
50+
For FlatZinc `.fzn` file support, use the separate [Zelen](https://github.com/radevgit/zelen) crate:
4951
```rust
50-
use selen::prelude::*;
52+
use zelen::prelude::*;
5153
let mut model = Model::default();
5254
model.from_flatzinc_file("puzzle.fzn")?;
5355
let solution = model.solve()?;
54-
println!("Solution: {:?}", solution);
5556
```
5657

57-
5858
## Installation
5959

6060
Add this to your `Cargo.toml`:
6161

6262
```toml
6363
[dependencies]
64-
selen = "0.8.7"
64+
selen = "0.9"
6565
```
6666

6767
## Examples

examples/flatzinc_simple.rs

Lines changed: 0 additions & 68 deletions
This file was deleted.

src/flatzinc/ast.rs

Lines changed: 0 additions & 167 deletions
This file was deleted.

src/flatzinc/error.rs

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)