Files @ b4a9c41d70da
Branch filter:

Location: CSY/reowolf/Cargo.toml

MH
Initial casting implementation

Explicit casts can be performed with the syntax 'cast<type>(input)'
and implicit casts can be performed with the syntax 'cast(input)'
where the output type is determined by inference.

To prevent casting shenanigans we only allow casting of primitive
types and of types to themselves (essentially creating a copy).
[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