-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml
More file actions
38 lines (36 loc) · 865 Bytes
/
plugin.yaml
File metadata and controls
38 lines (36 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: plugin-c-hash
version: 1.0.0
handle: Hash
description: "A C plugin for computing various hash functions"
author: "ARO Team"
license: MIT
aro-version: ">=0.1.0"
source:
git: "git@github.com:arolang/plugin-c-hash.git"
ref: "main"
provides:
- type: c-plugin
path: src/
build:
compiler: clang
flags:
- "-O2"
- "-fPIC"
- "-shared"
output: libhash_plugin.dylib
actions:
- name: Hash
role: own
verbs: [hash, digest]
prepositions: [from, with]
description: Compute simple hash (32-bit)
- name: DJB2
role: own
verbs: [djb2]
prepositions: [from]
description: Compute DJB2 hash (64-bit)
- name: FNV1a
role: own
verbs: [fnv1a, fnv]
prepositions: [from]
description: Compute FNV-1a hash (64-bit)