Files @ 031c9d14adaa
Branch filter:

Location: CSY/reowolf/Cargo.toml

MH
Merge branch 'feat-bytecode'

Adds size/alignment/offset computations to the type system and detects
potentially infinite types. If the type is potentially infinite but
contains a union that can break that type loop, then all other variants
of that union are supposed to be allocated on the heap. If the type
is potentially infinite but cannot be broken up, then we throw the
appropriate error.

The size/alignment/offset computations are not yet employed in the
runtime. But prepares Reowolf for a proper bytecode/IR implementation.
[package]
name = "reowolf_rs"
version = "1.1.0"
authors = [
	"Max Henger <henger@cwi.nl>",
	"Christopher Esterhuyse <esterhuy@cwi.nl>",
	"Hans-Dieter Hiep <hdh@cwi.nl>"
]
edition = "2018"

[dependencies]
# convenience macros
maplit = "1.0.2"
derive_more = "0.99.2"

# runtime
bincode = "1.3.1"
serde = { version = "1.0.114", features = ["derive"] }
getrandom = "0.1.14" # tiny crate. used to guess controller-id

# network
mio = { version = "0.7.0", package = "mio", features = ["udp", "tcp", "os-poll"] }
socket2 = { version = "0.3.12", optional = true }

# protocol
backtrace = "0.3"
lazy_static = "1.4.0"

# ffi

# socket ffi
libc = { version = "^0.2", optional = true }
os_socketaddr = { version = "0.1.0", optional = true }

[dev-dependencies]
# test-generator = "0.3.0"
crossbeam-utils = "0.7.2"
lazy_static = "1.4.0"

[lib]
crate-type = [
	"rlib", # for use as a Rust dependency. 
	"cdylib" # for FFI use, typically C.
]

[features]
default = ["ffi"]
ffi = [] # see src/ffi/mod.rs
ffi_pseudo_socket_api = ["ffi", "libc", "os_socketaddr"]# see src/ffi/pseudo_socket_api.rs.
endpoint_logging = [] # see src/macros.rs
session_optimization = [] # see src/runtime/setup.rs
no_logging = [] # see src/macros.rs