https://github.com/edgee-cloud/edgee-wit
Edgee Components WIT interfaces
https://github.com/edgee-cloud/edgee-wit
Last synced: 2 months ago
JSON representation
Edgee Components WIT interfaces
- Host: GitHub
- URL: https://github.com/edgee-cloud/edgee-wit
- Owner: edgee-cloud
- Created: 2024-12-13T11:34:09.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-12T12:35:46.000Z (2 months ago)
- Last Synced: 2025-03-12T13:32:33.003Z (2 months ago)
- Homepage: https://www.edgee.cloud
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Edgee WIT definitions
This repository defines all WIT definitions for Edgee components.
## How to use
Add this to your `wit/deps.toml` file:
```toml
edgee = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v1.0.0.tar.gz"
```And your `wit/world.wit` file:
```
package edgee:native;world data-collection {
export edgee:components/data-collection;
}
```## Requirements
You need to install `wit-deps`:
```bash
cargo install wit-deps-cli
```And then run it to install all WIT dependencies:
```bash
wit-deps
```## Releasing
- Update the wit as desired.
- Add and commit
- Tag the version e.g. 'git tag v0.2.3'
- Push the tags 'git push --tags'
- On github.com, draft a new release pointing to this tag
- Copy the url link to the releaseAdopting the new version on downstream projects:
- Update the deps.toml file to point to your new release.
- Update the wit/world.wit to match the version
- Run wit-deps in its crate folder
- Resolve any compilation issues