[package] name = "musicbrainz_rs_nova" version = "0.8.0" authors = ["okno ", "RustyNova"] repository = "https://github.com/RustyNova016/musicbrainz_rs" documentation = "https://docs.rs/musicbrainz_rs_nova" edition = "2018" license = "MIT" readme = "README.md" description = """ MusicBrainz Rust is a utility crate for the MusicBrainz API. """ rust-version = "1.70.0" [badges] travis-ci = { repository = "oknozor/musicbrainz_rs", branch = "master" } [dependencies] serde = { version = "^1.0.203", features = ["derive"] } serde_json = "^1.0.117" reqwest = { version = "^0.12.5", default-features = false, features = ["json"] } chrono = { version = "^0.4.38", features = ["serde"] } once_cell = "^1.19.0" lucene_query_builder = "^0.3.0" wasm-timer = { version = "^0.2.5", optional = true } tokio = { version = "^1.38.0", optional = true } # Using tokio for sleep_until. The std implementation is unstable, so tokio is there as a remplacement thiserror = "1.0.63" [build-dependencies] glob = "0.3.1" [dev-dependencies] tokio = { version = "1.38.0", features = ["macros", "rt", "rt-multi-thread"] } serial_test = "3.1.1" [features] default = ["reqwest/default-tls", "async", "rate_limit"] async = ["wasm-timer"] rustls = ["reqwest/rustls-tls"] blocking = ["reqwest/blocking"] rate_limit = ["tokio", "async"] legacy_serialize = [] # Alternate default for development #default = ["reqwest/default-tls", "blocking"] [[example]] required-features = ["blocking"] name = "fetch_artist" path = "examples/blocking/fetch_artist.rs" [[example]] required-features = ["blocking"] name = "includes" path = "examples/blocking/includes.rs" [[example]] required-features = ["blocking"] name = "browse" path = "examples/blocking/browse.rs" [[example]] required-features = ["blocking"] name = "search" path = "examples/blocking/search_artist.rs" [[example]] required-features = ["blocking"] name = "fetch_release_coverart" path = "examples/blocking/fetch_release_coverart.rs" [[example]] required-features = ["blocking"] name = "set_user_agent" path = "examples/blocking/set_user_agent.rs" [[example]] required-features = ["async"] name = "fetch_artist_async" path = "examples/async/fetch_artist.rs" [[example]] required-features = ["async"] name = "includes_async" path = "examples/async/includes.rs" [[example]] required-features = ["async"] name = "browse_async" path = "examples/async/browse.rs" [[example]] required-features = ["async"] name = "search_async" path = "examples/async/search_artist.rs" [[example]] required-features = ["async"] name = "fetch_release_coverart_async" path = "examples/async/fetch_release_coverart.rs" [[example]] required-features = ["async"] name = "set_user_agent_async" path = "examples/async/set_user_agent.rs" [[test]] name = "all" path = "tests/tests.rs"