@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 CHANGED
@@ -1,25 +1,21 @@
1
- Copyright (c) 2018 István Koren <istvank@gmx.de>
1
+ MIT License
2
2
 
3
- Permission is hereby granted, free of charge, to any
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
- The above copyright notice and this permission notice
14
- shall be included in all copies or substantial portions
15
- of the Software.
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
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
- DEALINGS IN THE SOFTWARE.
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.__wbg_log_5e46e5057e0d43bd = function(arg0, arg1) {
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 and command-line tool for simulating Colored Petri Nets (CPNs)",
8
- "version": "0.1.0",
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": "git+https://github.com/rwth-pads/cpnsim.git"
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
+ }