dependabot[bot]
07047eaab0
chore(deps): Update rand requirement from 0.8.5 to 0.9.0 ( #826 )
...
Updates the requirements on [rand](https://github.com/rust-random/rand )
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md ">rand's
changelog</a>.</em></p>
<blockquote>
<h2>[0.9.0] - 2025-01-27</h2>
<h3>Security and unsafe</h3>
<ul>
<li>Policy: "rand is not a crypto library" (<a
href="https://redirect.github.com/rust-random/rand/issues/1514 ">#1514</a>)</li>
<li>Remove fork-protection from <code>ReseedingRng</code> and
<code>ThreadRng</code>. Instead, it is recommended to call
<code>ThreadRng::reseed</code> on fork. (<a
href="https://redirect.github.com/rust-random/rand/issues/1379 ">#1379</a>)</li>
<li>Use <code>zerocopy</code> to replace some <code>unsafe</code> code
(<a
href="https://redirect.github.com/rust-random/rand/issues/1349 ">#1349</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1393 ">#1393</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1446 ">#1446</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1502 ">#1502</a>)</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>Bump the MSRV to 1.63.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1207 ">#1207</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1246 ">#1246</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1269 ">#1269</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1341 ">#1341</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1416 ">#1416</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1536 ">#1536</a>);
note that 1.60.0 may work for dependents when using
<code>--ignore-rust-version</code></li>
<li>Update to <code>rand_core</code> v0.9.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1558 ">#1558</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Support <code>std</code> feature without <code>getrandom</code> or
<code>rand_chacha</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1354 ">#1354</a>)</li>
<li>Enable feature <code>small_rng</code> by default (<a
href="https://redirect.github.com/rust-random/rand/issues/1455 ">#1455</a>)</li>
<li>Remove implicit feature <code>rand_chacha</code>; use
<code>std_rng</code> instead. (<a
href="https://redirect.github.com/rust-random/rand/issues/1473 ">#1473</a>)</li>
<li>Rename feature <code>serde1</code> to <code>serde</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1477 ">#1477</a>)</li>
<li>Rename feature <code>getrandom</code> to <code>os_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1537 ">#1537</a>)</li>
<li>Add feature <code>thread_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1547 ">#1547</a>)</li>
</ul>
<h3>API changes: rand_core traits</h3>
<ul>
<li>Add fn <code>RngCore::read_adapter</code> implementing
<code>std::io::Read</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1267 ">#1267</a>)</li>
<li>Add trait <code>CryptoBlockRng: BlockRngCore</code>; make
<code>trait CryptoRng: RngCore</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1273 ">#1273</a>)</li>
<li>Add traits <code>TryRngCore</code>, <code>TryCryptoRng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1424 ">#1424</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1499 ">#1499</a>)</li>
<li>Rename <code>fn SeedableRng::from_rng</code> ->
<code>try_from_rng</code> and add infallible variant <code>fn
from_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1424 ">#1424</a>)</li>
<li>Rename <code>fn SeedableRng::from_entropy</code> ->
<code>from_os_rng</code> and add fallible variant <code>fn
try_from_os_rng</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1424 ">#1424</a>)</li>
<li>Add bounds <code>Clone</code> and <code>AsRef</code> to associated
type <code>SeedableRng::Seed</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1491 ">#1491</a>)</li>
</ul>
<h3>API changes: Rng trait and top-level fns</h3>
<ul>
<li>Rename fn <code>rand::thread_rng()</code> to
<code>rand::rng()</code> and remove from the prelude (<a
href="https://redirect.github.com/rust-random/rand/issues/1506 ">#1506</a>)</li>
<li>Remove fn <code>rand::random()</code> from the prelude (<a
href="https://redirect.github.com/rust-random/rand/issues/1506 ">#1506</a>)</li>
<li>Add top-level fns <code>random_iter</code>,
<code>random_range</code>, <code>random_bool</code>,
<code>random_ratio</code>, <code>fill</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1488 ">#1488</a>)</li>
<li>Re-introduce fn <code>Rng::gen_iter</code> as
<code>random_iter</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1305 ">#1305</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1500 ">#1500</a>)</li>
<li>Rename fn <code>Rng::gen</code> to <code>random</code> to avoid
conflict with the new <code>gen</code> keyword in Rust 2024 (<a
href="https://redirect.github.com/rust-random/rand/issues/1438 ">#1438</a>)</li>
<li>Rename fns <code>Rng::gen_range</code> to <code>random_range</code>,
<code>gen_bool</code> to <code>random_bool</code>,
<code>gen_ratio</code> to <code>random_ratio</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1505 ">#1505</a>)</li>
<li>Annotate panicking methods with <code>#[track_caller]</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1442 ">#1442</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1447 ">#1447</a>)</li>
</ul>
<h3>API changes: RNGs</h3>
<ul>
<li>Fix <code><SmallRng as SeedableRng>::Seed</code> size to 256
bits (<a
href="https://redirect.github.com/rust-random/rand/issues/1455 ">#1455</a>)</li>
<li>Remove first parameter (<code>rng</code>) of
<code>ReseedingRng::new</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1533 ">#1533</a>)</li>
</ul>
<h3>API changes: Sequences</h3>
<ul>
<li>Split trait <code>SliceRandom</code> into
<code>IndexedRandom</code>, <code>IndexedMutRandom</code>,
<code>SliceRandom</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1382 ">#1382</a>)</li>
<li>Add <code>IndexedRandom::choose_multiple_array</code>,
<code>index::sample_array</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1453 ">#1453</a>,
<a
href="https://redirect.github.com/rust-random/rand/issues/1469 ">#1469</a>)</li>
</ul>
<h3>API changes: Distributions: renames</h3>
<ul>
<li>Rename module <code>rand::distributions</code> to
<code>rand::distr</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1470 ">#1470</a>)</li>
<li>Rename distribution <code>Standard</code> to
<code>StandardUniform</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1526 ">#1526</a>)</li>
<li>Move <code>distr::Slice</code> ->
<code>distr::slice::Choose</code>, <code>distr::EmptySlice</code> ->
<code>distr::slice::Empty</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
<li>Rename trait <code>distr::DistString</code> ->
<code>distr::SampleString</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
<li>Rename <code>distr::DistIter</code> -> <code>distr::Iter</code>,
<code>distr::DistMap</code> -> <code>distr::Map</code> (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="96f8df65ee "><code>96f8df6</code></a>
Prepare 0.9.0 release (<a
href="https://redirect.github.com/rust-random/rand/issues/1558 ">#1558</a>)</li>
<li><a
href="34da3214df "><code>34da321</code></a>
Enable <code>stdarch_x86_avx512</code> for cpu has <code>avx512bw</code>
(<a
href="https://redirect.github.com/rust-random/rand/issues/1551 ">#1551</a>)</li>
<li><a
href="b4b1eb7579 "><code>b4b1eb7</code></a>
Re-org with distr::slice, distr::weighted modules (<a
href="https://redirect.github.com/rust-random/rand/issues/1548 ">#1548</a>)</li>
<li><a
href="16eb7de94a "><code>16eb7de</code></a>
Add the <code>thread_rng</code> feature flag (<a
href="https://redirect.github.com/rust-random/rand/issues/1547 ">#1547</a>)</li>
<li><a
href="afa24e49b4 "><code>afa24e4</code></a>
Fix test status badges (<a
href="https://redirect.github.com/rust-random/rand/issues/1544 ">#1544</a>)</li>
<li><a
href="c681dfc345 "><code>c681dfc</code></a>
Create FUNDING.yml</li>
<li><a
href="9f05e22afb "><code>9f05e22</code></a>
Update: getrandom v0.3.0 rc.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1541 ">#1541</a>)</li>
<li><a
href="88c310b189 "><code>88c310b</code></a>
Fix docs.rs build options (<a
href="https://redirect.github.com/rust-random/rand/issues/1539 ">#1539</a>)</li>
<li><a
href="b879689a60 "><code>b879689</code></a>
Adjust GH Actions (<a
href="https://redirect.github.com/rust-random/rand/issues/1538 ">#1538</a>)</li>
<li><a
href="3fac49fe89 "><code>3fac49f</code></a>
Prepare 0.9.0-beta.0 (<a
href="https://redirect.github.com/rust-random/rand/issues/1535 ">#1535</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-random/rand/compare/0.8.5...0.9.0 ">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zach <zach@dylibso.com >
2025-02-04 10:21:53 -08:00
zach
14477ceb39
feat: add CompiledPlugin ( #784 )
2024-11-14 12:32:22 -08:00
zach
a94a0a7a15
cleanup: remove old SDKs ( #583 )
...
Removes all SDKs but the Rust SDK/runtime and the C SDK, which is
automatically generated from the Rust crate.
---------
Co-authored-by: Ben <ben@dylibso.com >
Co-authored-by: Steve <steve@dylibso.com >
Co-authored-by: Rob <rob@dylibso.com >
Co-authored-by: Muhammad <muhammad@dylibso.com >
Co-authored-by: Gavin <gavin@dylibso.com >
Co-authored-by: Chris <chris@dylibso.com >
Co-authored-by: Dom <dom@dylibso.com >
Co-authored-by: Charles <charles@dylibso.com >
2023-11-27 11:19:17 -08:00
zach
ba69d9fcc8
chore: move each language to separate workflow ( #176 )
...
- Moves each language into a separate workflow
- Only runs CI for languages when they're changed (or when the runtime
is changed)
2022-12-19 12:38:50 -08:00
Benjamin Eckel
f34fa8bed2
feat(java-sdk): Create Java Host SDK ( #122 )
...
Closes #117
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com >
Co-authored-by: Thomas Darimont <thomas.darimont@googlemail.com >
2022-12-19 10:55:40 -06:00
zach
dd0c5757da
chore: update OCaml version to latest release ( #171 )
2022-12-16 11:19:19 -08:00
Muhammad Azeez
c3ffb25891
feat: Implement .NET Host SDK ( #119 )
...
I am working on a .NET host for extism. My plan is to do the following:
- [x] Implement a proof of concept to make sure things are possible
- [x] Write docs for the C# API so that the users get a nice IDE
experience
- [x] Create a github action to publish the NuGet packages
- [x] Edit `ci.yml` to include .NET Sdk
- [x] Create `release-dotnet.yml` to release `Extism.Sdk` nuget package
- [x] Maybe Create `release-dotnet-native.yml` to release
`Extism.runtime.win` nuget package
- [x] Test on Linux (Help needed)
- [x] Test on Mac (Help needed)
- [x] Expose all of the Extism functions
- [x] Write automated tests
- [x] ~Edit README show that the there is a .NET SDK~. Probably we
should not do this until we have a docs page.
- [x] ~Use the `Extism.runtime.win-x64` package in the sample project~
Out of scope for this PR:
- Json Serialization/Desererialization support
Co-authored-by: Alistair Evans <alistairjevans@gmail.com >
Co-authored-by: Benjamin Eckel <bhelx@simst.im >
Co-authored-by: Benjamin Eckel <bhelx@users.noreply.github.com >
2022-12-08 12:42:27 -06:00
zach
e473d2cb7e
refactor(haskell): cleanup haskell SDK to prepare for release ( #138 )
...
- Switches from `stack` to `cabal`
- Cleanup SDK code
- Adds release action (still waiting on Hackage upload approval)
Co-authored-by: Steve Manuel <steve@dylib.so >
2022-12-08 10:07:56 -08:00
zach
5a5b538855
fix(ci): don’t install Python dev dependencies on CI ( #149 )
2022-12-07 18:45:50 -08:00
Benjamin Eckel
28d16f2fa8
fix: Fix the python release workflow ( #76 )
2022-11-14 16:27:01 -06:00
Benjamin Eckel
b57acde149
test(browser-runtime): Add a simple test and runner ( #73 )
2022-11-09 12:11:59 -06:00
zach
e6499cab72
Make Rust SDK depend directly on extism-runtime ( #65 )
2022-11-07 12:45:56 -08:00
zach
ffc1a1af41
chore: update deps, add dependabot.yml ( #61 )
2022-11-02 10:51:42 -07:00
zach
08f5b84cd3
ci: fix ocaml build ( #59 )
2022-10-28 15:18:44 -07:00
zach
fa338dc670
ci: create workflow for each language ( #51 )
...
Creates a new workflow for each language, allowing all languages to run
tests even when one fails
Also disables running on `push` (but once this is merged the workflow
can be manually triggered)
2022-10-27 14:27:10 -07:00
Benjamin Eckel
7e1f700ecd
fix(node-sdk): Upgrade CI node version to 18 to get around FFI bug ( #54 )
...
Related to Issue #53
2022-10-27 13:00:09 -05:00
zach
c76ff7c7b4
test(ocaml): Add inline unit tests and enable OCaml CI ( #49 )
...
We're using the OCaml 5.0 beta compiler on CI because we're bumping up
against this issue: https://github.com/ocaml/ocaml/issues/11489 and the
fix isn't released yet.
2022-10-25 19:21:37 -07:00
zach
83d3670f17
test(cpp): Add tests and missing functionality for C++ ( #47 )
2022-10-25 17:24:52 -07:00
Benjamin Eckel
77f13a6c10
test(go-sdk): Add some unit tests for the Go SDK ( #45 )
2022-10-25 18:13:22 -05:00
Benjamin Eckel
2fda372c50
test(node-sdk): Add basic unit tests and coverage ( #44 )
2022-10-25 18:11:37 -05:00
Benjamin Eckel
b8a22b3d37
refactor(node-sdk): Refactor Node SDK to Typescript ( #43 )
...
Closes issue #25
2022-10-25 10:42:32 -05:00
Benjamin Eckel
577debc82a
fix(ruby-sdk): Fix bugs and add tests ( #41 )
2022-10-25 09:12:23 -05:00
Benjamin Eckel
6c8927cfea
test(python-sdk): Add unit tests for python SDK and run in CI ( #42 )
2022-10-25 09:12:11 -05:00
Benjamin Eckel
1024bb6d12
Implement Elixir / Erlang Host SDK
2022-10-19 14:12:56 -05:00
zach
f10ace7c03
ci: run tests using --all-features
2022-10-11 12:01:43 -07:00
zach
f473be9044
meta: add scripts directory with SDK coverage script ( #16 )
...
Adds a script to check which runtime API functions are not used in each host SDK. Provides a coverage report with percent of functions called in each SDK.
Co-authored-by: Steve Manuel <steve@dylib.so >
2022-09-14 11:12:05 -06:00
zach
7b27d4f883
feat: add extism_plugin_update ( #6 )
...
This gives host the ability to re-use plugin descriptors instead of
loading a new plugin each time. The plugin memory and everything is
reset, so no state is shared with the newly loaded plugin.
Co-authored-by: Steve Manuel <steve@dylib.so >
2022-09-09 00:39:57 -06:00
Steve Manuel
10235514dc
chore: update ci since moving to cargo workspace
2022-09-01 21:01:00 -06:00
Steve Manuel
2de466a5ed
ci: add php test to workflow
2022-09-01 16:46:23 -06:00
zach
71c104737f
feat: add haskell bindings
2022-08-31 11:50:14 -07:00
Steve Manuel
ae1391e26f
update gitignore and test new version of python action for ci
2022-08-30 00:21:56 -06:00
zach
d62d08c070
refactor: move some files around
2022-08-25 19:34:04 -07:00
Steve Manuel
e27fae9193
v0.0.1 alpha
...
Co-authored-by: Zach Shipko <zach@dylib.so >
2022-08-25 14:36:47 -06:00