Files @ ed4fe8216eb0
Branch filter:

Location: CSY/reowolf/Cargo.toml - annotation

MH
Fix binding- and assignment-expression related typing issues.

Simpler solutions are better, so the typechecker is back to normal.
Instead we simply make sure that assignment expression is never
nested under another expression, and binding expressions may only
be nested under LogicalAnd-expressions. If only I knew why I thought
type shenanigans were a good idea in the first place...
[package]
name = "reowolf_rs"
version = "0.1.4"
authors = [
	"Christopher Esterhuyse <esterhuy@cwi.nl, christopher.esterhuyse@gmail.com>",
	"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