Unable to import ursa library
arunprakashpj opened this issue · comments
I am trying to execute Hyperledger Ursa(https://github.com/hyperledger/ursa) as described in https://crates.io/crates/ursa. That is , I have added the ursa as dependency in Cargo.toml. Then i just imported it as below
extern crate ferris_says;
extern crate ursa;
use ferris_says::say;
use std::io::{ stdout, BufWriter };
use ursa::bls::*;
fn main() {
let out = b"Hello fellow Rustaceans!";
let width = 24;
let mut writer = BufWriter::new(stdout());
say(out, width, &mut writer).unwrap();
}
But the system is throwing err as , the ursa cannot be compiled. If ferris_says can work properly, why not ursa ?
What version of Rust are you using? Make sure you are on the latest version.
Try running rustup update
to 1.47.0
Try running
rustup update
to 1.47.0
Thanks @mikelodder7 ! Perfect !