{"id":51030943,"url":"https://github.com/shishir-dey/supabase-micro","last_synced_at":"2026-06-22T00:30:46.589Z","repository":{"id":364540200,"uuid":"1268300421","full_name":"shishir-dey/supabase-micro","owner":"shishir-dey","description":"A no_std Supabase client for embedded devices","archived":false,"fork":false,"pushed_at":"2026-06-13T11:44:43.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T13:15:01.379Z","etag":null,"topics":["database","embedded-systems","firmware","microcontroller","rust","supabase"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shishir-dey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-13T11:19:53.000Z","updated_at":"2026-06-13T11:44:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shishir-dey/supabase-micro","commit_stats":null,"previous_names":["shishir-dey/supabase-micro"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shishir-dey/supabase-micro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shishir-dey%2Fsupabase-micro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shishir-dey%2Fsupabase-micro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shishir-dey%2Fsupabase-micro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shishir-dey%2Fsupabase-micro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shishir-dey","download_url":"https://codeload.github.com/shishir-dey/supabase-micro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shishir-dey%2Fsupabase-micro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34630753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","embedded-systems","firmware","microcontroller","rust","supabase"],"created_at":"2026-06-22T00:30:45.665Z","updated_at":"2026-06-22T00:30:46.582Z","avatar_url":"https://github.com/shishir-dey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supabase-micro\n\n`supabase-micro` is a `#![no_std]` Supabase client for embedded Rust targets.\nIt builds PostgREST requests with fixed-capacity buffers and avoids heap\nallocation, making it suitable for Cortex-M class devices.\n\n## Features\n\n- `no_std` API\n- Fixed-capacity query construction with `heapless`\n- PostgREST helpers for `select`, filters, ordering, pagination, insert,\n  update, upsert, and delete\n- Supabase API key and optional JWT bearer auth\n- `reqwless` transport helper for async embedded HTTP clients\n- JSON response deserialization through `serde-json-core`\n\n## Usage\n\n```rust\nuse supabase_micro::{Ordering, SupabaseClient};\n\nlet client = SupabaseClient::\u003c256\u003e::new(\n    \"https://your-project.supabase.co\",\n    \"your-anon-key\",\n);\n\nlet mut query = client.from(\"users\");\nquery.select(\"id,name\").unwrap();\nquery.eq(\"status\", \"active\").unwrap();\nquery.order(\"created_at\", Ordering::Desc).unwrap();\nquery.limit(10).unwrap();\n\nassert_eq!(\n    query.path(),\n    \"/rest/v1/users?select=id,name\u0026status=eq.active\u0026order=created_at.desc\u0026limit=10\"\n);\n```\n\nTo execute a request, pass the configured builder to the `reqwless` transport\nhelper with caller-owned URL and response buffers:\n\n```rust,ignore\nuse supabase_micro::transport::reqwless_transport;\n\nlet mut url_buf = [0; 512];\nlet mut rx_buf = [0; 2048];\n\nlet response = reqwless_transport::execute(\n    \u0026mut http,\n    \u0026query,\n    \u0026mut url_buf,\n    \u0026mut rx_buf,\n)\n.await?;\n```\n\n## Documentation\n\nBuild local API docs with:\n\n```sh\ncargo doc --no-deps --open\n```\n\nFor CI or headless environments:\n\n```sh\ncargo doc --no-deps\n```\n\nRun tests and doctests with:\n\n```sh\ncargo test\n```\n\nThe library runtime transport remains `reqwless` for embedded targets. Host\nintegration tests use a test-only `reqwest` executor and load Supabase settings\nfrom `.env`:\n\n```sh\nSUPABASE_URL=https://your-project.supabase.co\nSUPABASE_ANON_KEY=your-anon-key\nSUPABASE_TEST_TABLE=users\n# optional: SUPABASE_TEST_SELECT=id,name\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshishir-dey%2Fsupabase-micro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshishir-dey%2Fsupabase-micro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshishir-dey%2Fsupabase-micro/lists"}