Compare commits

...

2 Commits

Author SHA1 Message Date
Preston Baxter ef837d584d add readme 2024-08-17 10:28:28 -05:00
Preston Baxter 4675429722 remove uneeded annotation 2024-08-17 10:24:29 -05:00
2 changed files with 16 additions and 1 deletions

16
Readme.md Normal file
View File

@ -0,0 +1,16 @@
# mod_skel_rs
The goal of this project is to provide a way for rust to be used in the course of freeswitch plugin development
## Building
The `build.rs` attempts to link against the system `<switch.h` and `libfreeswitch.so`.
Make sure `libfreeswitch-dev` is installed on debian based systems
Or `freeswitch-devel` is installed for RHEL based systems
Most likely though none of those packages exist and you need to build freeswitch from source and run `make install`
Once freeswitch is installed on your system you can then run
`cargo build --release`

View File

@ -1,7 +1,6 @@
#![allow(non_upper_case_globals)] #![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![allow(non_snake_case)] #![allow(non_snake_case)]
#![crate_type = "dylib"]
include!(concat!(env!("OUT_DIR"), "/bindings.rs")); include!(concat!(env!("OUT_DIR"), "/bindings.rs"));