Crates.io | xcss |
lib.rs | xcss |
version | 0.1.1 |
source | src |
created_at | 2023-03-11 12:35:53.165674 |
updated_at | 2023-03-11 12:51:33.231307 |
description | Rust Package to Convert the Xpath selectors to CSS selector |
homepage | |
repository | https://github.com/xinnypie/xcss |
max_upload_size | |
id | 807244 |
size | 2,515 |
Rust Package to Convert the Xpath selectors to CSS selector.
fn main() {
let xpath = "//*[@id='foo']";
let css_selector = xcss::xcss(xpath);
println!("{}", css_selector);
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.