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
[]
= "code-native"
= "2.18.3"
= "2021"
= "Write native .so modules for the Code programming language in Rust — safe CodeValue builders/readers over the real runtime.c, no reimplementation."
= "GPL-3.0"
= "https://github.com/codelovesme/code"
= "README.md"
= ["ffi", "abi", "plugin", "native"]
= ["api-bindings", "development-tools::ffi"]
# vendor/ is what build.rs compiles; it must ship in the published package.
= ["src/**", "vendor/**", "build.rs", "README.md", "LICENSE"]
[]
= ["rlib"]
[]
# `.so` module (the default): this crate compiles the vendored `runtime.c`
# into your `cdylib`, so the module carries its own `code_release` and every
# other constructor — what `code_abi.h`'s primary contract requires, since a
# `.so` is a separate image from the host.
= ["shared-module"]
= []
# `.a` module instead: bring *no* runtime. A static archive links straight
# into the host binary, so there is exactly one copy of the runtime and it is
# the host's — linking a second copy is a hard error
# (`multiple definition of 'code_release'`, and forty more). Turn this on
# with `default-features = false`, name your exports with a prefix unique
# among every `.a` the program links, and see this crate's README.
#
# It wins over `shared-module` when both are on, so a module that declares
# the default can still be built as a native archive from the command line
# (`--features code-native/static-module`, as
# `scripts/build-module-static.sh` does, ticket 141).
= []
[]
= "1"