https://github.com/strahe/filecoin-ffi-panic
A panic-only implementation of filecoin-ffi.
https://github.com/strahe/filecoin-ffi-panic
Last synced: 3 months ago
JSON representation
A panic-only implementation of filecoin-ffi.
- Host: GitHub
- URL: https://github.com/strahe/filecoin-ffi-panic
- Owner: strahe
- License: gpl-3.0
- Created: 2024-12-23T15:06:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-23T15:51:17.000Z (over 1 year ago)
- Last Synced: 2025-12-18T23:42:24.637Z (6 months ago)
- Language: C
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# filecoin-ffi-panic
A lightweight substitute for filecoin-ffi designed to minimize build complexity and binary size.
This library provides the same interface as filecoin-ffi but throws "not implemented" panics for all methods,
making it ideal for projects that have filecoin-ffi as a transitive dependency but don't actually use its functionality.
## Usage
Just replace `github.com/filecoin-project/filecoin-ffi` with `github.com/strahe/filecoin-ffi-panic` in your go.mod file.
```shell
# Use main branch or replace with a specific version
go mod edit -replace=github.com/filecoin-project/filecoin-ffi=\
github.com/strahe/filecoin-ffi-panic@main
go mod tidy
```