Skip to content

chore: update to new WIT files handling #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# will have compiled files and executables
debug/
target/
.edgee/
dc_component.wasm


Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::exports::edgee::components::data_collection::{Dict, EdgeeRequest, Event, HttpMethod};

Check warning on line 1 in src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

src/lib.rs#L1

failed to resolve: could not find `exports` in the crate root
use exports::edgee::components::data_collection::Guest;

Check warning on line 2 in src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

src/lib.rs#L2

failed to resolve: use of undeclared crate or module `exports`
use std::collections::HashMap;

wit_bindgen::generate!({world: "data-collection", path: "wit", generate_all});
wit_bindgen::generate!({world: "data-collection", path: ".edgee/wit", generate_all});
export!(Component);

struct Component;
Expand Down
4 changes: 0 additions & 4 deletions wit/deps.lock

This file was deleted.

1 change: 0 additions & 1 deletion wit/deps.toml

This file was deleted.

13 changes: 0 additions & 13 deletions wit/deps/edgee/consent-mapping.wit

This file was deleted.

114 changes: 0 additions & 114 deletions wit/deps/edgee/data-collection.wit

This file was deleted.

5 changes: 0 additions & 5 deletions wit/world.wit

This file was deleted.

Loading