@rwth-pads/cpnsim 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -22
- package/README.md +3 -1
- package/cpnsim.js +1 -1
- package/cpnsim_bg.wasm +0 -0
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
person obtaining a copy of this software and associated
|
|
5
|
-
documentation files (the "Software"), to deal in the
|
|
6
|
-
Software without restriction, including without
|
|
7
|
-
limitation the rights to use, copy, modify, merge,
|
|
8
|
-
publish, distribute, sublicense, and/or sell copies of
|
|
9
|
-
the Software, and to permit persons to whom the Software
|
|
10
|
-
is furnished to do so, subject to the following
|
|
11
|
-
conditions:
|
|
3
|
+
Copyright (c) 2025 RWTH Aachen University, Chair of Process and Data Science, István Koren
|
|
12
4
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
16
11
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
IN
|
|
25
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -23,6 +23,8 @@ You can build the project using standard Cargo commands:
|
|
|
23
23
|
```bash
|
|
24
24
|
# Build for development (debug mode)
|
|
25
25
|
cargo run
|
|
26
|
+
# Open a specific file in debug mode
|
|
27
|
+
cargo run -- examples/petrinet-2.ocpn
|
|
26
28
|
|
|
27
29
|
# Build for release (WebAssembly)
|
|
28
|
-
wasm-pack build --target web --features wasm
|
|
30
|
+
wasm-pack build --scope rwth-pads --target web --features wasm
|
package/cpnsim.js
CHANGED
|
@@ -302,7 +302,7 @@ function __wbg_get_imports() {
|
|
|
302
302
|
const ret = Reflect.get(arg0, arg1);
|
|
303
303
|
return ret;
|
|
304
304
|
}, arguments) };
|
|
305
|
-
imports.wbg.
|
|
305
|
+
imports.wbg.__wbg_log_5ec753b264b0c6a1 = function(arg0, arg1) {
|
|
306
306
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
307
307
|
};
|
|
308
308
|
imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
|
package/cpnsim_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
"collaborators": [
|
|
5
5
|
"István Koren"
|
|
6
6
|
],
|
|
7
|
-
"description": "CPNsim is a Rust library
|
|
8
|
-
"version": "0.1.
|
|
7
|
+
"description": "CPNsim is a Rust library and command-line tool with WebAssembly target for simulating Colored Petri Nets (CPNs)",
|
|
8
|
+
"version": "0.1.2",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "
|
|
12
|
+
"url": "https://github.com/rwth-pads/cpnsim"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"cpnsim_bg.wasm",
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
"sideEffects": [
|
|
22
22
|
"./snippets/*"
|
|
23
23
|
]
|
|
24
|
-
}
|
|
24
|
+
}
|